Re: How do you write common codes for GObject?



Hi,

Thanks to all!

In <CALnHYQGtLYzZ1BjXkxt6TdgzX-63mKCmkyG=pm2=Tq+fnMAYxg mail gmail com>
  "Re: How do you write common codes for GObject?" on Mon, 4 Sep 2017 15:49:34 +0100,
  Emmanuele Bassi <ebassi gmail com> 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


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