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

GtkAdjustment
Classes GTK
Anterior GtkAdjustment Próximo

GtkAdjustment

A GtkObject representing an adjustable bounded value

Hierarquia de Objetos

GObject
`-- GtkObject
       `-- GtkAdjustment

Descrição

The GtkAdjustment object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used within several GTK+ widgets, including GtkSpinButton, GtkViewport, and GtkRange (which is a base class for GtkHScrollbar, GtkVScrollbar, GtkHScale, and GtkVScale).

The GtkAdjustment object does not update the value itself. Instead it is left up to the owner of the GtkAdjustment to control the value.

The owner of the GtkAdjustment typically calls the value_changed() and changed() functions after changing the value and its bounds. This results in the emission of the "value-changed" or "changed" signal respectively.

Construtores

GtkAdjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);

-- Creates a new GtkAdjustment.

Métodos

changed()
  Emits a "changed" signal.
clamp_page()
  Ensure that the value is in a certain range.
get_value()
  Gets the current value of the adjustment.
set_value()
  Set the value.
value_changed()
  Emits a "value-changed" signal.

Campos

lower:
  The minimum value of the adjustment.
page_increment:
  The page increment of the adjustment.
page_size:
  The page size of the adjustment.
step_increment:
  The step increment of the adjustment.
upper:
  The maximum value of the adjustment.
value:
  The value of the adjustment.

Sinais

"changed"
  One or more fields have changed.
"value-changed"
  The value field has been changed.


Anterior Início Próximo
pre-activate Acima GtkAdjustment 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