Functions
gtk_layout_new ()
GtkWidget *
gtk_layout_new (GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment);
Creates a new GtkLayout. Unless you have a specific adjustment
you’d like the layout to use for scrolling, pass NULL for
hadjustment
and vadjustment
.
gtk_layout_put ()
void
gtk_layout_put (GtkLayout *layout,
GtkWidget *child_widget,
gint x,
gint y);
Adds child_widget
to layout
, at position (x
,y
).
layout
becomes the new parent container of child_widget
.
gtk_layout_move ()
void
gtk_layout_move (GtkLayout *layout,
GtkWidget *child_widget,
gint x,
gint y);
Moves a current child of layout
to a new position.
gtk_layout_set_size ()
void
gtk_layout_set_size (GtkLayout *layout,
guint width,
guint height);
Sets the size of the scrollable area of the layout.
gtk_layout_get_size ()
void
gtk_layout_get_size (GtkLayout *layout,
guint *width,
guint *height);
Gets the size that has been set on the layout, and that determines
the total extents of the layout’s scrollbar area. See
gtk_layout_set_size().
gtk_layout_get_bin_window ()
GdkWindow *
gtk_layout_get_bin_window (GtkLayout *layout);
Retrieve the bin window of the layout used for drawing operations.
Since: 2.14