Tor Lillqvist
9fb03bb402
Export gdk_x11_ functions only on X11
2010-12-27 11:30:07 +02:00
Matthias Clasen
7b1c38b57c
Deprecated gdk_drag_find_window and gdk_drag_get_protocol
2010-12-21 09:54:15 -05:00
Matthias Clasen
a88f8e4c57
Deprecate gdk_drag_context_new
2010-12-21 09:54:15 -05:00
Matthias Clasen
bad6d00966
Deprecate some gdk text conversion routines
...
And add x11-specific replacements for them
2010-12-21 09:54:15 -05:00
Matthias Clasen
e65e208d40
Deprecate gdk_set_locale and gtk_set_locale
2010-12-21 09:54:14 -05:00
Matthias Clasen
6250c1dbe1
Deprecate gdk_net_wm_supports
2010-12-21 09:54:14 -05:00
Matthias Clasen
dd1de27061
Deprecate gdkx_visual_get
2010-12-21 09:54:14 -05:00
Matthias Clasen
08e4a60de1
Deprecate gdk_spawn apis
2010-12-21 09:54:14 -05:00
Matthias Clasen
2f8c78ddc5
Deprecate foreign window apis
...
And add x11- and win32-specific apis for these at the same time
2010-12-21 09:54:14 -05:00
Matthias Clasen
0f8251da61
Deprecate gdk_set_sm_client_id
...
And add a gdk_x11_set_sm_client_id to replace it.
2010-12-21 09:54:13 -05:00
Matthias Clasen
3bdd56c928
Add some forgotten accessors for GdkDragContext
...
These fields are accessed in gtk.
2010-12-21 09:54:13 -05:00
Michael Natterer
d0f2b13309
gdk: add gdk_device_get_n_keys() to access the sealed num_keys member
2010-11-24 20:15:29 +01:00
Benjamin Otte
176218c5a0
API: Add gdk_pixmap_get_size()
...
Allows querying a pixmap's size when compiling with deprecations.
2010-11-18 17:45:14 +01:00
Matthias Clasen
d1f256ac30
Backport some new GdkWindow api from 2.90
...
This commit adds
gdk_window_get_display
gdk_window_get_screen
gdk_window_get_visual
gdk_window_get_width
gdk_window_get_height
and deprecates the corresponding GdkDrawable APIs.
This will make it easier to prepare the port to GTK+ 3
2010-09-27 20:37:03 -04:00
Matthias Clasen
2e5251b405
Add gdk_cairo_set_source_window
...
And deprecate gdk_cairo_set_source_pixmap.
2010-09-27 19:00:10 -04:00
Martin Schlemmer
770e308c42
win32: cummulated backport of xp theme fixes from master
2010-08-28 15:14:31 +02:00
Benjamin Otte
9f1cb0798b
API: Add gdk_window_get_background_pattern()
...
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 20:01:49 +02:00
Benjamin Otte
370dfc16ca
Remove window background getters again
...
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
2010-08-15 03:31:37 +02:00
Benjamin Otte
997d3aada6
API: Add gdk_window_create_similar_surface()
2010-08-12 23:30:19 +02:00
John Stowers
32c4f471d5
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:11:42 +12:00
John Stowers
dc2fea413b
Add gdk_device_get_n_axes
...
https://bugzilla.gnome.org/show_bug.cgi?id=624221
2010-07-25 12:32:43 +12:00
John Stowers
6c25cf872f
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 12:32:38 +12:00
Javier Jardón
6de36e580b
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:39:39 +02:00
Benjamin Otte
807c14741f
Deprecate GdkRegion symbols that have no Cairo equivalent
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-30 16:25:03 +02:00
Matthias Clasen
cbf303d8c6
Add an accessor for GdkImage->mem
...
See bug # 522756
(cherry picked from commit 53796b7f1f
)
2010-06-26 17:00:39 -04:00
Cosimo Cecchi
b5fdb45259
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:12:34 +02:00
Michael Natterer
d393cb377c
gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
...
so its purpose is clear.
2010-06-02 20:42:11 +02:00
Javier Jardón
cfb988ab38
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-27 16:25:54 +02:00
Benjamin Otte
fd20ac0751
Revert "Deprecate the GdkRegion API"
...
This reverts commit 821dd33918
.
2010-05-26 09:25:35 +02:00
Benjamin Otte
821dd33918
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-05-23 23:27:15 +02:00
Michael Natterer
5a52d2a2f0
gdk: add API to convert coords between parent and child windows
...
which also works for offscreen windows and their embedder.
Also add gdk_window_get_effective_parent() and
gdk_window_get_effective_toplevel() which are offscreen aware.
2010-04-15 12:59:44 +02:00
Javier Jardón
eb7121c4e6
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_add_virtual_modifiers()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=613988
2010-04-09 18:15:55 +02:00
Hiroyuki Ikezoe
ffbd007c50
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-03-25 16:39:41 +01:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00
Matthias Clasen
03b179c5e8
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2009-12-21 11:15:28 -05:00
Cody Russell
53ab5c0b63
Add gdk_screen_get_primary_monitor to gdk.symbols
2009-12-09 23:20:30 -06:00
Alexander Larsson
cfeba9c389
Make gdk_window_flush public
...
We need to call this from Gtk+, and its concievable that some other
app doing weird stuff could have a use for it.
2009-09-14 16:07:25 +02:00
Matthias Clasen
aa9bb7d8e4
Deprecate gdk_event_get_graphics exposes
...
This function is only used in deprecated, broken widgets. Also,
fix up some of its implmentation that clang was complaining about.
2009-09-09 09:00:15 -04:00
Alexander Larsson
d0ac27fe5f
Add function accessors for x11 window/pixmap impl
2009-09-04 17:59:17 +02:00
Alexander Larsson
f64ef921da
Add gdk_window_is_destroyed
2009-09-04 17:59:17 +02:00
Alexander Larsson
d67a7eda16
Add gdk_window_restack
...
This lets you restack a window above or below a specified sibling.
At least eclipse wants this functionallity.
2009-09-02 23:38:55 +02:00
Alexander Larsson
45956aea21
Add gdk_cairo_reset_clip
...
This is required to get back the original drawable clip due to
non-native windows on a cairo_t.
2009-09-01 17:06:41 +02:00
Emmanuele Bassi
1811ecfb58
Add missing gdk_window_get_cursor to the GDK symbols
2009-07-30 11:12:26 +01:00
Matthias Clasen
93556ea899
Make distcheck pass
2009-07-06 23:06:46 -04:00
Alexander Larsson
10bf7ca744
Clean up embedding api
...
we now use gdk_offscreen_window_set_embedder() instead of a signal
to get the parent. This also replaces set_has_offscreen_changes.
Rename "parent" in all embedding related names to "embedder" to make it
more obviously different than the normal parent.
Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap
to match the other offscreen calls.
Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed
as this is more descriptive.
2009-07-01 14:36:36 +02:00
Alexander Larsson
413b39962f
Add missing symbols to gdk.symbols
2009-06-30 12:40:51 +02:00
Alexander Larsson
b50dfa6923
Add gdk_window_get_root_coords to gdk.symbols
2009-06-30 10:55:06 +02:00
Alexander Larsson
56dfbd997e
Handle gdk_window_beep on offscreen windows
2009-06-11 22:11:48 +02:00
Alexander Larsson
904f0ccb7c
Base pointer grab on get-offscreen-parent
2009-06-08 19:39:14 +02:00
Alexander Larsson
2c877d4c2d
Remove offscreen hooks support
...
In the new world offscreen windows are not put in the hierarchy, but are
rather toplevels for themselves. Offscreen hooks don't make any sense
in this model.
2009-04-02 10:16:30 +02:00