Re: Homogeneous table
- From: Rúben Rodrigues <ruben_gr live com pt>
- To: "cecashon aol com" <cecashon aol com>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Homogeneous table
- Date: Fri, 10 Mar 2017 10:32:07 +0000
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, cecashon aol com<mailto:cecashon 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]