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

GtkContainer
Classes GTK
Anterior GtkContainer Próximo

GtkContainer

An abstract class to be extended by widgets that hold one or more other widgets.

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer

Subclasses imediatas

GtkBin, GtkBox, GtkCList, GtkFixed, GtkIconView, GtkLayout, GtkList, GtkMenuShell, GtkNotebook, GtkPaned, GtkSocket, GtkTable, GtkTextView, GtkToolbar, GtkTreeView

Descrição

An abstract class to be extended by widget that hole one or more other widgets.

Containers (widgets that extend from GtkContainer) provide a context for the widgets they contain. Containers manage the location, re-sizing and order of their children.

Containers can be broken down into two groups: bins (containers that extend from GtkBin) and multi-child containers. Bins may only have one child and in general provide some additional set of functionality or display enhancement for their child widget. Multi-child containers, on the other hand, normally do not provide any additional functionality and instead focus on organizing a set of widgets.

Métodos

add()
  Adds the given widget to the container.
check_resize()
  Emits the "check-resize" signal on the container.
child_type()
  Returns the type of the children supported by the container./
children()
  OBSOLETO
get_border_width()
  Returns border width.
get_children()
  Returns an array of all children
get_focus_chain()
  Returns the focus order.
get_focus_hadjustment()
  Retrieves the horizontal focus adjustment.
get_focus_vadjustment()
  Retrieves the vertical focus adjustment.
get_resize_mode()
  Returns the resize mode.
propagate_expose()
  Sends an expose event to a child.
remove()
  Removes a widget from the container.
resize_children()
  Recalculates its and the children's sizes.
set_border_width()
  Sets the border around the container.
set_focus_chain()
  Overrides the automatically computed focus chain.
set_focus_child()
  Emits the "set-focus-child" signal.
set_focus_hadjustment()
  Sets the horizontal adjustment.
set_focus_vadjustment()
  Sets the vertical adjustment.
set_reallocate_redraws()
  Sets the reallocate_redraws flag.
set_resize_mode()
  Sets the resize mode for the container.
unset_focus_chain()
  Removes a focus chain explicitly set.

Propriedades

Use os métodos get_property e set_property para acessar estes.

border-width:
  Border around the container
child:
  Add a new child to the container.
resize-mode:
  How resize events are handled.

Sinais

"add"
  Emitted when a child is added to the container with the add method.
"check-resize"
  Recalculation of children is requested.
"remove"
  Widget is removed from container.
"set-focus-child"
  Focus changes.


Anterior Início Próximo
GtkComboBoxEntry::set_text_column Acima GtkContainer::add

Comentários

 Adicionar Comentário
 login
 senha
 Texto

Livros


    Paleta

    Google

    Parceiros

 
Designed by Wolfgang Bartelme Designed by Wolfgang Bartelme

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