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.
@button: the object which received the signal.
@button:
@button:
@button:
@button:
@button:
Creates a new #GtkButton widget. To add a child widget to the button,
use gtk_container_add().
@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.
@label:
@Returns:
@stock_id:
@Returns:
Emits a #GtkButton::pressed signal to the given #GtkButton.
@button: The #GtkButton you want to send the signal to.
@Deprecated: 2.20: Use the #GtkWidget::button-press-event signal.
Emits a #GtkButton::released signal to the given #GtkButton.
@button: The #GtkButton you want to send the signal to.
@Deprecated: 2.20: Use the #GtkWidget::button-release-event signal.
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.
@Deprecated: 2.20: Use the #GtkWidget::enter-notify-event signal.
Emits a #GtkButton::leave signal to the given #GtkButton.
@button: The #GtkButton you want to send the signal to.
@Deprecated: 2.20: Use the #GtkWidget::leave-notify-event signal.
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
@button:
@Returns:
@button:
@label:
@button:
@Returns:
@button:
@use_stock:
@button:
@Returns:
@button:
@use_underline:
@button:
@focus_on_click:
@button:
@Returns:
@button:
@xalign:
@yalign:
@button:
@xalign:
@yalign:
@button:
@image:
@button:
@Returns:
@button:
@position:
@button:
@Returns: