## GdlDockItemGrip GdlDockItemGrip — A grip for dock widgets. |

## Stability Level

Private, unless otherwise indicated

## Synopsis

    struct              GdlDockItemGrip;
    GtkWidget *         gdl_dock_item_grip_new              (GdlDockItem *item);
    void                gdl_dock_item_grip_set_label        (GdlDockItemGrip *grip,
                                                             GtkWidget *label);
    void                gdl_dock_item_grip_show_handle      (GdlDockItemGrip *grip);
    void                gdl_dock_item_grip_hide_handle      (GdlDockItemGrip *grip);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GdlDockItemGrip

## Implemented Interfaces

GdlDockItemGrip implements AtkImplementorIface and GtkBuildable.

## Properties

      "item"                     GdlDockItem*          : Write / Construct Only

## Description

This widget contains an area where the user can click to drag the dock item and two buttons. The first button allows to iconify the dock item. The second one allows to close the dock item.

## Details

### struct GdlDockItemGrip

    struct GdlDockItemGrip;

### gdl_dock_item_grip_new ()

    GtkWidget *         gdl_dock_item_grip_new              (GdlDockItem *item);

Creates a new GDL dock item grip object.

`item` : | The dock item that will "own" this grip widget.
Returns : | The newly created dock item grip widget.

### gdl_dock_item_grip_set_label ()

    void                gdl_dock_item_grip_set_label        (GdlDockItemGrip *grip,
                                                             GtkWidget *label);

Replaces the current label widget with another widget.

`grip` : | The grip that will get it's label widget set.
`label` : | The widget that will become the label.

### gdl_dock_item_grip_show_handle ()

    void                gdl_dock_item_grip_show_handle      (GdlDockItemGrip *grip);

This function shows the dock item's grip widget handle hatching.

`grip` : | The dock item grip to show the handle of.

### gdl_dock_item_grip_hide_handle ()

    void                gdl_dock_item_grip_hide_handle      (GdlDockItemGrip *grip);

This function hides the dock item's grip widget handle hatching.

`grip` : | The dock item grip to hide the handle of.

## Property Details

### The `"item"` property

      "item"                     GdlDockItem*          : Write / Construct Only

Dockitem which 'owns' this grip.

## See Also

GtlDockItem, GdlDockItemButtonImage