Update docs
@ -134,7 +134,42 @@ HTML_IMAGES = \
|
|||||||
images/umbrella.png \
|
images/umbrella.png \
|
||||||
images/ur_angle.png \
|
images/ur_angle.png \
|
||||||
images/watch.png \
|
images/watch.png \
|
||||||
images/xterm.png
|
images/xterm.png \
|
||||||
|
images/alias_cursor.png \
|
||||||
|
images/all_scroll_cursor.png \
|
||||||
|
images/cell_cursor.png \
|
||||||
|
images/col_resize_cursor.png \
|
||||||
|
images/copy_cursor.png \
|
||||||
|
images/crosshair_cursor.png \
|
||||||
|
images/default_cursor.png \
|
||||||
|
images/e_resize_cursor.png \
|
||||||
|
images/ew_resize_cursor.png \
|
||||||
|
images/grabbing_cursor.png \
|
||||||
|
images/grab_cursor.png \
|
||||||
|
images/hand_cursor.png \
|
||||||
|
images/help_cursor.png \
|
||||||
|
images/move_cursor.png \
|
||||||
|
images/ne_resize_cursor.png \
|
||||||
|
images/nesw_resize_cursor.png \
|
||||||
|
images/no_drop_cursor.png \
|
||||||
|
images/not_allowed_cursor.png \
|
||||||
|
images/n_resize_cursor.png \
|
||||||
|
images/ns_resize_cursor.png \
|
||||||
|
images/nw_resize_cursor.png \
|
||||||
|
images/nwse_resize_cursor.png \
|
||||||
|
images/pointer_cursor.png \
|
||||||
|
images/progress_cursor.png \
|
||||||
|
images/row_resize_cursor.png \
|
||||||
|
images/se_resize_cursor.png \
|
||||||
|
images/s_resize_cursor.png \
|
||||||
|
images/sw_resize_cursor.png \
|
||||||
|
images/text_cursor.png \
|
||||||
|
images/vertical_text_cursor.png \
|
||||||
|
images/wait_cursor.png \
|
||||||
|
images/w_resize_cursor.png \
|
||||||
|
images/X_cursor.png \
|
||||||
|
images/zoom_in_cursor.png \
|
||||||
|
images/zoom_out_cursor.png
|
||||||
|
|
||||||
if ENABLE_DOC_CROSS_REFERENCES
|
if ENABLE_DOC_CROSS_REFERENCES
|
||||||
# Extra options to supply to gtkdoc-fixref
|
# Extra options to supply to gtkdoc-fixref
|
||||||
|
BIN
docs/reference/gdk/images/alias_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/all_scroll_cursor.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
docs/reference/gdk/images/cell_cursor.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
docs/reference/gdk/images/col_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/copy_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/crosshair_cursor.png
Normal file
After Width: | Height: | Size: 985 B |
BIN
docs/reference/gdk/images/default_cursor.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/reference/gdk/images/e_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/ew_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/grab_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/grabbing_cursor.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/reference/gdk/images/hand_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/help_cursor.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/reference/gdk/images/move_cursor.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/reference/gdk/images/n_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/ne_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/nesw_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/reference/gdk/images/no_drop_cursor.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
docs/reference/gdk/images/not_allowed_cursor.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
docs/reference/gdk/images/ns_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/nw_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/reference/gdk/images/nwse_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/reference/gdk/images/pointer_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/progress_cursor.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
docs/reference/gdk/images/row_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/reference/gdk/images/s_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/reference/gdk/images/se_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/sw_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/text_cursor.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
docs/reference/gdk/images/vertical_text_cursor.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
docs/reference/gdk/images/w_resize_cursor.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/reference/gdk/images/wait_cursor.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
docs/reference/gdk/images/zoom_in_cursor.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
docs/reference/gdk/images/zoom_out_cursor.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
@ -225,6 +225,7 @@ gdk_cursor_get_cursor_type (GdkCursor *cursor)
|
|||||||
* @cursor_type: cursor to create
|
* @cursor_type: cursor to create
|
||||||
*
|
*
|
||||||
* Creates a new cursor from the set of builtin cursors.
|
* Creates a new cursor from the set of builtin cursors.
|
||||||
|
*
|
||||||
* Some useful ones are:
|
* Some useful ones are:
|
||||||
* -  #GDK_RIGHT_PTR (right-facing arrow)
|
* -  #GDK_RIGHT_PTR (right-facing arrow)
|
||||||
* -  #GDK_CROSSHAIR (crosshair)
|
* -  #GDK_CROSSHAIR (crosshair)
|
||||||
@ -266,6 +267,44 @@ gdk_cursor_new_for_display (GdkDisplay *display,
|
|||||||
* Creates a new cursor by looking up @name in the current cursor
|
* Creates a new cursor by looking up @name in the current cursor
|
||||||
* theme.
|
* theme.
|
||||||
*
|
*
|
||||||
|
* A recommended set of cursor names that will work across different
|
||||||
|
* platforms can be found in the CSS specification:
|
||||||
|
* - "none"
|
||||||
|
* -  "default"
|
||||||
|
* -  "help"
|
||||||
|
* -  "pointer"
|
||||||
|
* -  "progress"
|
||||||
|
* -  "wait"
|
||||||
|
* -  "cell"
|
||||||
|
* -  "crosshair"
|
||||||
|
* -  "text"
|
||||||
|
* -  "vertical-text"
|
||||||
|
* -  "alias"
|
||||||
|
* -  "copy"
|
||||||
|
* -  "move"
|
||||||
|
* -  "no-drop"
|
||||||
|
* -  "not-allowed"
|
||||||
|
* -  "grab"
|
||||||
|
* -  "grabbing"
|
||||||
|
* -  "all-scroll"
|
||||||
|
* -  "col-resize"
|
||||||
|
* -  "row-resize"
|
||||||
|
* -  "n-resize"
|
||||||
|
* -  "e-resize"
|
||||||
|
* -  "s-resize"
|
||||||
|
* -  "w-resize"
|
||||||
|
* -  "ne-resize"
|
||||||
|
* -  "nw-resize"
|
||||||
|
* -  "sw-resize"
|
||||||
|
* -  "se-resize"
|
||||||
|
* -  "ew-resize"
|
||||||
|
* -  "ns-resize"
|
||||||
|
* -  "nesw-resize"
|
||||||
|
* -  "nwse-resize"
|
||||||
|
* -  "zoom-in"
|
||||||
|
* -  "zoom-out"
|
||||||
|
*
|
||||||
|
*
|
||||||
* Returns: (nullable): a new #GdkCursor, or %NULL if there is no
|
* Returns: (nullable): a new #GdkCursor, or %NULL if there is no
|
||||||
* cursor with the given name
|
* cursor with the given name
|
||||||
*
|
*
|
||||||
|
@ -124,7 +124,12 @@ G_BEGIN_DECLS
|
|||||||
* @GDK_CURSOR_IS_PIXMAP: type of cursors constructed with
|
* @GDK_CURSOR_IS_PIXMAP: type of cursors constructed with
|
||||||
* gdk_cursor_new_from_pixbuf()
|
* gdk_cursor_new_from_pixbuf()
|
||||||
*
|
*
|
||||||
* The standard cursors available.
|
* Predefined cursors.
|
||||||
|
*
|
||||||
|
* Note that these IDs are directly taken from the X cursor font, and many
|
||||||
|
* of these cursors are either not useful, or are not available on other platforms.
|
||||||
|
*
|
||||||
|
* The recommended way to create cursors is to use gdk_cursor_new_from_name().
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|