Re: [glade--]How to get hold of the widgets



Peter F Bradshaw wrote:
Hi;

I'm new to Gtk, glade and glademm so I'm sure this question has been
answered many times before.

My question is how do I get hold of the widgets that glademm creates.

For instance, if I have a top level window called MainWindow then
glademm creates a base class called MainWindow_glade. In the ctor of
this class the widgets are created and pointed to by local pointers. How
do I access these widgets in MainWindow (or else where).

mark them as protected (not private). I have updated the user's guide at http://home.wtal.de/petig/Gtk/

  Christof




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