HI,

Thanks for your reply. NExt i will change to gtk3, but i think that i need to 
change many things.. It could be simple to make a homogeneous table and hide 
images, unfortunately not..

On 09-03-2017 18:59, cecas...@aol.com<mailto:cecas...@aol.com> wrote:

Hi Ruben,

Consider using a drawing area and GTK3. There are more drawing and graphical 
capabilities in GTK3. Going forward to GTK4 I expect even more drawing 
capabilities since every computer sold these days has a gpu and the software 
can take advantage of that.

With a drawing area you get better control of what you can do with your image. 
It makes it easy to place the image in different places along with, 
transparency, text, animation, transforms,,, and a lot of other things.

For chicken placement you can use 5 separate drawing areas or merge them into 
one. I have something similar with selecting critters for gauge speed. A png 
picture here.

https://github.com/cecashon/OrderedSetVelociRaptor/tree/master/Misc/AdjustableGauge

There is a simple picture in a drawing area with some animated text over it at

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/draw_chars1.c

The code is simple enough but it needs a picture and picture path for it to 
work. I think that it could be ported to GTK2 but haven't done so. I like the 
graphical capabilities of GTK3 so I sort of stick with that for now.

Eric

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

Reply via email to