![]() |
![]() |
![]() |
Shell Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
ShellXFixesCursor * shell_xfixes_cursor_get_for_stage (ClutterStage *stage
); void shell_xfixes_cursor_show (ShellXFixesCursor *xfixes_cursor
); void shell_xfixes_cursor_hide (ShellXFixesCursor *xfixes_cursor
); int shell_xfixes_cursor_get_hot_x (ShellXFixesCursor *xfixes_cursor
); int shell_xfixes_cursor_get_hot_y (ShellXFixesCursor *xfixes_cursor
); void shell_xfixes_cursor_update_texture_image (ShellXFixesCursor *xfixes_cursor
,ClutterTexture *texture
); ShellXFixesCursorClass; ShellXFixesCursor;
The ShellXFixesCursor object uses the XFixes extension to show/hide the the system mouse pointer, to grab its image as it changes, and emit a notification when its image changes.
ShellXFixesCursor * shell_xfixes_cursor_get_for_stage (ClutterStage *stage
);
|
The ClutterStage to get the cursor for. [transfer none] |
Returns : |
A ShellXFixesCursor instance. [transfer none] |
void shell_xfixes_cursor_show (ShellXFixesCursor *xfixes_cursor
);
Show the system mouse cursor to show
|
the ShellXFixesCursor |
void shell_xfixes_cursor_hide (ShellXFixesCursor *xfixes_cursor
);
Hide the system mouse cursor.
|
the ShellXFixesCursor |
int shell_xfixes_cursor_get_hot_x (ShellXFixesCursor *xfixes_cursor
);
|
the ShellXFixesCursor |
Returns : |
the current mouse cursor's hot x-coordinate. |
int shell_xfixes_cursor_get_hot_y (ShellXFixesCursor *xfixes_cursor
);
|
the ShellXFixesCursor |
Returns : |
the current mouse cursor's hot y-coordinate. |
void shell_xfixes_cursor_update_texture_image (ShellXFixesCursor *xfixes_cursor
,ClutterTexture *texture
);
|
the ShellXFixesCursor |
|
ClutterTexture to update with the current sprite image. |
"cursor-change"
signalvoid user_function (ShellXFixesCursor *shellxfixescursor,
gpointer user_data) : Run Last