Use Gtk.Grid instead of Gtk.VBox, Gtk.HBox, Gtk.Box, Gtk.Table, etc.

Bug #965469 reported by Corentin Noël
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Maya
Fix Released
Low
Corentin Noël

Bug Description

In the coming versions of Gtk, All of these widgets will be deprecated…
   Source : http://developer.gnome.org/gtk3/3.3/GtkTable.html
Make the change now to not waste any time later

Revision history for this message
Niels Avonds (niels-avonds) wrote :

I think replacing table for Grid is valid, but VBox and HBox should be replaced with Box instead of grid.

Revision history for this message
Corentin Noël (tintou) wrote :

That is what could be planed, but the documentation about HBox and VBox says :

If you want your code to be future-proof, the recommendation is to switch to GtkGrid, since GtkBox is going to be deprecated in favor of the more flexible grid widget eventually. For more information about migrating to GtkGrid, see Migrating from other containers to GtkGrid

Corentin Noël (tintou)
Changed in maya:
status: Confirmed → In Progress
Revision history for this message
Niels Avonds (niels-avonds) wrote :

Didn't see that at first, found it now :) Agreed, we should indeed switch everything to grid then.

Corentin Noël (tintou)
Changed in maya:
status: In Progress → Fix Committed
Changed in maya:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.