-
public void add_with_properties (Widget widget, ...)
Adds widget to container, setting child properties at the same time. See
gtk_container_add and child_set for more details.
-
public void child_get (Widget child, ...)
Gets the values of one or more child properties for child and container.
-
public void child_get_property (Widget child, string property_name, Value value)
Gets the value of a child property for child and container.
-
public void child_get_valist (Widget child, string first_property_name, void* var_args)
Gets the values of one or more child properties for child and container.
-
public void child_set (Widget child, ...)
Sets one or more child properties for child and container.
-
public void child_set_property (Widget child, string property_name, Value value)
Sets a child property for child and container.
-
public void child_set_valist (Widget child, string first_property_name, void* var_args)
Sets one or more child properties for child and container.
-
public virtual Type child_type ()
Returns the type of the children supported by the container.
-
public virtual unowned string composite_name (Widget child)
-
public virtual void forall (Callback callback)
Invokes callback on each child of container, including children that are
considered "internal" (implementation details of the container). "Internal" children generally weren't added by the user of the
container, but were added by the container implementation itself. Most applications should use
foreach, rather than
forall.
-
public virtual void forall_internal (bool include_internal, Callback callback)
-
public void foreach (Callback callback)
Invokes callback on each non-internal child of container. See
forall for details on what constitutes an "internal" child. Most
applications should use foreach, rather than
forall.
-
public uint get_border_width ()
-
public virtual void get_child_property (Widget child, uint property_id, Value value, ParamSpec pspec)
-
public List<weak Widget> get_children ()
Returns the container's non-internal children. See
forall for details on what constitutes an "internal" child.
-
public bool get_focus_chain (out List<Widget> focusable_widgets)
Retrieves the focus chain of the container, if one has been set explicitly. If no focus chain has been
explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores null in
focusable_widgets and returns false.
-
public weak Widget get_focus_child ()
Returns the current focus child widget inside container. This is not the currently
focused widget. That can be obtained by calling get_focus.
-
public weak Adjustment get_focus_hadjustment ()
-
public weak Adjustment get_focus_vadjustment ()
-
public ResizeMode get_resize_mode ()
-
public void propagate_expose (Widget child, EventExpose event)
When a container receives an expose event, it must send synthetic expose events to all children that
don't have their own GdkWindows. This function provides a convenient way of doing this. A container, when it receives
an expose event, calls propagate_expose once for each child,
passing in the event the container received.
-
public void resize_children ()
-
public void set_border_width (uint border_width)
Sets the border width of the container.
-
public virtual void set_child_property (Widget child, uint property_id, Value value, ParamSpec pspec)
-
public void set_focus_chain (List<Widget> focusable_widgets)
Sets a focus chain, overriding the one computed automatically by GTK+.
-
public void set_focus_hadjustment (Adjustment adjustment)
Hooks up an adjustment to focus handling in a container, so when a child of the container is focused,
the adjustment is scrolled to show that widget. This function sets the horizontal alignment. See
get_hadjustment for a typical way of obtaining the adjustment
and set_focus_vadjustment for setting the vertical adjustment.
-
public void set_focus_vadjustment (Adjustment adjustment)
Hooks up an adjustment to focus handling in a container, so when a child of the container is focused,
the adjustment is scrolled to show that widget. This function sets the vertical alignment. See
get_vadjustment for a typical way of obtaining the adjustment
and set_focus_hadjustment for setting the horizontal
adjustment.
-
public void set_reallocate_redraws (bool needs_redraws)
Sets the reallocate_redraws flag of the container to the given value.
-
public void set_resize_mode (ResizeMode resize_mode)
Sets the resize mode for the container.
-
public void unset_focus_chain ()