gtk2/docs/reference/gtk
Руслан Ижбулатов 26c24328d5 GDK: Add cursor theme support to W32 backend
Load themed cursors from the same places they are loaded on freedesktop systems,
but use W32 API functions to do so (works for .cur/.ani cursors instead of X
cursors).

Refactor the code for cursor handling. Prefer loading cursors by name.

Do not load actual cursors when loading the theme. Find the files and remember
the arguments/calls for loading them instead. Keeping HCURSOR instance in the
hashmap would result in multiple GdkCursors using the same HCURSOR. Given that
we use DestroyCursor() to off them, this would cause problems (at the very
least - DestroyCursor() would fail).

Store GdkCursor instances in a cache. Update cached cursors when theme changes.

Recognize "system" theme as a special (and default) case. When it is set,
prefer system cursors and fall back to Adwaita cursors and (as a last resort)
built-in X cursors. Otherwise prefer theme cursors and fall back to system and
X cursors.

Force GTK to use "left_ptr" cursor when no cursor is set. Using NULL makes
it use the system default "arrow", which is not the intended behaviour when
a non-system theme is selected.

Ignore cursor size setting and query the OS for the required cursor size, as
Windows (almost) does not allow setting cursors of arbitrary size.

https://bugzilla.gnome.org/show_bug.cgi?id=749287
2015-05-20 08:42:24 +00:00
..
images Add GtkSidebar to the widget gallery 2014-10-22 01:13:00 -04:00
broadway.xml Add some more Broadway documentation 2013-01-24 06:24:07 -05:00
broadwayd.xml BroadwayServer support for unix socket listening 2014-08-14 20:24:10 -04:00
building.sgml docs: Fix some old live.gnome.org URLs 2015-01-09 14:08:20 +00:00
compiling.sgml Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
drawing-model.xml Update drawing model docs 2013-11-10 12:58:32 -05:00
getting_started.xml Update hello-world.c to GtkApplication, document 2015-03-09 12:17:31 +01:00
glossary.xml docs: fix links to docs 2014-01-21 22:40:55 -05:00
gtk3-demo-application.xml docs: Fix some copy/paste errors 2014-10-04 17:18:50 +02:00
gtk3-demo.xml Add man pages for gtk3-demo and gtk3-widget-factory 2014-05-19 23:20:56 -04:00
gtk3-icon-browser.xml Add an icon browser 2014-06-24 21:58:40 -04:00
gtk3-overrides.txt Document gtk_application_get_menu_by_id 2014-07-07 19:44:39 -04:00
gtk3-sections.txt GtkFontChooser: Allow a custom font map 2015-05-07 07:33:23 -04:00
gtk3-widget-factory.xml Add man pages for gtk3-demo and gtk3-widget-factory 2014-05-19 23:20:56 -04:00
gtk3.types.in Rename GtkSidebar to GtkStackSidebar 2015-02-13 18:01:56 +01:00
gtk-builder-tool.xml gtk-builder-tool: Improve docs 2015-05-02 11:55:57 -04:00
gtk-docs.sgml Add a man page for gtk-builder-tool 2015-04-27 19:10:10 -04:00
gtk-encode-symbolic-svg.xml Add a man page for gtk-encode-symbolic-svg 2014-08-03 02:45:16 +02:00
gtk-launch.xml Cosmetic improvements to man pages 2012-08-04 16:14:32 -04:00
gtk-query-immodules-3.0.xml Cosmetic improvements to man pages 2012-08-04 16:14:32 -04:00
gtk-update-icon-cache.xml gtk-update-icon-cache: Add an --include-image-data option 2014-06-14 19:30:17 -04:00
input-handling.xml docs: Add extra symbol links to input handling documentation 2015-02-19 12:48:42 +00:00
Makefile.am Fix inclusion of examples in docs in non-srcdir builds 2015-04-29 14:16:50 -04:00
migrating-2to3.xml docs: fix reference to GTK+ 2 index of deprecated symbols 2015-03-08 09:43:04 +01:00
migrating-checklist.sgml docs: remove reference to removed flags 2014-01-21 18:57:41 -05:00
migrating-GtkGrid.xml docs: don't use property syntax for child properties 2014-01-21 23:20:38 -05:00
migrating-GtkStyleContext.xml docs: don't try to link vfunc 2014-01-21 22:40:55 -05:00
migrating-smclient-GtkApplication.xml Remove lies 2012-05-11 17:44:14 -04:00
migrating-unique-GtkApplication.xml docs: don't try to link to non-API types 2014-01-21 18:57:41 -05:00
mir.xml Gdk: add an experimental backend for mir 2014-10-22 11:17:15 -05:00
osx.sgml docs: Fix some old live.gnome.org URLs 2015-01-09 14:08:20 +00:00
other_software.sgml Use G_SOURCE_CONTINUE/REMOVE 2012-01-30 19:12:27 -05:00
overview.xml
question_index.sgml Typo fix in GTK+ common questions 2014-06-30 22:23:00 -04:00
resources.sgml
running.sgml Add support for loading gtk3-only modules 2015-02-04 13:42:39 +01:00
text_widget.sgml Doc: fix dead link in the text widget overview 2013-04-01 21:12:49 +02:00
tree_widget.sgml Remove reference to GTK+ 2 in reference docs 2014-09-18 18:16:54 -04:00
version.xml.in
visual_index.xml Rename GtkSidebar to GtkStackSidebar 2015-02-13 18:01:56 +01:00
wayland.xml docs: change id for Wayland section to not conflict with OS X 2013-03-08 20:17:06 -05:00
windows.sgml GDK: Add cursor theme support to W32 backend 2015-05-20 08:42:24 +00:00
x11.sgml Document new environment variables 2013-07-09 10:25:40 -04:00