GtkButton

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

# `GtkButton`

`GtkButton` -- a parent class for buttons.

## Synopsis

    class GtkButton GtkBin
    {
        label;         // GtkString      : Read / Write
        relief;        // GtkReliefStyle : Read / Write
    }

## Parent Classes

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

## Child Classes

`GtkOptionMenu` `GtkToggleButton`

## Description

This widget is the parent of all button widgets.

## Methods

`clicked` ()
`enter` ()
`get_relief` ()
`leave` ()
`pressed` ()
`released` ()
`set_relief` (`newstyle`)

## Related Functions

`gtk_button_get_type` () -- replaces GTK_TYPE_BUTTON
`gtk_button_new` ()
`gtk_button_new_with_label` (`label`)

## Example

See the Buttons example in the Example Code Appendix.

Prev | Home | Next
`GtkBox` | Up | `GtkButtonBox`

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