question about instancing variables

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

 



Hi All,

All GTK+ codes that I see all variables are GtkWidget and after transformed for the widget. Example:

GtkWidget *button;

button = gtk_ button_new();

Why not directly:

GtkButton *button;

Thanks


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://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