Re: gobject inheritance for GtkWindow

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

 



El jue, 11-10-2007 a las 15:05 +0200, Sergio Perticone escribió:> struct _MyWindow {> GtkWidget* window;> GtkWidget* button;> };
Typically, you wouldn't want to use a pointer to the parent class in theclass definition. Something like
struct _MyWindow {  GtkWidget window;  GtkWidget* button;};
should make it.
Claudio
-- Claudio Saavedra <csaavedra@xxxxxxxxxxxxxxxxx>
_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux