![]() |
![]() |
![]() |
Clutter-Gtk 0.10.2 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations | Properties |
GtkClutterScrollable; GtkClutterScrollableIface; void gtk_clutter_scrollable_set_adjustments (GtkClutterScrollable *scrollable, GtkAdjustment *h_adjust, GtkAdjustment *v_adjust); void gtk_clutter_scrollable_get_adjustments (GtkClutterScrollable *scrollable, GtkAdjustment **h_adjust, GtkAdjustment **v_adjust);
"hadjustment" GtkAdjustment* : Read / Write / Construct "vadjustment" GtkAdjustment* : Read / Write / Construct
GtkClutterScrollable is an interface for scrollable actors, reusing the GtkAdjustment objects from GTK+ do drive the scrolling.
GtkClutterScrollable is available since Clutter-GTK 0.10
typedef struct { void (* set_adjustments) (GtkClutterScrollable *scrollable, GtkAdjustment *h_adjust, GtkAdjustment *v_adjust); void (* get_adjustments) (GtkClutterScrollable *scrollable, GtkAdjustment **h_adjust, GtkAdjustment **v_adjust); } GtkClutterScrollableIface;
The GtkClutterScrollableIface structure contains only private data and should be accessed using the provided functions.
|
virtual function for setting the horizontal and vertical adjustments of a GtkClutterScrollable |
|
virtual function for retrieving the horizontal and vertical adjustments of a GtkClutterScrollable |
Since 0.10
void gtk_clutter_scrollable_set_adjustments (GtkClutterScrollable *scrollable, GtkAdjustment *h_adjust, GtkAdjustment *v_adjust);
Sets the horizontal and vertical adjustments used to determine the position of the scrollable actor.
|
a GtkClutterScrollable |
|
a GtkAdjustment, or NULL
|
|
a GtkAdjustment, or NULL
|
Since 0.10
void gtk_clutter_scrollable_get_adjustments (GtkClutterScrollable *scrollable, GtkAdjustment **h_adjust, GtkAdjustment **v_adjust);
Retrieves the horizontal and vertical adjustments used to determine the position of the scrollable actor.
|
a GtkClutterScrollable |
|
return location for a GtkAdjustment, or NULL
|
|
return location for a GtkAdjustment, or NULL
|
Since 0.10
"hadjustment"
property"hadjustment" GtkAdjustment* : Read / Write / Construct
The GtkAdjustment that determines the value of the horizontal position for this scrollable actor.
Since 0.10
"vadjustment"
property"vadjustment" GtkAdjustment* : Read / Write / Construct
The GtkAdjustment that determines the value of the vertical position for this scrollable actor.
Since 0.10