---
name: "Gtk2::HandleBox"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::HandleBox"
---

# Gtk2::HandleBox(3pm)

wrapper for GtkHandleBox

## NAME

Gtk2::HandleBox - wrapper for GtkHandleBox

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::HandleBox
```

## INTERFACES

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

## METHODS

### widget = Gtk2::HandleBox-\>new

### boolean = $handle\_box-\>get\_child\_detached

### positiontype = $handle\_box-\>get\_handle\_position

### $handle\_box-\>set\_handle\_position ($position)

- •

  `$position` (Gtk2::PositionType)

### shadowtype = $handle\_box-\>get\_shadow\_type

### $handle\_box-\>set\_shadow\_type ($type)

- •

  `$type` (Gtk2::ShadowType)

### positiontype = $handle\_box-\>get\_snap\_edge

### $handle\_box-\>set\_snap\_edge ($edge)

- •

  `$edge` (Gtk2::PositionType)

## PROPERTIES

- 'child-detached' (boolean : default false : readable / private)

  A boolean value indicating whether the handlebox's child is attached or detached.

- 'handle-position' (Gtk2::PositionType : default "left" : readable / writable / private)

  Position of the handle relative to the child widget

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

  Deprecated property, use shadow\_type instead

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

  Appearance of the shadow that surrounds the container

- 'snap-edge' (Gtk2::PositionType : default "top" : readable / writable / private)

  Side of the handlebox that's lined up with the docking point to dock the handlebox

- 'snap-edge-set' (boolean : default false : readable / writable / private)

  Whether to use the value from the snap\_edge property or a value derived from handle\_position

## SIGNALS

- **child-attached** (Gtk2::HandleBox, Gtk2::Widget)

  - **child-detached** (Gtk2::HandleBox, Gtk2::Widget)

  ## ENUMS AND FLAGS

### enum Gtk2::PositionType

- •

  'left' / 'GTK\_POS\_LEFT'

- •

  'right' / 'GTK\_POS\_RIGHT'

- •

  'top' / 'GTK\_POS\_TOP'

- •

  'bottom' / 'GTK\_POS\_BOTTOM'

### 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

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

## COPYRIGHT

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

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