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.