:: Re: [DNG] Experiencing with GtkBuil…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Hendrik Boom
Datum:  
To: dng
Betreff: Re: [DNG] Experiencing with GtkBuilder
On Sun, Nov 22, 2015 at 01:06:04PM +0100, Edward Bartolo wrote:
> Hi All,
>
> Is it possible to use classes and objects while using gtk2/3? I
> noticed that only functions are used and that class use is ovoided by
> prepending functions with a group string. As far as I know, C can
> still use structs that are attached to a set of data and a set of
> functions, but without inheritance and polymorphyism.
>
> Edward


I believe gtk has its own run-time system of classes and inheritance
built into it in its C version. The C++ version is called gtk+, and
pastes C++ inheritance on top of this.

(not sure of the details, but it's worth looking up the details in case
I get some of it wrong)

-- hendrik