GimpUi.grid_attach_aligned
@accepts(Gtk.Grid, int, int, unicode, float, float, Gtk.Widget, int)
@returns(Gtk.Widget)
def grid_attach_aligned(grid, left, top, label_text, xalign, yalign, widget, columns):
# Python wrapper for gimp_grid_attach_aligned()
Note that the label_text can be None and that the widget will be attached starting at (@column + 1) in this case, too.
- grid
The Gtk.Grid the widgets will be attached to.
- left
The column to start with.
- top
The row to attach the widgets.
- label_text
The text for the Gtk.Label which will be attached left of the widget.
- xalign
The horizontal alignment of the Gtk.Label.
- yalign
The vertical alignment of the Gtk.Label.
- widget
The Gtk.Widget to attach right of the label.
- columns
The number of columns the widget will use.
- Returns