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.CursorChannel
struct is opaque and should not be accessed directly.- do_cursor_hide() virtual¶
- do_cursor_reset() virtual¶
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-hide
signal 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-move
signal 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-reset
signal 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 (
object
orNone
) – 32bits shape data, orNone
if 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-set
signal is emitted to modify cursor aspect and position on the display area.Deprecated since version 0.34: Use
SpiceClientGLib.CursorChannel
:cursor
notify instead.
Property Details¶
- SpiceClientGLib.CursorChannel.props.cursor¶
- Name:
cursor
- Type:
- Default Value:
- Flags:
The last
SpiceClientGLib.CursorShape
received.New in version 0.34.