Web lists-archives.com

Re: Tutorial for writing widgets in Gtk3




I have have those applications. But they just use stock widgets.

I don't find an example creating a new widget from scratch...

Eg how to write your own widget. I have my widget in the tarfile and this is what
I want to be running in Gtk3...

/gh


Den 2018-07-29 kl. 16:22, skrev Nicola Fontana:
> Il Thu, 26 Jul 2018 08:42:26 +0100 Göran Hasse <gorhas@xxxxxxxxxx> scrisse:
> 
>> 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...).
> 
> Hi,
> 
> in case you did not notice, the git repository (and maybe the
> tarball) has some stand-alone examples you can check:
> 
> https://gitlab.gnome.org/GNOME/gtk/tree/master/examples
> 
> I just checked application1 and application10 and they are up to
> date. Just read the README before:
> 
> https://gitlab.gnome.org/GNOME/gtk/blob/master/examples/README
> 
> IMO this is more than enough to get you started.
> 
> Ciao.
> 

-- 
Göran Hasse
Raditex Control AB
Boo 229
715 91 ODENSBACKEN
http://www.rscada.se
OrgNr: 556611-8773
email: gorhas@xxxxxxxxxx
tel: 019-450105
mob: 070-5530148
Lat:  59.18805083 Long: 15.50300449
URL: http://alturl.com/3e6hf

Attachment: gtkhhbar.tarfile
Description: Binary data

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list