mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
cursor: Use a table for cursor names
This gets all the names into view at the same time.
This commit is contained in:
parent
5d68a23b55
commit
47c1b50eba
@ -307,42 +307,17 @@ gdk_cursor_equal (gconstpointer a,
|
||||
* A recommended set of cursor names that will work across different
|
||||
* platforms can be found in the CSS specification:
|
||||
*
|
||||
* - "none"
|
||||
* - ![](default_cursor.png) "default"
|
||||
* - ![](help_cursor.png) "help"
|
||||
* - ![](pointer_cursor.png) "pointer"
|
||||
* - ![](context_menu_cursor.png) "context-menu"
|
||||
* - ![](progress_cursor.png) "progress"
|
||||
* - ![](wait_cursor.png) "wait"
|
||||
* - ![](cell_cursor.png) "cell"
|
||||
* - ![](crosshair_cursor.png) "crosshair"
|
||||
* - ![](text_cursor.png) "text"
|
||||
* - ![](vertical_text_cursor.png) "vertical-text"
|
||||
* - ![](alias_cursor.png) "alias"
|
||||
* - ![](copy_cursor.png) "copy"
|
||||
* - ![](no_drop_cursor.png) "no-drop"
|
||||
* - ![](move_cursor.png) "move"
|
||||
* - ![](not_allowed_cursor.png) "not-allowed"
|
||||
* - ![](grab_cursor.png) "grab"
|
||||
* - ![](grabbing_cursor.png) "grabbing"
|
||||
* - ![](all_scroll_cursor.png) "all-scroll"
|
||||
* - ![](col_resize_cursor.png) "col-resize"
|
||||
* - ![](row_resize_cursor.png) "row-resize"
|
||||
* - ![](n_resize_cursor.png) "n-resize"
|
||||
* - ![](e_resize_cursor.png) "e-resize"
|
||||
* - ![](s_resize_cursor.png) "s-resize"
|
||||
* - ![](w_resize_cursor.png) "w-resize"
|
||||
* - ![](ne_resize_cursor.png) "ne-resize"
|
||||
* - ![](nw_resize_cursor.png) "nw-resize"
|
||||
* - ![](sw_resize_cursor.png) "sw-resize"
|
||||
* - ![](se_resize_cursor.png) "se-resize"
|
||||
* - ![](ew_resize_cursor.png) "ew-resize"
|
||||
* - ![](ns_resize_cursor.png) "ns-resize"
|
||||
* - ![](nesw_resize_cursor.png) "nesw-resize"
|
||||
* - ![](nwse_resize_cursor.png) "nwse-resize"
|
||||
* - ![](zoom_in_cursor.png) "zoom-in"
|
||||
* - ![](zoom_out_cursor.png) "zoom-out"
|
||||
*
|
||||
* | | | | |
|
||||
* | --- | --- | ---- | --- |
|
||||
* | "none" | ![](default_cursor.png) "default" | ![](help_cursor.png) "help" | ![](pointer_cursor.png) "pointer" |
|
||||
* | ![](context_menu_cursor.png) "context-menu" | ![](progress_cursor.png) "progress" | ![](wait_cursor.png) "wait" | ![](cell_cursor.png) "cell" |
|
||||
* | ![](crosshair_cursor.png) "crosshair" | ![](text_cursor.png) "text" | ![](vertical_text_cursor.png) "vertical-text" | ![](alias_cursor.png) "alias" |
|
||||
* | ![](copy_cursor.png) "copy" | ![](no_drop_cursor.png) "no-drop" | ![](move_cursor.png) "move" | ![](not_allowed_cursor.png) "not-allowed" |
|
||||
* | ![](grab_cursor.png) "grab" | ![](grabbing_cursor.png) "grabbing" | ![](all_scroll_cursor.png) "all-scroll" | ![](col_resize_cursor.png) "col-resize" |
|
||||
* | ![](row_resize_cursor.png) "row-resize" | ![](n_resize_cursor.png) "n-resize" | ![](e_resize_cursor.png) "e-resize" | ![](s_resize_cursor.png) "s-resize" |
|
||||
* | ![](w_resize_cursor.png) "w-resize" | ![](ne_resize_cursor.png) "ne-resize" | ![](nw_resize_cursor.png) "nw-resize" | ![](sw_resize_cursor.png) "sw-resize" |
|
||||
* | ![](se_resize_cursor.png) "se-resize" | ![](ew_resize_cursor.png) "ew-resize" | ![](ns_resize_cursor.png) "ns-resize" | ![](nesw_resize_cursor.png) "nesw-resize" |
|
||||
* | ![](nwse_resize_cursor.png) "nwse-resize" | ![](zoom_in_cursor.png) "zoom-in" | ![](zoom_out_cursor.png) "zoom-out" | |
|
||||
*
|
||||
* Returns: (nullable): a new `GdkCursor`, or %NULL if there is no
|
||||
* cursor with the given name
|
||||
|
Loading…
Reference in New Issue
Block a user