Constructor
Gdk.Cursor.new_from_name
Declaration [src]
GdkCursor*
gdk_cursor_new_from_name (
const char* name,
GdkCursor* fallback
)
Description [src]
Creates a new cursor by looking up name
in the current cursor theme.
A recommended set of cursor names that will work across different platforms can be found in the CSS specification:
“none” | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Parameters
name |
const char* |
the name of the cursor |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
fallback |
GdkCursor |
|
|
Can be NULL | |
Ownership is not transferred to the callee |
Return value
Returns: GdkCursor |
|
a new |
|
Ownership of the data is transferred to the caller | |
Can be NULL |