| crcanvas: A GTK/Cairo Canvas Widget | ||||
|---|---|---|---|---|
CrRotatorCrRotator — A object for setting up mouse rotation on a CrCanvas widget. |
CrRotator;
CrRotator* cr_rotator_new (CrCanvas *canvas,
const gchar *first_arg_name,
...);
void cr_rotator_activate (CrRotator *panner);
void cr_rotator_deactivate (CrRotator *rotator);
"active" gboolean : Read / Write "canvas" CrCanvas* : Read / Write "cursor" gint : Read / Write
CrRotator* cr_rotator_new (CrCanvas *canvas, const gchar *first_arg_name, ...);
A factory method to create a new CrRotator and connect it to a canvas in one step.
|
The canvas device that this panner will be used with. |
|
A list of object argument name/value pairs, NULL-terminated, used to configure the item. |
|
|
Returns : |
The newly created CrRotator object. Unlike with the constructors for CrItem implementations, you own the returned reference. You should call g_object_unref when you are finished with this object. |