Bin
Object Hierarchy:
Description:
[
CCode ( type_id =
"mx_bin_get_type ()" ) ]
public abstract class Bin :
Widget,
Implementor,
Animatable,
Container,
Scriptable,
Focusable,
Stylable
The Bin struct contains only private data
Content:
Properties:
- public Actor child { get; set; }
The child Actor of the
Bin container.
- public Align x_align { get; set; }
The horizontal alignment of the Bin
child.
- public bool x_fill { get; set; }
Whether the child should fill the horizontal allocation
- public Align y_align { get; set; }
The vertical alignment of the Bin
child.
- public bool y_fill { get; set; }
Whether the child should fill the vertical allocation
Creation methods:
Methods:
- public void allocate_child (ActorBox box, AllocationFlags flags)
Allocates the child of an Bin
using the width and height from box
.
- public void get_alignment (out Align x_align, out Align y_align)
Retrieves the horizontal and vertical alignment of the child inside a
Bin, as set by set_alignment.
- public unowned Actor get_child ()
Retrieves a pointer to the child of this
.
- public void get_fill (out bool x_fill, out bool y_fill)
Retrieves the horizontal and vertical fill settings
- public void set_alignment (Align x_align, Align y_align)
Sets the horizontal and vertical alignment of the child inside a
Bin.
- public void set_child (Actor child)
Sets child
as the child of
this.
- public void set_fill (bool x_fill, bool y_fill)
Sets whether the child of this
should fill out the horizontal and/or vertical allocation of the parent
Inherited Members:
All known members inherited from class Mx.Widget
All known members inherited from class Clutter.Actor
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Atk.Implementor
All known members inherited from interface Clutter.Animatable
- animate_property
- find_property
- get_initial_state
- interpolate_value
All known members inherited from interface Clutter.Container
- @foreach
- actor_added
- actor_removed
- add
- add_actor
- add_valist
- child_get
- child_get_property
- child_notify
- child_set
- child_set_property
- class_find_child_property
- class_list_child_properties
- create_child_meta
- destroy_child_meta
- find_child_by_name
- find_child_property
- foreach_with_internals
- get_child_meta
- get_children
- list_child_properties
- lower_child
- raise_child
- remove
- remove_actor
- remove_valist
- sort_depth_order
All known members inherited from interface Clutter.Scriptable
All known members inherited from interface Mx.Focusable
All known members inherited from interface Mx.Stylable