---
name: "Gtk2::ToolShell"
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::ToolShell"
---

# Gtk2::ToolShell(3pm)

wrapper for GtkToolShell

## NAME

Gtk2::ToolShell - wrapper for GtkToolShell

## HIERARCHY

```
  Glib::Interface
  +----Gtk2::ToolShell
```

## METHODS

### ellipsizemode = $shell-\>get\_ellipsize\_mode

Since: gtk+ 2.20

### iconsize = $shell-\>get\_icon\_size

### orientation = $shell-\>get\_orientation

### $shell-\>rebuild\_menu

### reliefstyle = $shell-\>get\_relief\_style

### toolbarstyle = $shell-\>get\_style

### double = $shell-\>get\_text\_alignment

Since: gtk+ 2.20

### orientation = $shell-\>get\_text\_orientation

Since: gtk+ 2.20

### sizegroup or undef = $shell-\>get\_text\_size\_group

Since: gtk+ 2.20

## ENUMS AND FLAGS

### enum Gtk2::IconSize

- •

  'invalid' / 'GTK\_ICON\_SIZE\_INVALID'

- •

  'menu' / 'GTK\_ICON\_SIZE\_MENU'

- •

  'small-toolbar' / 'GTK\_ICON\_SIZE\_SMALL\_TOOLBAR'

- •

  'large-toolbar' / 'GTK\_ICON\_SIZE\_LARGE\_TOOLBAR'

- •

  'button' / 'GTK\_ICON\_SIZE\_BUTTON'

- •

  'dnd' / 'GTK\_ICON\_SIZE\_DND'

- •

  'dialog' / 'GTK\_ICON\_SIZE\_DIALOG'

### enum Gtk2::Orientation

- •

  'horizontal' / 'GTK\_ORIENTATION\_HORIZONTAL'

- •

  'vertical' / 'GTK\_ORIENTATION\_VERTICAL'

### enum Gtk2::ReliefStyle

- •

  'normal' / 'GTK\_RELIEF\_NORMAL'

- •

  'half' / 'GTK\_RELIEF\_HALF'

- •

  'none' / 'GTK\_RELIEF\_NONE'

### enum Gtk2::ToolbarStyle

- •

  'icons' / 'GTK\_TOOLBAR\_ICONS'

- •

  'text' / 'GTK\_TOOLBAR\_TEXT'

- •

  'both' / 'GTK\_TOOLBAR\_BOTH'

- •

  'both-horiz' / 'GTK\_TOOLBAR\_BOTH\_HORIZ'

### enum Pango::EllipsizeMode

- •

  'none' / 'PANGO\_ELLIPSIZE\_NONE'

- •

  'start' / 'PANGO\_ELLIPSIZE\_START'

- •

  'middle' / 'PANGO\_ELLIPSIZE\_MIDDLE'

- •

  'end' / 'PANGO\_ELLIPSIZE\_END'

## SEE ALSO

Gtk2, Glib::Interface

## COPYRIGHT

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

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