DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gtk.info) GtkToggleButton

Info Catalog (gtk.info) GtkText (gtk.info) Widgets (gtk.info) GtkToolbar
 
 The toggle button widget
 ========================
 
 Description
 -----------
 
    Another form of button ( 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*'.  Standard
      Macros, for more info.
 
  - Function: GtkToggleButtonClass* GTK_TOGGLE_BUTTON_CLASS (gpointer
           CLASS)
      Cast a generic pointer to `GtkToggleButtonClass*'.  Standard
      Macros, for more info.
 
  - Function: gint GTK_IS_TOGGLE_BUTTON (gpointer OBJ)
      Determine if a generic pointer refers to a `GtkToggleButton'
      object.  Standard Macros, for more info.
 
Info Catalog (gtk.info) GtkText (gtk.info) Widgets (gtk.info) GtkToolbar
automatically generated byinfo2html