GtkToggleButton

Gamma/GTK: Using Gamma™ with GTK, Version 0.9
Prev |  | Next

# `GtkToggleButton`

`GtkToggleButton` -- a button that retains its on/off state.

## Synopsis

    class GtkToggleButton GtkButton
    {
        active;                // gboolean : Read / Write
        draw_indicator;        // gboolean : Read / Write
    }

## Parent Classes

`GtkObject`<-- `GtkWidget`<-- `GtkContainer`<-- `GtkBin`<-- `GtkButton`<--GtkToggleButton

## Child Classes

`GtkCheckButton`

## Methods

`get_active` ()
`set_active` (`is_active`)
`set_mode` (`draw_indicator`)
`toggled` ()

## Related Functions

`gtk_toggle_button_get_type` () -- replaces GTK_TYPE_TOGGLE_BUTTON
`gtk_toggle_button_new` ()
`gtk_toggle_button_new_with_label` (`label`)

## Example

See the Toggle Buttons example in the Example Code Appendix.

Prev | Home | Next
`GtkText` | Up | `GtkToolbar`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.