Adjustment
Object Hierarchy:
Description:
[ CCode ( type_id = "mx_adjustment_get_type ()" ) ]
public class Adjustment : Object
Class for handling an interval between to values.
The contents of the Adjustment are private and should be accessed using the public API.
Content:
Properties:
- public bool clamp_value { get; set; }
- public bool elastic { get; set; }
- public double lower { get; set construct; }
- public double page_increment { get; set construct; }
- public double page_size { get; set construct; }
- public double step_increment { get; set construct; }
- public double upper { get; set construct; }
- public double value { get; set construct; }
Creation methods:
Methods:
- public bool get_clamp_value ()
- public bool get_elastic ()
Get the value of the
elastic property.
- public double get_lower ()
Get the value of the
lower property.
- public double get_page_increment ()
Get the value of the MxAdjustment:page-increment property.
- public double get_page_size ()
- public double get_step_increment ()
Get the value of the MxAdjustment:step-increment property.
- public double get_upper ()
Get the value of the
upper property.
- public double get_value ()
Get the current value of the
value property
- public void get_values (out double value, out double lower, out double upper, out double step_increment, out double page_increment, out double page_size)
Get the various properties of MxAdjustment.
- public void interpolate (double value, uint duration, ulong mode)
Interpolate value
to the new value specified by value
, using the mode and duration given.
- public void interpolate_relative (double offset, uint duration, ulong mode)
Interpolate the value of
value to a new value calculated from offset
.
- public void set_clamp_value (bool clamp)
- public void set_elastic (bool elastic)
Set the value of the
elastic property.
- public void set_lower (double lower)
Set the value of the
lower property.
- public void set_page_increment (double increment)
- public void set_page_size (double page_size)
- public void set_step_increment (double increment)
- public void set_upper (double upper)
Set the value of the
upper property.
- public void set_value (double value)
Set the value of the
value property.
- public void set_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size)
Set the various properties of MxAdjustment.
Signals:
- public virtual signal void changed ()
Emitted when any of the adjustment values have changed at the next
iteration of the GLib mainloop.
- public virtual signal void changed_immediate ()
Emitted when any of the adjustment values have changed
- public virtual signal void interpolation_completed ()
Emitted when the animation started by mx_adjustment_interpolate
completes
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref