Re: convert gtktable to gtkgrid



Hello,

you have to change the GtkTable object class to a GtkGrid (obviously).
Also, (x|y)-options and (x|y)-padding are not present in the GtkGrid,
so you have to remove those packing definitions (child properties).

If you have multiple GtkTables with lots of children, I don’t think
there is an “easy way”, as you have to process each child of a
<packing> tag within each <child> tag that has an <object> child with
its type attribute set to "GtkTable".

Best,
Gergely

On 23 September 2014 11:19, Andrea Zagli <azagli libero it> wrote:
i have many glade files made for gtk2 with gtktable

in gtk3 gtktable is deprecated in favour of gtkgrid

is there an easy way to convert gtktable to gtkgrid?

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]