Description Usage Arguments Details Value Author(s)
Creates a new cursor from a pixbuf.
1 | gdkCursorNewFromPixbuf(display, source, x, y)
|
|
the |
|
the |
|
the horizontal offset of the 'hotspot' of the cursor. |
|
the vertical offset of the 'hotspot' of the cursor. |
Not all GDK backends support RGBA cursors. If they are not
supported, a monochrome approximation will be displayed.
The functions gdkDisplaySupportsCursorAlpha
and
gdkDisplaySupportsCursorColor
can be used to determine
whether RGBA cursors are supported;
gdkDisplayGetDefaultCursorSize
and
gdkDisplayGetMaximalCursorSize
give information about
cursor sizes.
On the X backend, support for RGBA cursors requires a sufficently new version of the X Render extension. Since 2.4
[GdkCursor
] a new GdkCursor
.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.