---
name: "Gnome2::Bonobo::DockItem"
section: "3pm"
platform: "linux"
package: "libgnome2-perl"
version: "1.046-3+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::Bonobo::DockItem"
---

# Gnome2::Bonobo::DockItem(3pm)

wrapper for BonoboDockItem

## NAME

Gnome2::Bonobo::DockItem - wrapper for BonoboDockItem

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gnome2::Bonobo::DockItem
```

## INTERFACES

```
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
```

## METHODS

### widget = Gnome2::Bonobo::DockItem-\>new ($name, $behavior)

- •

  `$name` (string)

- •

  `$behavior` (Gnome2::Bonobo::DockItemBehavior)

### dockitembehavior = $dock\_item-\>get\_behavior

### widget = $dock\_item-\>get\_child

### string = $dock\_item-\>get\_name

### orientation = $dock\_item-\>get\_orientation

### boolean = $dock\_item-\>set\_orientation ($orientation)

- •

  `$orientation` (Gtk2::Orientation)

### shadowtype = $dock\_item-\>get\_shadow\_type

### $dock\_item-\>set\_shadow\_type ($type)

- •

  `$type` (Gtk2::ShadowType)

## PROPERTIES

- 'orientation' (Gtk2::Orientation : default "horizontal" : readable / writable)

  Orientation

- 'preferred-height' (Glib::UInt : default 0 : readable)

  Preferred height

- 'preferred-width' (Glib::UInt : default 0 : readable)

  Preferred width

- 'shadow' (Gtk2::ShadowType : default "out" : readable / writable)

  Shadow type

## SIGNALS

- **dock-detach** (Gnome2::Bonobo::DockItem)

  - **dock-drag-begin** (Gnome2::Bonobo::DockItem)

  - **dock-drag-end** (Gnome2::Bonobo::DockItem)

  - **dock-drag-motion** (Gnome2::Bonobo::DockItem, integer, integer)

  - **orientation-changed** (Gnome2::Bonobo::DockItem, Gtk2::Orientation)

  ## ENUMS AND FLAGS

### flags Gnome2::Bonobo::DockItemBehavior

- •

  'normal' / 'BONOBO\_DOCK\_ITEM\_BEH\_NORMAL'

- •

  'exclusive' / 'BONOBO\_DOCK\_ITEM\_BEH\_EXCLUSIVE'

- •

  'never-floating' / 'BONOBO\_DOCK\_ITEM\_BEH\_NEVER\_FLOATING'

- •

  'never-vertical' / 'BONOBO\_DOCK\_ITEM\_BEH\_NEVER\_VERTICAL'

- •

  'never-horizontal' / 'BONOBO\_DOCK\_ITEM\_BEH\_NEVER\_HORIZONTAL'

- •

  'locked' / 'BONOBO\_DOCK\_ITEM\_BEH\_LOCKED'

### enum Gtk2::Orientation

- •

  'horizontal' / 'GTK\_ORIENTATION\_HORIZONTAL'

- •

  'vertical' / 'GTK\_ORIENTATION\_VERTICAL'

### enum Gtk2::ShadowType

- •

  'none' / 'GTK\_SHADOW\_NONE'

- •

  'in' / 'GTK\_SHADOW\_IN'

- •

  'out' / 'GTK\_SHADOW\_OUT'

- •

  'etched-in' / 'GTK\_SHADOW\_ETCHED\_IN'

- •

  'etched-out' / 'GTK\_SHADOW\_ETCHED\_OUT'

## SEE ALSO

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin

## COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gnome2 for a full notice.
