Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.Adjustment

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkAdjustment
Class : Adjustment
Extends: GObject.InitiallyUnowned
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
gtk_adjustment_value_changed() and gtk_adjustment_changed() functions
after changing the value and its bounds. This results in the emission of the
GtkAdjustment::value_changed or GtkAdjustment::changed signal respectively.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.CellRendererSpin
Property
adjustment : Gtk.Adjustment
The adjustment that holds the value of the spinbutton.
Gtk.Container
Method
get_focus_hadjustment () : Gtk.Adjustment
Retrieves the horizontal focus adjustment for the container.
Gtk.Container
Method
get_focus_vadjustment () : Gtk.Adjustment
Retrieves the vertical focus adjustment for the container.
Gtk.Container
Method
set_focus_hadjustment (Adjustment adjustment) : none
Hooks up an adjustment to focus handling in a container, so when a child
of the container is focused, the adjustment is scrolled to show that
widget.
Gtk.Container
Method
set_focus_vadjustment (Adjustment adjustment) : none
Hooks up an adjustment to focus handling in a container, so when a
child of the container is focused, the adjustment is scrolled to
show that widget.
Gtk.Entry
Method
get_cursor_hadjustment () : Gtk.Adjustment
Retrieves the horizontal cursor adjustment for the entry.
Gtk.Entry
Method
set_cursor_hadjustment (Adjustment adjustment) : none
Hooks up an adjustment to the cursor position in an entry, so that when
the cursor is moved, the adjustment is scrolled to show that position.
Gtk.HScale
Method
new Gtk.HScale.c_new (Adjustment adjustment) : Gtk.Widget
Create a new Gtk.HScale
Gtk.HScrollbar
Method
new Gtk.HScrollbar.c_new (Adjustment adjustment) : Gtk.Widget
Create a new Gtk.HScrollbar
Gtk.Layout
Method
new Gtk.Layout.c_new (Adjustment hadjustment, Adjustment vadjustment) : Gtk.Widget
Create a new Gtk.Layout
Gtk.Layout
Method
get_hadjustment () : Gtk.Adjustment
This function should only be called after the layout has been
placed in a GtkScrolledWindow or otherwise configured for
scrolling.
Gtk.Layout
Method
get_vadjustment () : Gtk.Adjustment
This function should only be called after the layout has been
placed in a GtkScrolledWindow or otherwise configured for
scrolling.
Gtk.Layout
Method
set_hadjustment (Adjustment adjustment) : none
Sets the horizontal scroll adjustment for the layout.
Gtk.Layout
Method
set_vadjustment (Adjustment adjustment) : none
Sets the vertical scroll adjustment for the layout.
Gtk.Range
Property
adjustment : Gtk.Adjustment
Gtk.Range
Method
get_adjustment () : Gtk.Adjustment
Get the GtkAdjustment which is the "model" object for GtkRange.
Gtk.Range
Method
set_adjustment (Adjustment adjustment) : none
Sets the adjustment to be used as the "model" object for this range
widget.
Gtk.Scale
Method
new Gtk.Scale.c_new (Orientation orientation, Adjustment adjustment) : Gtk.Widget
Create a new Gtk.Scale
Gtk.ScaleButton
Property
adjustment : Gtk.Adjustment
Gtk.ScaleButton
Method
get_adjustment () : Gtk.Adjustment
Gets the GtkAdjustment associated with the GtkScaleButton's scale.
Gtk.ScaleButton
Method
set_adjustment (Adjustment adjustment) : none
Sets the GtkAdjustment to be used as a model
for the GtkScaleButton's scale.
Gtk.Scrollable
Property
hadjustment : Gtk.Adjustment
Horizontal GtkAdjustment of the scrollable widget.
Gtk.Scrollable
Property
vadjustment : Gtk.Adjustment
Verical GtkAdjustment of the scrollable widget.
Gtk.Scrollable
Method
get_hadjustment () : Gtk.Adjustment
Retrieves the GtkAdjustment used for horizontal scrolling.
Gtk.Scrollable
Method
get_vadjustment () : Gtk.Adjustment
Retrieves the GtkAdjustment used for vertical scrolling.
Gtk.Scrollable
Method
set_hadjustment (Adjustment hadjustment) : none
Sets the horizontal adjustment of the GtkScrollable.
Gtk.Scrollable
Method
set_vadjustment (Adjustment vadjustment) : none
Sets the vertical adjustment of the GtkScrollable.
Gtk.Scrollbar
Method
new Gtk.Scrollbar.c_new (Orientation orientation, Adjustment adjustment) : Gtk.Widget
Create a new Gtk.Scrollbar
Gtk.ScrolledWindow
Property
hadjustment : Gtk.Adjustment
Gtk.ScrolledWindow
Property
vadjustment : Gtk.Adjustment
Gtk.ScrolledWindow
Method
new Gtk.ScrolledWindow.c_new (Adjustment hadjustment, Adjustment vadjustment) : Gtk.Widget
Create a new Gtk.ScrolledWindow
Gtk.ScrolledWindow
Method
get_hadjustment () : Gtk.Adjustment
Returns the horizontal scrollbar's adjustment, used to connect the
horizontal scrollbar to the child widget's horizontal scroll
functionality.
Gtk.ScrolledWindow
Method
get_vadjustment () : Gtk.Adjustment
Returns the vertical scrollbar's adjustment, used to connect the
vertical scrollbar to the child widget's vertical scroll functionality.
Gtk.ScrolledWindow
Method
set_hadjustment (Adjustment hadjustment) : none
Sets the GtkAdjustment for the horizontal scrollbar.
Gtk.ScrolledWindow
Method
set_vadjustment (Adjustment vadjustment) : none
Sets the GtkAdjustment for the vertical scrollbar.
Gtk.SpinButton
Property
adjustment : Gtk.Adjustment
Gtk.SpinButton
Method
new Gtk.SpinButton.c_new (Adjustment adjustment, gdouble climb_rate, guint32 digits) : Gtk.Widget
Create a new Gtk.SpinButton
Gtk.SpinButton
Method
configure (Adjustment adjustment, gdouble climb_rate, guint32 digits) : none
Changes the properties of an existing spin button.
Gtk.SpinButton
Method
get_adjustment () : Gtk.Adjustment
Get the adjustment associated with a GtkSpinButton
Gtk.SpinButton
Method
set_adjustment (Adjustment adjustment) : none
Replaces the GtkAdjustment associated with spin_button.
Gtk.TextView
Method
get_hadjustment () : Gtk.Adjustment
Gets the horizontal-scrolling GtkAdjustment.
Gtk.TextView
Method
get_vadjustment () : Gtk.Adjustment
Gets the vertical-scrolling GtkAdjustment.
Gtk.ToolPalette
Method
get_hadjustment () : Gtk.Adjustment
Gets the horizontal adjustment of the tool palette.
Gtk.ToolPalette
Method
get_vadjustment () : Gtk.Adjustment
Gets the vertical adjustment of the tool palette.
Gtk.TreeView
Method
get_hadjustment () : Gtk.Adjustment
Gets the GtkAdjustment currently being used for the horizontal aspect.
Gtk.TreeView
Method
get_vadjustment () : Gtk.Adjustment
Gets the GtkAdjustment currently being used for the vertical aspect.
Gtk.TreeView
Method
set_hadjustment (Adjustment adjustment) : none
Sets the GtkAdjustment for the current horizontal aspect.
Gtk.TreeView
Method
set_vadjustment (Adjustment adjustment) : none
Sets the GtkAdjustment for the current vertical aspect.
Gtk.VScale
Method
new Gtk.VScale.c_new (Adjustment adjustment) : Gtk.Widget
Create a new Gtk.VScale
Gtk.VScrollbar
Method
new Gtk.VScrollbar.c_new (Adjustment adjustment) : Gtk.Widget
Create a new Gtk.VScrollbar
Gtk.Viewport
Method
new Gtk.Viewport.c_new (Adjustment hadjustment, Adjustment vadjustment) : Gtk.Widget
Create a new Gtk.Viewport
Gtk.Viewport
Method
get_hadjustment () : Gtk.Adjustment
Returns the horizontal adjustment of the viewport.
Gtk.Viewport
Method
get_vadjustment () : Gtk.Adjustment
Returns the vertical adjustment of the viewport.
Gtk.Viewport
Method
set_hadjustment (Adjustment adjustment) : none
Sets the horizontal adjustment of the viewport.
Gtk.Viewport
Method
set_vadjustment (Adjustment adjustment) : none
Sets the vertical adjustment of the viewport.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:56 GMT+0800 (HKT)