On Wed, 25 Jul 2018 at 12:44, Göran Hasse <gor...@raditex.nu> wrote:
> Hello! > > I try to write my own widget. For this a study gtkswitch.c/.h > ( http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.30.tar.xz ) > > There is a function gtk_switch_get_type - but there is no > implementation? > See G_DEFINE_TYPE: https://developer.gnome.org/gobject/stable/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS and the GObject tutorial: https://developer.gnome.org/gobject/stable/howto-gobject-code.html Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com]
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list