:: Re: [DNG] Experiencing with GtkBuil…
Góra strony
Delete this message
Reply to this message
Autor: Hendrik Boom
Data:  
Dla: dng
Temat: 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