![]() |
![]() |
![]() |
Clutter-Gtk 0.10.6 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 . [allow-none]
|
|
a GtkAdjustment, or NULL . [allow-none]
|
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 . [out]
|
|
return location for a GtkAdjustment, or NULL . [out]
|
Since 0.10