Re: Tutorial for writing widgets in Gtk3
- From: Göran Hasse <gorhas raditex nu>
- To: gtk-list gnome org
- Subject: Re: Tutorial for writing widgets in Gtk3
- Date: Thu, 26 Jul 2018 09:00:24 +0100
If you look in the widget_class->draw section
MyButton *button = MY_BUTTON(widget);
Why is this pointer to button created? It is not used!
And where is the cairo_t *cr comming from?
This is a turorial that is not so easy to understand...
/gh
Den 2018-07-26 kl. 08:39, skrev Timm Bäder:
On 2018-07-26 09:42, Göran Hasse wrote:
Hello!
I try to write a custom widget in Gtk3. I study the source for other
widgets but I find no totorial
for how to write a widget in Gtk3. (There was for Gtk2 - but they are
not of any use anymore...).
Is there no interest in Gtk3 anymore? I find it very hard to find
tutorials for Gtk3.
There's https://wiki.gnome.org/HowDoI/CustomWidgets
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
--
Göran Hasse
Raditex Control AB
Boo 229
715 91 ODENSBACKEN
http://www.rscada.se
OrgNr: 556611-8773
email: gorhas raditex nu
tel: 019-450105
mob: 070-5530148
Lat: 59.18805083 Long: 15.50300449
URL: http://alturl.com/3e6hf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]