Re: (no subject)



pks timing com writes:
 > 
 > use gobj()
 > 
 > Gtk::Window w;
 > GtkWindow *gtwindow = window.gobj();

to get to in terms of GtkWidget (as opposed to GtkWindow) just
cast the pointer ...

GtkWidget *gtkwidget = (GtkWidget *)w.gobj();
GtkWidget *gtkwidget = reinterpret_cast<GtkWidget *>(w.gobj());

or preferred (if it still works these days - I'm stil using 2.2):

GtkWidget *gtkwidget = GTK_WIDGET(w.gobj());



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