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

GtkExpander
Classes GTK
Anterior GtkExpander Próximo

GtkExpander

A container that can hide its child.

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkExpander

Descrição

GtkExpander creates a container that can hide or display details on request. This is achieved by using a small triangle (similar to the one used in GtkTreeView) to control whether the details are shown or not. If the triangle is pointing to the right, details are hidden. On clicking the object, the triangle points downward which indicates that the details are now visible.

You can use GtkExpander as any other descendant of GtkBin by first creating the child widget and then using add() to add it to the expander. When the expander is toggled, it automatically takes care of showing and hiding the details.

Construtores

GtkExpander (string label);

-- Creates an expander object.

GtkExpander::new_with_mnemonic (string label);

-- Creates a GtkExpander instance with a mnemonic label.

Métodos

get_expanded()
  Return the current state of the expander
get_label()
  Fetches the text from the expander's label
get_label_widget()
  Retrieves the label widget
get_spacing()
  Returns the value set by set_spacing()
get_use_markup()
  Determines if the child label's text is interpreted as Pango text markup language.
get_use_underline()
  Determines whether an embedded underline in the expander label indicates a mnemonic.
set_expanded()
  Sets the state of the child to 'visible'.
set_label()
  Sets the text of the label of the expander.
set_label_widget()
  Sets the label widget for the expander.
set_spacing()
  Sets the distance between the GtkExpander and its child.
set_use_markup()
  Sets if the child label's text is to be interpreted as Pango text markup language.
set_use_underline()
  Sets whether an underscore preceding a character in the label means that the character is the mnemonic accelerator for the expander.

Sinais

"activate"
  Emitted when the expander is activated.


Anterior Início Próximo
GtkEventBox::set_visible_window Acima GtkExpander 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