Copyright (C) 2000-2012 |
GNU Info (gtk.info)GtkToggleButtonThe toggle button widget ======================== Description ----------- Another form of button (Note: GtkButton) with two states: on and off. The appearance is that of a button which stays pressed on the first click, and is released on the second click. Options ------- - User Option: state Signals ------- - Signal: void GtkToggleButton::toggled (GtkToggleButton *TOGGLE_BUTTON) Functions --------- - Function: guint gtk_toggle_button_get_type (void) Returns the `GtkToggleButton' type identifier. - Function: GtkWidget* gtk_toggle_button_new (void) Create a new `GtkToggleButton' object returning the new widget as a pointer to a `GtkWidget' object. `NULL' is returned on failure. - Function: GtkWidget* gtk_toggle_button_new_with_label (gchar *LABEL) Create a new `GtkToggleButton' object initializing it with the values in LABEL. The new widget is returned as a pointer to a `GtkWidget' object. `NULL' is returned on failure. - Function: void gtk_toggle_button_set_mode (GtkToggleButton *TOGGLE_BUTTON, gint DRAW_INDICATOR) - Function: void gtk_toggle_button_set_state (GtkToggleButton *TOGGLE_BUTTON, gint STATE) - Function: void gtk_toggle_button_toggled (GtkToggleButton *TOGGLE_BUTTON) - Function: GtkToggleButton* GTK_TOGGLE_BUTTON (gpointer OBJ) Cast a generic pointer to `GtkToggleButton*'. Note: Standard Macros, for more info. - Function: GtkToggleButtonClass* GTK_TOGGLE_BUTTON_CLASS (gpointer CLASS) Cast a generic pointer to `GtkToggleButtonClass*'. Note: Standard Macros, for more info. - Function: gint GTK_IS_TOGGLE_BUTTON (gpointer OBJ) Determine if a generic pointer refers to a `GtkToggleButton' object. Note: Standard Macros, for more info. automatically generated by info2www version 1.2.2.9 |