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

# Gtk2::RadioToolButton(3pm)

wrapper for GtkRadioToolButton

## NAME

Gtk2::RadioToolButton - wrapper for GtkRadioToolButton

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ToolItem
                                +----Gtk2::ToolButton
                                     +----Gtk2::ToggleToolButton
                                          +----Gtk2::RadioToolButton
```

## INTERFACES

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

## METHODS

### toolitem = Gtk2::RadioToolButton-\>new ($member\_or\_listref=undef)

- •

  `$member_or_listref` (scalar)

### toolitem = Gtk2::RadioToolButton-\>new\_from\_stock ($member\_or\_listref, $stock\_id)

- •

  `$member_or_listref` (scalar)

- •

  `$stock_id` (string)

### toolitem = Gtk2::RadioToolButton-\>new\_from\_widget ($group)

- •

  `$group` (Gtk2::RadioToolButton or undef)

### toolitem = Gtk2::RadioToolButton-\>new\_with\_stock\_from\_widget ($group, $stock\_id)

- •

  `$group` (Gtk2::Widget or undef)

- •

  `$stock_id` (string)

### arrayref = $button-\>get\_group

### $button-\>set\_group ($member\_or\_listref)

- •

  `$member_or_listref` (scalar)

## PROPERTIES

- 'group' (Gtk2::RadioToolButton : default undef : writable / private)

  The radio tool button whose group this button belongs to.

## SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton, Gtk2::ToggleToolButton

## COPYRIGHT

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

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