Hi, Thanks to all! In <CALnHYQGtLYzZ1BjXkxt6TdgzX-63mKCmkyG=pm2=Tq+fnMAYxg@xxxxxxxxxxxxxx> "Re: How do you write common codes for GObject?" on Mon, 4 Sep 2017 15:49:34 +0100, Emmanuele Bassi <ebassi@xxxxxxxxx> wrote: >> We need to write common codes for GObject like the >> followings: ... >> How do you write them? > >> d. Other > > Use G_DECLARE_FINAL_TYPE and G_DECLARE_DERIVABLE_TYPE from GObject. > > https://developer.gnome.org/gobject/stable/howto-gobject.html#howto-gobject-header Oh! I didn't know the API. I'll use them. Thanks, -- kou _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list