Function
GimpUigrid_attach_aligned
Declaration [src]
GtkWidget*
gimp_grid_attach_aligned (
GtkGrid* grid,
gint left,
gint top,
const gchar* label_text,
gfloat xalign,
gfloat yalign,
GtkWidget* widget,
gint columns
)
Description [src]
Note that the label_text can be NULL and that the widget will be
attached starting at (column + 1) in this case, too.
Parameters
grid-
Type:
GtkGridThe
GtkGridthe widgets will be attached to.The data is owned by the caller of the function. left-
Type:
gintThe column to start with.
top-
Type:
gintThe row to attach the widgets.
label_text-
Type:
const gchar*The text for the
GtkLabelwhich will be attached left of the widget.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. xalign-
Type:
gfloatThe horizontal alignment of the
GtkLabel. yalign-
Type:
gfloatThe vertical alignment of the
GtkLabel. widget-
Type:
GtkWidgetThe
GtkWidgetto attach right of the label.The data is owned by the caller of the function. columns-
Type:
gintThe number of columns the widget will use.
Return value
Type: GtkWidget
The created GtkLabel.
| The data is owned by the called function. |