www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Using GTK's GResources with GtkD with DUB

reply WebFreak001 <d.forum webfreak.org> writes:
I just want to push my blog again :p

https://new.webfreak.org/blog/2021-10/21/GTKD-GResources-with-dub

You would want to use this for example when you make a GTK app 
that you want to add custom icons into. Using GResources will 
make it search your executable for the icon first.

Also this makes you not dependent on the filesystem for 
resources, everything is bundled in your executable.

There are also some hints and links how to use GTK4 and 
LibAdwaita if you didn't know yet.
Oct 21 2021
parent Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= <aferust gmail.com> writes:
On Thursday, 21 October 2021 at 18:08:34 UTC, WebFreak001 wrote:
 I just want to push my blog again :p

 https://new.webfreak.org/blog/2021-10/21/GTKD-GResources-with-dub

 You would want to use this for example when you make a GTK app 
 that you want to add custom icons into. Using GResources will 
 make it search your executable for the icon first.

 Also this makes you not dependent on the filesystem for 
 resources, everything is bundled in your executable.

 There are also some hints and links how to use GTK4 and 
 LibAdwaita if you didn't know yet.
This is very useful tutorial. I will probably refer to it in the future. Thank you.
Oct 23 2021