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

GtkMenuItem
Classes GTK
Anterior GtkMenuItem Próximo

GtkMenuItem

A widget used for holding items in menus.

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkItem
                                   `-- GtkMenuItem

Subclasses imediatas

GtkCheckMenuItem, GtkImageMenuItem, GtkSeparatorMenuItem, GtkTearoffMenuItem

Descrição

The GtkMenuItem is the fundamental building block of all menus. These widgets are responsible for holding valid children that will make up the menu. Their function is to correctly handle highlighting, alignment, events and the addition of sub-menus.

Since this widget derives itself from GtkBin, it can hold any valid child widget, although only a few may aid in the creation of menus.

Construtores

GtkMenuItem (string label]);

-- Creates a new GtkMenuItem.

Métodos

get_right_justified()
  Returns whether the menu item appears justified to the right of its menu bar.
get_submenu()
  Return the submenu attached to the menu item.
remove_submenu()
  Removes the submenu associated with the menu item.
right_justify()
  OBSOLETO Sets the menu item to be right aligned.
set_right_justified()
  Aligns the menu item to the right.
set_submenu()
  Sets the submenu for the menu item.
toggle_size_allocate()
  Emits the toggle-size-allocate signal for the menu item.
set_item_accel_path()
  Sets the accelerator path for the menu item.

Sinais

"activate"
  Emitted when the menu item is activated.
"activate-item"
  Emitted when the menu item is activated and has a submenu.
"toggle-size-allocate"
  Emitted when the size allocation is changed.
"toggle-size-request"
  Emitted when a size change request is made.


Anterior Início Próximo
GtkMenuBar Construtor Acima GtkMenuItem Construtor

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

PHP-GTK Brasil