Re: [gtkmm] MFC's UpdateData() equivalent ?



On Wed, 2002-11-06 at 23:07, Gopal Sumathi (Princeton-intern) wrote:
> Hi,
> I'm translating GUI written using Windows MFCs to use GTKMM instead.
> Is there a method equivalent to UpdataData() of MFC's Container class?
> Basically this method can be used to copy displayed data into the
> associate widget-variable and vise-versa.

MFC's UpdateData() is necessary when using resource files. The gtkmm
equivalent of MFC's resource files is libglade XML files. libglademm has
a VariableMap that provides functionality that's similar, but far less
bizarrely-implemented as UpdateData(). Here is an example:
http://cvs.gnome.org/lxr/source/gnomemm/libglademm/examples/variablesmap/
  

Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]