GnomeDockItem is a container widget that can be used to make widgets dockable. "Making a widget dockable" means that the widget gets a handle through which users can drag it around the dock widget or detach it so that it gets displayed into its own window (thus becoming a "floating" item).
typedef enum { GNOME_DOCK_ITEM_BEH_NORMAL = 0, GNOME_DOCK_ITEM_BEH_EXCLUSIVE = 1 << 0, GNOME_DOCK_ITEM_BEH_NEVER_FLOATING = 1 << 1, GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL = 1 << 2, GNOME_DOCK_ITEM_BEH_NEVER_HORIZONTAL = 1 << 3, GNOME_DOCK_ITEM_BEH_LOCKED = 1 << 4 } GnomeDockItemBehavior; |
|
Create a new GnomeDockItem named name, with the specified behavior.
name : | Name for the new item |
behavior : | Behavior for the new item |
Returns : | A new GnomeDockItem widget. |
|
Retrieve the child of item.
dock_item : | |
Returns : | The child of item. |
char* gnome_dock_item_get_name (GnomeDockItem *dock_item); |
Retrieve the name of item.
dock_item : | |
Returns : | The name of item as a |
void gnome_dock_item_set_shadow_type (GnomeDockItem *dock_item, |
Set the shadow type for dock_item.
dock_item : | A GnomeDockItem widget |
type : | The shadow type for dock_item |
|
Retrieve the shadow type of dock_item.
dock_item : | A GnomeDockItem widget. |
Returns : | dock_item's shadow type. |
|
Set the orientation for dock_item.
dock_item : | A GnomeDockItem widget |
orientation : | New orientation for dock_item |
Returns : | TRUE if the operation succeeds, FALSE if it fails. |
|
Retrieve the orientation of dock_item.
dock_item : | A GnomeDockItem widget. |
Returns : | The current orientation of dock_item. |
GnomeDockItemBehavior gnome_dock_item_get_behavior (GnomeDockItem *dock_item); |
Retrieve the behavior of dock_item.
dock_item : | A GnomeDockItem widget. |
Returns : | The behavior of dock_item. |
|
item : | |
x : | |
y : | |
Returns : |
void gnome_dock_item_attach (GnomeDockItem *item, |
item : | |
parent : | |
x : | |
y : |
void gnome_dock_item_drag_floating (GnomeDockItem *item, |
item : | |
x : | |
y : |
void gnome_dock_item_handle_size_request (GnomeDockItem *item, |
item : | |
requisition : |
void gnome_dock_item_get_floating_position (GnomeDockItem *item, |
item : | |
x : | |
y : |