GObject.Object
GObject.InitiallyUnowned
Gtk.Object
Gtk.Adjustment
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkAdjustment |
Class : | Adjustment |
Extends: | Gtk.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
flags : Number
read only
|
Gtk.Object | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
lower : Number
The minimum value of the adjustment.
The minimum value of the adjustment.
|
Gtk.Adjustment | |
lower : Number
read only
|
Gtk.Adjustment | |
page_increment : Number
The page increment of the adjustment.
The page increment of the adjustment.
|
Gtk.Adjustment | |
page_increment : Number
read only
|
Gtk.Adjustment | |
page_size : Number
The page size of the adjustment.
The page size of the adjustment. Note that the page-size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value, e.g. in a GtkSpinButton.
|
Gtk.Adjustment | |
page_size : Number
read only
|
Gtk.Adjustment | |
parent_instance : Gtk.Object
read only
|
Gtk.Adjustment | |
qdata : GLib.Data
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned | |
step_increment : Number
The step increment of the adjustment.
The step increment of the adjustment.
|
Gtk.Adjustment | |
step_increment : Number
read only
|
Gtk.Adjustment | |
upper : Number
The maximum value of the adjustment.
The maximum value of the adjustment. Note that values will be restricted by
|
Gtk.Adjustment | |
upper : Number
read only
|
Gtk.Adjustment | |
user_data : void*
|
Gtk.Object | |
value : Number
The value of the adjustment.
The value of the adjustment.
|
Gtk.Adjustment | |
value : Number
read only
|
Gtk.Adjustment |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.Adjustment
(Object properties)
Create a new Gtk.Adjustment
Create a new Gtk.Adjustment
|
||
new Gtk.Adjustment.c_new
(Number value, Number lower, Number upper, Number step_increment, Number page_increment, Number page_size)
:
Gtk.Adjustment
Create a new Gtk.Adjustment
|
||
changed
()
:
none
|
Gtk.Adjustment | |
Gtk.Adjustment | ||
configure
(Number value, Number lower, Number upper, Number step_increment, Number page_increment, Number page_size)
:
none
Sets all properties of the adjustment at once.
Sets all properties of the adjustment at once. Use this function to avoid multiple emissions of the "changed" signal. See gtk_adjustment_set_lower() for an alternative way of compressing multiple emissions of "changed" into one.
|
Gtk.Adjustment | |
destroy
()
:
none
|
Gtk.Object | |
Gtk.Object | ||
Gtk.Object | ||
get_lower
()
:
Number
Retrieves the minimum value of the adjustment.
Retrieves the minimum value of the adjustment.
|
Gtk.Adjustment | |
get_page_increment
()
:
Number
Retrieves the page increment of the adjustment.
Retrieves the page increment of the adjustment.
|
Gtk.Adjustment | |
get_page_size
()
:
Number
Retrieves the page size of the adjustment.
Retrieves the page size of the adjustment.
|
Gtk.Adjustment | |
get_step_increment
()
:
Number
Retrieves the step increment of the adjustment.
Retrieves the step increment of the adjustment.
|
Gtk.Adjustment | |
get_upper
()
:
Number
Retrieves the maximum value of the adjustment.
Retrieves the maximum value of the adjustment.
|
Gtk.Adjustment | |
get_user_data
()
:
void*
|
Gtk.Object | |
get_value
()
:
Number
Gets the current value of the adjustment.
Gets the current value of the adjustment. See gtk_adjustment_set_value ().
|
Gtk.Adjustment | |
remove_data
(String key)
:
none
|
Gtk.Object | |
remove_data_by_id
(Number data_id)
:
none
|
Gtk.Object | |
remove_no_notify
(String key)
:
none
|
Gtk.Object | |
remove_no_notify_by_id
(Number key_id)
:
none
|
Gtk.Object | |
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
Gtk.Object | ||
set_lower
(Number lower)
:
none
Sets the minimum value of the adjustment.
Sets the minimum value of the adjustment. When setting multiple adjustment properties via their individual setters, multiple "changed" signals will be emitted. However, since the emission of the "changed" signal is tied to the emission of the "GObject::notify" signals of the changed properties, it's possible to compress the "changed" signals into one by calling g_object_freeze_notify() and g_object_thaw_notify() around the calls to the individual setters. Alternatively, using a single g_object_set() for all the properties to change, or using gtk_adjustment_configure() has the same effect of compressing "changed" emissions.
|
Gtk.Adjustment | |
set_page_increment
(Number page_increment)
:
none
Sets the page increment of the adjustment.
Sets the page increment of the adjustment. See gtk_adjustment_set_lower() about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties.
|
Gtk.Adjustment | |
set_page_size
(Number page_size)
:
none
Sets the page size of the adjustment.
Sets the page size of the adjustment. See gtk_adjustment_set_lower() about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties.
|
Gtk.Adjustment | |
set_step_increment
(Number step_increment)
:
none
Sets the step increment of the adjustment.
Sets the step increment of the adjustment. See gtk_adjustment_set_lower() about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties.
|
Gtk.Adjustment | |
set_upper
(Number upper)
:
none
Sets the maximum value of the adjustment.
Sets the maximum value of the adjustment. Note that values will be restricted by
|
Gtk.Adjustment | |
set_user_data
(void* data)
:
none
|
Gtk.Object | |
set_value
(Number value)
:
none
|
Gtk.Adjustment | |
sink
()
:
none
|
Gtk.Object | |
value_changed
()
:
none
|
Gtk.Adjustment |
Event | Defined By | |
---|---|---|
changed (Adjustment self)
:
none
|
Gtk.Adjustment | |
destroy (Object self)
:
none
|
Gtk.Object | |
value_changed (Adjustment self)
:
none
|
Gtk.Adjustment |
Class / Namespace | Method / Signal / Properties |
---|---|
Gladeui.Placeholder
Signal |
|
GooCanvas.Canvas
Signal |
|
Gtk.CList
Signal |
|
Gtk.CList
Method |
set_hadjustment
(Adjustment adjustment)
:
none
|
Gtk.CList
Method |
set_vadjustment
(Adjustment adjustment)
:
none
|
Gtk.CList
Method |
get_hadjustment
()
:
Gtk.Adjustment
|
Gtk.CList
Method |
get_vadjustment
()
:
Gtk.Adjustment
|
Gtk.CellRendererSpin
Property |
adjustment : Gtk.Adjustment
The adjustment that holds the value of the spinbutton.
|
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.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 |
get_focus_hadjustment
()
:
Gtk.Adjustment
Retrieves the horizontal focus adjustment for the container.
|
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.Entry
Method |
get_cursor_hadjustment
()
:
Gtk.Adjustment
Retrieves the horizontal cursor adjustment for the entry.
|
Gtk.HScale
Method |
Create a new Gtk.HScale
|
Gtk.HScrollbar
Method |
Create a new Gtk.HScrollbar
|
Gtk.IconView
Signal |
|
Gtk.Layout
Property |
hadjustment : Gtk.Adjustment
|
Gtk.Layout
Property |
vadjustment : Gtk.Adjustment
|
Gtk.Layout
Signal |
|
Gtk.Layout
Method |
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.Progress
Method |
set_adjustment
(Adjustment adjustment)
:
none
|
Gtk.ProgressBar
Property |
adjustment : Gtk.Adjustment
|
Gtk.ProgressBar
Method |
Create a new Gtk.ProgressBar
|
Gtk.Range
Property |
adjustment : Gtk.Adjustment
|
Gtk.Range
Method |
set_adjustment
(Adjustment adjustment)
:
none
Sets the adjustment to be used as the "model" object for this range widget.
|
Gtk.Range
Method |
get_adjustment
()
:
Gtk.Adjustment
Get the GtkAdjustment which is the "model" object for GtkRange.
|
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.ScrolledWindow
Property |
hadjustment : Gtk.Adjustment
|
Gtk.ScrolledWindow
Property |
vadjustment : Gtk.Adjustment
|
Gtk.ScrolledWindow
Method |
Create a new Gtk.ScrolledWindow
|
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.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.SpinButton
Property |
adjustment : Gtk.Adjustment
|
Gtk.SpinButton
Method |
Create a new Gtk.SpinButton
|
Gtk.SpinButton
Method |
Changes the properties of an existing spin button.
|
Gtk.SpinButton
Method |
set_adjustment
(Adjustment adjustment)
:
none
Replaces the GtkAdjustment associated with spin_button.
|
Gtk.SpinButton
Method |
get_adjustment
()
:
Gtk.Adjustment
Get the adjustment associated with a GtkSpinButton
|
Gtk.TextView
Signal |
|
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
Signal |
Set the scroll adjustments for the viewport.
|
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
Property |
hadjustment : Gtk.Adjustment
|
Gtk.TreeView
Property |
vadjustment : Gtk.Adjustment
|
Gtk.TreeView
Signal |
|
Gtk.TreeView
Method |
get_hadjustment
()
:
Gtk.Adjustment
Gets the GtkAdjustment currently being used for the horizontal aspect.
|
Gtk.TreeView
Method |
set_hadjustment
(Adjustment adjustment)
:
none
Sets the GtkAdjustment for the current horizontal aspect.
|
Gtk.TreeView
Method |
get_vadjustment
()
:
Gtk.Adjustment
Gets the GtkAdjustment currently being used for the vertical aspect.
|
Gtk.TreeView
Method |
set_vadjustment
(Adjustment adjustment)
:
none
Sets the GtkAdjustment for the current vertical aspect.
|
Gtk.VScale
Method |
Create a new Gtk.VScale
|
Gtk.VScrollbar
Method |
Create a new Gtk.VScrollbar
|
Gtk.Viewport
Property |
hadjustment : Gtk.Adjustment
|
Gtk.Viewport
Property |
vadjustment : Gtk.Adjustment
|
Gtk.Viewport
Signal |
|
Gtk.Viewport
Method |
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.
|
Gtk.Widget
Method |
For widgets that support scrolling, sets the scroll adjustments and returns TRUE.
|
GtkClutter.Scrollable
Property |
hadjustment : Gtk.Adjustment
The GtkAdjustment that determines the value of the horizontal position for this scrollable actor.
|
GtkClutter.Scrollable
Property |
vadjustment : Gtk.Adjustment
The GtkAdjustment that determines the value of the vertical position for this scrollable actor.
|
GtkClutter.Scrollable
Method |
set_adjustments
(Adjustment h_adjust, Adjustment v_adjust)
:
none
Sets the horizontal and vertical adjustments used to determine the position of the scrollable actor.
|
GtkClutter.Scrollable
Method |
get_adjustments
(Adjustment h_adjust, Adjustment v_adjust)
:
none
Retrieves the horizontal and vertical adjustments used to determine the position of the scrollable actor.
|
GtkClutter.Viewport
Method |
new GtkClutter.Viewport.c_new
(Adjustment h_adjust, Adjustment v_adjust, Adjustment z_adjust)
:
GtkClutter.Viewport
Create a new GtkClutter.Viewport
|
GtkClutter.Zoomable
Property |
zadjustment : Gtk.Adjustment
The GtkAdjustment that determines the value of the zoom factor for this zoomable actor
|
GtkClutter.Zoomable
Method |
set_adjustment
(Adjustment z_adjust)
:
none
Sets the adjustment used to determine the zoom factor of the zoomable actor
|
GtkClutter.Zoomable
Method |
get_adjustment
()
:
Gtk.Adjustment
Retrieves the adjustment used to determine the zoom factor of the zoomable actor
|
Vte.Terminal
Signal |
|
Vte.Terminal
Method |
get_adjustment
()
:
Gtk.Adjustment
|
WebKit.WebView
Signal |
|