SpiceClientGLib.CursorChannel¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
Last cursor shape received from the server |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class SpiceClientGLib.CursorChannel(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
SpiceClientGLib.CursorChannelstruct is opaque and should not be accessed directly.- do_cursor_hide() virtual¶
Signal class handler for the
SpiceClientGLib.CursorChannel::cursor-hidesignal.
- do_cursor_move(x, y) virtual¶
-
Signal class handler for the
SpiceClientGLib.CursorChannel::cursor-movesignal.
- do_cursor_reset() virtual¶
Signal class handler for the
SpiceClientGLib.CursorChannel::cursor-resetsignal.
- do_cursor_set(width, height, hot_x, hot_y, rgba) virtual¶
-
Signal class handler for the
SpiceClientGLib.CursorChannel::cursor-setsignal.
Signal Details¶
- SpiceClientGLib.CursorChannel.signals.cursor_hide(cursor_channel)¶
- Signal Name:
cursor-hide- Flags:
- Parameters:
cursor_channel (
SpiceClientGLib.CursorChannel) – The object which received the signal
The
SpiceClientGLib.CursorChannel::cursor-hidesignal is emitted to hide the cursor/pointer on the display area.
- SpiceClientGLib.CursorChannel.signals.cursor_move(cursor_channel, x, y)¶
- Signal Name:
cursor-move- Flags:
- Parameters:
cursor_channel (
SpiceClientGLib.CursorChannel) – The object which received the signalx (
int) – x positiony (
int) – y position
The
SpiceClientGLib.CursorChannel::cursor-movesignal is emitted to update the cursor position on the display area.
- SpiceClientGLib.CursorChannel.signals.cursor_reset(cursor_channel)¶
- Signal Name:
cursor-reset- Flags:
- Parameters:
cursor_channel (
SpiceClientGLib.CursorChannel) – The object which received the signal
The
SpiceClientGLib.CursorChannel::cursor-resetsignal is emitted to reset the cursor to its default context.
- SpiceClientGLib.CursorChannel.signals.cursor_set(cursor_channel, width, height, hot_x, hot_y, rgba)¶
- Signal Name:
cursor-set- Flags:
- Parameters:
cursor_channel (
SpiceClientGLib.CursorChannel) – The object which received the signalwidth (
int) – width of the shapeheight (
int) – height of the shapehot_x (
int) – horizontal offset of the ‘hotspot’ of the cursorhot_y (
int) – vertical offset of the ‘hotspot’ of the cursorrgba (
objectorNone) – 32bits shape data, orNoneif default cursor. It might be freed after the signal is emitted, so make sure to copy it if you need it later!
The
SpiceClientGLib.CursorChannel::cursor-setsignal is emitted to modify cursor aspect and position on the display area.Deprecated since version 0.34: Use
SpiceClientGLib.CursorChannel:cursornotify instead.
Property Details¶
- SpiceClientGLib.CursorChannel.props.cursor¶
- Name:
cursor- Type:
- Default Value:
- Flags:
The last
SpiceClientGLib.CursorShapereceived.New in version 0.34.