Re: Deriving from GObject in C++

Thanks for your reply. I think the discussion accidently left the list.
The issue has been solved, here are the relevant parts for reference:

-------- Forwarded Message --------
Subject: Re: Deriving from GObject in C++
Date: Tue, 26 May 2020 17:06:00 +0000
From: gnu <gnu 0x1b04 eu>
To: p sun fun gmail com

Alright, so I will do this in C then. Thank you.

p sun fun gmail com:
I think you are mixing multiple things here. If you want to create your
widget and use them via GIR you should do this in C. You can make your
own widget from scratch using C++ as descrived here:

On Tue, 2020-05-26 at 15:59 +0000, gnu wrote:
p sun fun gmail com:
If you want to create a widget from scratch that is a different

Yep, that is what I want. Like this
but in C++. I hoped that this can be done directly in C++ too, or at
least partially, by deriving from a certain GTKmm class to get a
implementation running and then to extent the interface with
new* virtual functions, creating a custom widget, but one that would
usable from C and possibly other languages through GIR support as

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