[glade--]Re: [gtkmm] equivalent function for lookup(GtkWidget * widget, gchar * name)?

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm,gmane.comp.gnome.gtkmm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
BUON Jean-Guy wrote:
> I don't know how to access to a child widget with glademm
> I was using lookup_widget on glade but it doesn't work yet! 

First: Do you understand the 'visibility' property (glade-- user's 
guide)? Does 'protected' help you? Mark the widget as 'protected' and 
look into foo_glade.hh.

If you really want to bypass every type- and lifetime-safety C++ can 
give you you might want to take a look at the deprecated 'public' and 
'GMM_FOO' feature of glademm. (perhaps I already deactivated the feature 
by default) This is much like lookup_widget.

    Christof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.