• Artigos
  • Projetos
  • Download
  • Lista
  • Docs
  • Comunidade
  • ?

GtkToggleButton
Classes GTK
Anterior GtkToggleButton Próximo

GtkToggleButton

Button that retains its state.

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkButton
                                   `-- GtkToggleButton

Subclasses imediatas

GtkCheckButton

Descrição

A GtkToggleButton is a GtkButton which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state.

The state of a GtkToggleButton can be set specifically using set_active() , and retrieved using get_active() .

To simply switch the state of a toggle button, use toggled() .

Construtores

GtkToggleButton ([string label [, boolean use_underline = true]]);

-- Creates a new toggle button.

Métodos

get_active()
  If the toggle button is pressed.
get_inconsistent()
  If the button is set to an inconsistent state.
get_mode()
  Whether the button is displayed as a separate indicator and label.
set_active()
  Sets the active state.
set_inconsistent()
  Set the button to the inconsistent state.
set_mode()
  Sets whether the button is displayed as a separate indicator and label.
toggled()
  Toggle the button's state.

Campos

active:
  If the toggle button should be pressed in or not.
draw_indicator:
  If the toggle part of the button is displayed.
inconsistent:
  If the toggle button is in an "in between" state.

Sinais

"toggled"
  The button's active state has changed.


Anterior Início Próximo
toggled Acima GtkToggleButton Construtor

Comentários

 Adicionar Comentário
 login
 senha
 Texto

Livros


Outros

Busque conteúdo no site
Participe de nosso grupo no google

[Página do grupo]  [Arquivo do grupo]

    Paleta

    Google

    Parceiros

 
Designed by Wolfgang Bartelme Designed by Wolfgang Bartelme

© 2006 Wordpress Themes | Theme (Not so) Fresh
XHTML CSS RSS