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

GtkViewport
Classes GTK
Anterior GtkViewport Próximo

GtkViewport

A container for adding scrolling capabilities to widgets without native scrolling support.

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkViewport

Descrição

A GtkViewport provides scrolling capabilities to widgets that don't support native scrolling. E.g., a GtkLabel or a GtkVBox could be packed into a GtkScrolledWindow, but since the classes don't support the "set-scroll-adjustments" signal, using the scrollbars wouldn't work.

A viewport also takes care to show only a certain part of the widget, hiding the rest of it that is not in the visible area.

Construtores

GtkViewport ([GtkAdjustment hadjustment = null [, GtkAdjustment vadjustment = null]]);

-- Creates a new viewport.

Métodos

get_hadjustment()
  Returns the horizontal adjustment.
get_shadow_type()
  Returns the shadow type.
get_vadjustment()
  Returns the vertical adjustment.
set_hadjustment()
  Sets the horizontal adjustment.
set_shadow_type()
  Sets the shadow type.
set_vadjustment()
  Sets the vertical adjustment.

Propriedades

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

hadjustment:
  Horizontal adjustment.
shadow-type:
  Shadow type.
vadjustment:
  Vertical adjustment

Sinais

"set-scroll-adjustments"
  One or both adjustments are changed.


Anterior Início Próximo
GtkVButtonBox::set_spacing_default Acima GtkViewport 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