GtkButton A widget that creates a signal when clicked on. The #GtkButton widget is generally used to attach a function to that is called when the button is pressed. The various signals and how to use them are outlined below. The #GtkButton widget can hold any valid child widget. That is it can hold most any other standard #GtkWidget. The most commonly used child is the #GtkLabel. This should not be accessed directly. Use the accessor functions below. Creates a new #GtkButton widget. @Returns: The newly created #GtkButton widget. Creates a #GtkButton widget with a #GtkLabel child containing the given text. @label: The text you want the #GtkLabel to hold. @Returns: The newly created #GtkButton widget. Emits a #GtkButton::pressed signal to the given #GtkButton. @button: The #GtkButton you want to send the signal to. Emits a #GtkButton::released signal to the given #GtkButton. @button: The #GtkButton you want to send the signal to. Emits a #GtkButton::clicked signal to the given #GtkButton. @button: The #GtkButton you want to send the signal to. Emits a #GtkButton::enter signal to the given #GtkButton. @button: The #GtkButton you want to send the signal to. Emits a #GtkButton::leave signal to the given #GtkButton. @button: The #GtkButton you want to send the signal to. Sets the relief style of the edges of the given #GtkButton widget. Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE. The default style is, as one can guess, GTK_RELIEF_NORMAL. @button: The #GtkButton you want to set relief styles of. @newstyle: The GtkReliefStyle as described above. Returns the current relief style of the given #GtkButton. @button: The #GtkButton you want the #GtkReliefStyle from. @Returns: The current #GtkReliefStyle Emitted when a button clicked on by the mouse and the cursor stays on the button. If the cursor is not on the button when the mouse button is released, the signal is not emitted. @button: the object which received the signal. Emitted when the mouse cursor enters the region of the button. @button: the object which received the signal. Emitted when the mouse cursor leaves the region of the button. @button: the object which received the signal. Emitted when the button is initially pressed. @button: the object which received the signal. Emitted when a button which is pressed is released, no matter where the mouse cursor is. @button: the object which received the signal. The text within the child #GtkLabel of the #GtkButton. Only useful if there is actually a #GtkLabel inside of the #GtkButton. The #GtkReliefStyle as outlined in gtk_button_set_relief().