---
name: "GButton.toggle_button"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GButton.toggle_button"
---

# GButton.toggle\_button(3o)

Create buttons which retain their state

## NAME

GButton.toggle\_button - Create buttons which retain their state

## Class

Class   GButton.toggle\_button

## Documentation

*class toggle\_button :* **\[\> Gtk.toggle\_button \] Gtk.obj -\> object end**

Create buttons which retain their state

**Parameters:**

""

**(\[\> Gtk.toggle\_button \] as 'a) Gtk.obj**

*val obj :* **'a Gtk.obj**

*method active :* **bool**

*method connect :* **GButton.toggle\_button\_signals**

*method set\_active :* **bool -\> unit**

*method set\_draw\_indicator :* **bool -\> unit**
