Re: Accessing the window inside the widget
Manuel Ferrero <[email protected]>
| Newsgroups | gmane.comp.gnome.glade.user |
|---|---|
| Organization | Reer S.p.A. |
| Message-ID | <[email protected]> |
>> How do I get the GtkWindow pointer from the GtkWidget I get after the >> builder? > > With the standard type casting macros: > > GtkWidget *widget; > GtkWindow *window; > > widget = gtk_builder_get_object (builder, "window"); > window = GTK_WINDOW (widget); Thanks, I saw it in some examples, but I wasn't able to find it in the GTK+ documentation. (Now thatr I know what to search I found it: http://developer.gnome.org/gtk-tutorial/2.24/c450.html) -- Regards, Manuel Ferrero R&D department Reer SpA Tel. +39 011 2482215 Fax. +39 011 859867 L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe costituire reato. Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve essere considerato come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati se, via e-mail, ce ne comunicasse l'errata ricezione. The unauthorized use of this e-mail is prohibited and could constitute an offence. If you are not the intended recipient of this message its contents shall be understood as neither given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately in that case. _______________________________________________ Glade-users maillist - [email protected] http://lists.ximian.com/mailman/listinfo/glade-users