DockObject
Object Hierarchy:
Gdl.DockObject
Gdl.DockObject
Gdl.DockObject
Gtk.Container
Gtk.Container
Gtk.Container->Gdl.DockObject
Gtk.Widget
Gtk.Widget
Gtk.Widget->Gtk.Container
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Atk.Implementor
Atk.Implementor
Atk.Implementor->Gdl.DockObject
Atk.Implementor->Gtk.Container
Atk.Implementor->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Gdl.DockObject
Gtk.Buildable->Gtk.Container
Gtk.Buildable->Gtk.Widget
Description:
[ CCode ( type_id = "gdl_dock_object_get_type ()" ) ]public class DockObject : Container , Implementor , Buildable
Content:
Properties:
public string long_name { get ; set construct ; }
A long descriptive name.
public DockMaster master { owned get ; set construct ; }
The master which manages all the objects in a dock ring
public string name { get ; construct ; }
public void * pixbuf_icon { get ; set ; }
A GdkPixbuf to use for the icon of the dock object.
public string stock_id { get ; set construct ; }
A stock id to use for the icon of the dock object.
Static methods:
public static unowned string nick_from_type (Type type)
Finds the nickname for a given type
public static Type set_type_for_nick (string nick, Type type)
Assigns an object type to a given nickname.
public static Type type_from_nick (string nick)
Finds the object type assigned to a given nickname.
Creation methods:
Methods:
public void bind (Object master)
Add a link between a DockObject and a
master.
public virtual bool child_placement (DockObject child, DockPlacement ? placement)
This function returns information about placement of a child dock
object inside another dock object.
public virtual bool dock_request (int x, int y, DockRequest request)
Dock a dock widget in this at the
defined position.
public void freeze ()
Temporarily freezes a dock object, any call to reduce on the object
has no immediate effect.
public unowned DockObject get_controller ()
Retrieves the controller of the object.
public unowned string get_long_name ()
Retrieves the long name of the object.
public unowned Object get_master ()
Retrieves the master of the object.
public unowned DockObject ? get_parent_object ()
Returns a parent DockObject if it exists.
public unowned Pixbuf get_pixbuf ()
Retrieves a pixbuf used as the dock object icon.
public unowned string get_stock_id ()
Retrieves the a stock id used as the object icon.
public unowned Dock ? get_toplevel ()
Get the top level Dock
widget of this or null
if cannot be found.
public bool is_automatic ()
Determine if an object is managed by the dock master, such object is
destroyed automatically when it is not needed anymore.
public bool is_bound ()
Check if the object is bound to a master.
public bool is_closed ()
Checks whether a given DockObject is
closed.
public bool is_compound ()
Check if an object is a compound object, accepting children widget or
not.
public bool is_frozen ()
Determine if an object is frozen and is not removed immediately from
the widget hierarchy when it is reduced.
public void layout_changed_notify ()
Emits the
layout_changed signal on the master of the object if existing.
public virtual void present (DockObject ? child)
Presents the GDL object to the user.
public virtual void reduce ()
Remove a compound object if it is not longer useful to hold the child.
public virtual bool reorder (DockObject child, DockPlacement new_position, Value ? other_data)
Move the child
widget at another place.
public class void set_is_compound (bool is_compound)
Define in the corresponding kind of dock object can contains children.
public void set_long_name (string name)
Set the long name of the object.
public void set_manual ()
A DockObject is managed by default by the
dock master, use this function to make it a manual object if you want to manage the destruction of the object.
public void set_pixbuf (Pixbuf ? icon)
Set a icon for a dock object using a Pixbuf
.
public void set_stock_id (string stock_id)
Set an icon for the dock object using a stock id.
public void thaw ()
Thaws a dock object frozen with
freeze .
public void unbind ()
This removes the link between an dock object and its master.
Signals:
Fields:
Inherited Members:
All known members inherited from class Gtk.Container
@foreach
add
add_with_properties
border_width
check_resize
child
child_get
child_get_property
child_get_valist
child_notify
child_notify_by_pspec
child_set
child_set_property
child_set_valist
child_type
class_find_child_property
class_list_child_properties
composite_name
find_child_property
forall
forall_internal
get_border_width
get_child_property
get_children
get_focus_chain
get_focus_child
get_focus_hadjustment
get_focus_vadjustment
get_path_for_child
get_resize_mode
handle_border_width
install_child_properties
install_child_property
list_child_properties
propagate_draw
remove
resize_children
resize_mode
set_border_width
set_child_property
set_focus_chain
set_focus_child
set_focus_hadjustment
set_focus_vadjustment
set_reallocate_redraws
set_resize_mode
unset_focus_chain
All known members inherited from class Gtk.Widget
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 Gtk.Buildable
add_child
construct_child
custom_finished
custom_tag_end
custom_tag_start
get_internal_child
get_name
parser_finished
set_buildable_property
set_name