summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop gdkintl.hMatthias Clasen2022-09-231-1/+1
| | | | | This header was merely including gi18n-lib.h. Just do that directly.
* Remove all nicks and blurbs from param specsSophie Herold2022-05-111-15/+5
| | | | | | | | Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
* Minor doc fixFred Morcos2022-01-031-2/+1
|
* gdk: Remove gdkinternals.hBenjamin Otte2021-09-241-1/+0
|
* Docs: TweaksMatthias Clasen2021-06-051-1/+1
| | | | Remove some more redundant "or NULL" blurbs.
* gdk: Clean up docs syntaxMatthias Clasen2021-05-221-1/+1
| | | | Replace leftover gtk-doc syntax (#Type) with backquotes.
* docs: Reduce redundancyMatthias Clasen2021-05-201-1/+1
| | | | | | | | Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate. This adds a few missing nullable annotations too.
* introspection: Stop using allow-noneMatthias Clasen2021-05-201-2/+2
| | | | | allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
* Documentation fixesMatthias Clasen2021-05-201-2/+2
| | | | | Mostly fixing up indentation of continuation lines, and other small cleanups.
* cursor: Use a table for cursor namesMatthias Clasen2021-03-111-36/+11
| | | | This gets all the names into view at the same time.
* cursor: Add property annotationsMatthias Clasen2021-03-111-8/+8
| | | | Connect properties, getters, and setters with annotations.
* docs: Rework the gdk docsMatthias Clasen2021-03-111-53/+82
| | | | Convert links, make things more concise.
* docs: Move detached sections into their own content fileEmmanuele Bassi2021-03-111-14/+15
|
* CosmeticsMatthias Clasen2020-11-041-4/+4
| | | | Fix argument ordering of gdk_cursor_new_from_name.
* docs: Small additions for GdkCursor docsMatthias Clasen2020-10-291-22/+32
|
* Replace "gchar" with "char"Benjamin Otte2020-07-251-1/+1
|
* docs: Small updatesMatthias Clasen2018-07-131-18/+1
| | | | Remove a few references to no-longer-existing APIs.
* GdkWindow -> GdkSurface initial type renameAlexander Larsson2018-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
* GdkCursor: Add some missing (nullable) annotationsTimm Bäder2018-03-091-3/+3
|
* The big versioning cleanupMatthias Clasen2018-02-061-14/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* cursor docs: Point to gtk_widget_set_cursorMatthias Clasen2017-12-261-2/+4
| | | | This is the right API to use for applications.
* Drop gdk_cursor_new_from_pixbufMatthias Clasen2017-11-291-77/+0
| | | | Part of the push to remove GdkPixbuf from the API.
* gdk: Use G_PARAM_SPEC_STATIC_STRINGS throughoutMatthias Clasen2017-11-171-5/+10
| | | | This avoids some string copies at startup.
* Remove gdkprivate.hMatthias Clasen2017-11-171-0/+1
| | | | | This is one-too-many private headers. Move the few declarations here to gdkinternals.h.
* gdk: Cursors no longer have a displayBenjamin Otte2017-11-041-52/+20
| | | | | | | Change constructors to reflect that. While doing so, also add a fallback argument to the cursor constructors, so it is now possible to create cursors with fallback.
* gdk: Cursors are created genericallyBenjamin Otte2017-11-041-4/+10
| | | | There are no longer subclasses for cursors now.
* gdk: Make cursors instantiableBenjamin Otte2017-11-041-1/+1
| | | | | | This way, backends can instantiate GdkCursor objects directly. Do that for broadway to test that it indeed works.
* gdk: Add gdk_cursor_hash() and gdk_cursor_equal()Benjamin Otte2017-11-041-0/+46
| | | | | This is so GDK backends can put cursors into hash tables and avoid duplicates.
* gdk: Add gdk_cursor_get_fallback()Benjamin Otte2017-11-041-27/+67
| | | | | There's no way to use it yet, but I want it to be available for refactoring the backends.
* cursor: Turn new_from_surface() into new_from_texture()Benjamin Otte2017-11-041-22/+143
| | | | | Also turn all the arguments into read-only properties on the GdkCursor object.
* gdk: Remove ability to download a cursorBenjamin Otte2017-11-041-89/+0
|
* gdk: Add gdk_cursor_get_name()Benjamin Otte2017-11-041-2/+48
| | | | Also add the GdkCursor::name property.
* gdk: Get rid of GdkCursorTypeBenjamin Otte2017-11-041-15/+0
| | | | | Now that we no longer have API that uses cursor types, don't keep them around.
* t Remove gdk_cursor_new_for_displayMatthias Clasen2017-11-011-38/+0
| | | | | | The preferred api to create cursors is by name, and the GdkCursorType enumeration can directly trace its ancestry to the horrible X cursor font. So lets stop using it.
* cursor: Remove deprecated APIRico Tzschichholz2016-10-241-54/+0
|
* Update cursor docsMatthias Clasen2016-05-171-2/+2
| | | | Include new images for context-menu and for no-drop.
* Add context-menu to the list of standard cursor namesMatthias Clasen2016-01-061-0/+1
| | | | | Adwaita doesn't have this one, but we are falling to the default cursor anyway.
* docs: Show less ugly X cursorsMatthias Clasen2015-05-081-20/+0
| | | | | | Don't list examples in the gdk_cursor_new_for_display() docs, since we now have a list of recommended names for the from_name() call.
* Update docsMatthias Clasen2015-05-081-0/+39
|
* configure.ac: Depend on cairo 1.14.0Javier Jardón2014-11-101-2/+0
| | | | This is needed for cairo_set_device_scale()
* Deprecate gdk_cursor_new()Matthias Clasen2014-10-281-1/+3
| | | | | Too easy to introduce an unintended assumption about the display being the default this way.
* gdk: assorted introspection and documentation fixesEvan Nemerson2014-05-191-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729983
* gdk: add many missing (nullable) return value annotationsEvan Nemerson2014-05-111-4/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729834
* GdkCursor: Don't leak a cairo surfaceDavid Mansfield2014-05-071-1/+6
| | | | | | | The function gdk_cursor_new_from_pixbuf creates a cairo surface to pass to its backend implementation, but doesn't destroy it afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=729670
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-4/+4
| | | | Instead of Return value:
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-4/+4
|
* Use proper quotes in gdkWilliam Jon McCann2014-02-051-1/+1
|
* docs: use ` instead of <literal>William Jon McCann2014-02-041-2/+2
|
* docs: use markdown instead of inlinegraphic tagsWilliam Jon McCann2014-02-041-17/+17
|
* Docs: Use markdown for listsMatthias Clasen2014-02-021-56/+18
| | | | This greatly reduces the amount of xml in the docs.