summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* gdk: API: constify argumentBenjamin Otte2012-12-171-2/+2
| | | | gdk_window_set_background_rgba() should take a const RGBA.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gdk: Use versioned deprecationsMatthias Clasen2012-02-271-3/+6
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gdk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* Deprecate all the public API that is using GdkColor structJavier Jardón2011-12-221-0/+1
|
* Remove some accidental additionsMatthias Clasen2011-12-151-4/+0
| | | | These functions were never actually implemented
* Cosmetic changeMatthias Clasen2011-12-151-1/+1
|
* Fix nicks for the window class enumMatthias Clasen2011-12-131-2/+2
| | | | | | As pointed out in bug 665999, these were just not right. Before this commit, the nicks were 'output' and 'only'. After this commit, they are 'input-output' and 'input-only'.
* testwindows: Test transparent backgroundsAlexander Larsson2011-12-011-0/+4
|
* Add device-taking variants of begin_resize/move_dragMatthias Clasen2011-11-051-13/+26
| | | | | This was one of the last places where display->core_pointer was used in non-deprecated code paths.
* Add deprecation annotations for deprecated functionsMatthias Clasen2011-10-111-2/+4
| | | | | | We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
* Add G_GNUC_DEPRECATED annotations in GDKMatthias Clasen2011-10-091-5/+5
|
* API: gdk: Change get_drag_window() APIBenjamin Otte2011-02-011-0/+4
| | | | | | | | The previous function gdk_drag_get_protocol_for_display() took native window handles, so it had to be changed. Because it didn't do what it was named to do (it didn't return a protocol even though it was named get_protocol) and because it doesn't operate on the display anymore but on the actual window, it's now called gdk_window_get_drag_protocol().
* API: gdk: Remove gdk_set_pointer_hooks()Benjamin Otte2011-01-031-33/+0
| | | | | | | Its usecase was GERD - http://testbit.eu/~timj/historic/gerd/ - and that project is long since dead. It has been superseded in GTK 2.2 by GdkDisplayPointerHooks anyway.
* Make gdk_window_{lookup,foreign_new}_for_display backend specificMatthias Clasen2010-12-211-12/+1
| | | | | At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and add some exemplaric ifdefs to GTK+ code.
* Remove sm-client-id related functions from headersMatthias Clasen2010-12-211-1/+0
|
* Add gdk_window_[gs]et_source_events()Carlos Garnacho2010-12-151-0/+6
| | | | | | This function will enable events for all devices of a given GdkInputSource, either these available at the time of the call, or these that are connected in the future.
* gdk: Remove GdkWindowObject typedefBenjamin Otte2010-12-061-1/+0
| | | | It's unused by now.
* API: gdk: Remove depth argument from gdk_window_get_geometry()Benjamin Otte2010-12-061-2/+1
| | | | We don't want to expose depth anymore. If you need it, query the visual.
* API: gdk: Rename GdkWindowObjectClass to GdkWindowClassBenjamin Otte2010-12-031-4/+4
| | | | Be consistent in the naming of objects.
* API: Rename GdkWindowClass to GdkWindowWindowClassBenjamin Otte2010-12-031-3/+3
| | | | | We argued replacing GdkWindowClass with a input_only boolean, but this is not doable in an API-stable way, so I decided against it.
* gdk: Remove remaining includes of gdkdrawable.hBenjamin Otte2010-12-021-1/+0
|
* API: GdkWindow no longer is a GdkDrawableBenjamin Otte2010-12-021-3/+3
| | | | Also, name the get_type function properly.
* API: gdk_drawable_get_visible_region => gdk_window_get_visible_regionBenjamin Otte2010-12-021-0/+2
| | | | Also get rid of the GdkDrawable vfunc.
* API: gdk_drawable_get_clip_region() => gdk_window_get_clip_region()Benjamin Otte2010-12-021-0/+2
| | | | Also remove the vfunc from GdkDrawableClass.
* GdkWindow: Add gdk_window_set_background_rgba()Carlos Garnacho2010-10-221-0/+2
| | | | | | This new function takes a GdkRGBA in order to set the background to an alpha color. Keep in mind that RGBA visuals and a composited environment are still necessary to have an alpha background displayed.
* gdk: add slots for all GdkWindowObject signalsMichael Natterer2010-10-141-3/+28
| | | | Also add padding for future extension.
* Bug 631599 - Allow to use arbitrary surfaces for offscreen windowsMichael Natterer2010-10-141-0/+4
| | | | | | | Add signal GdkWindow::create-surface which allows to use any surface type as storage for offscreen windows. Test the new signal in tests/gdkoffscreenbox.c
* GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurseMatthias Clasen2010-10-011-5/+20
|
* API: Remove window clear APIsBenjamin Otte2010-09-261-6/+0
| | | | | | The feature can and should be implemented manually using gdk_window_get_background() and Cairo drawing. A non-cairo drawing API does not make sense in GDK anymore.
* API: Add size getters for GdkWindowBenjamin Otte2010-09-261-0/+2
| | | | | gdk_window_get_width() and gdk_window_get_height() will replace gdk_drawable_get_size().
* API: Remove colormap member from GdkWindowAttrBenjamin Otte2010-09-261-8/+4
| | | | | Also remove all code that cares about differing colormaps for child windows.
* API: Add gdk_window_get_display()Benjamin Otte2010-09-261-0/+1
|
* API: Add gdk_window_get_visual() and gdk_window_get_screen()Benjamin Otte2010-09-261-0/+2
| | | | | Now that we store the visual in the GdkWindow, these are rather trivial accessors.
* API: Remove gdk_window_set_back_pixmap()Benjamin Otte2010-09-261-3/+0
| | | | | The same effect can be achieved with gdk_window_set_background_pattern().
* API: Change offscreen windows to use a cairo_surface_tBenjamin Otte2010-09-261-1/+2
| | | | | This requires changes to all the offscreen surface getters that used to return a GdkPixmap before.
* API: Remove gdk_window_get_internal_paint_info()Benjamin Otte2010-09-261-5/+0
| | | | | This function should not exist in public API, it exposes too many internals.
* gdk: Remove gdk_window_redirect_to_drawable()Benjamin Otte2010-09-261-10/+0
| | | | | | | Also remove the reverse gdk_window_remove_redirection(). The code was only used by the snapshotting code, and that code is dead now.
* gdk: Rewrite background handlingBenjamin Otte2010-09-261-0/+2
| | | | | | | | | | Now the window background is a cairo_pattern_t. The backends will try to set this as good as they can on the windowing system, but no guarantees are made on wether the windowing system supports the pattern. Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to support, and GDK_NO_BG effectively made the window's contents undefined. It wasn't effectively used in GTK anyway.
* API: Remove gdk_window_clear_area_e()Benjamin Otte2010-09-261-5/+0
| | | | | Awesome name for a function. Plus, it's unused and its functionality can easily be replicated.
* API: Remove shape_combine_mask functions from gdkBenjamin Otte2010-09-261-8/+0
| | | | | | | This removes gdk_window_shape_combine_mask() and gdk_window_input_shape_combine_mask(). GdkBitmap is going away and a replacement exists via the combine_region() functions and gdk_cairo_region_create_from_surface().
* API: remove gdk_window_set_icon()Benjamin Otte2010-09-261-4/+0
| | | | | gdk_window_set_icon_list() now does everything gdk_window_set_icon() used to do.
* Remove deprecated gdk_window_get_deskrelative_origin() and its implementationsJavier Jardón2010-09-091-7/+0
|
* Remove the long deprecated GDK_WINDOW_DIALOG type.Matthias Clasen2010-08-281-2/+0
| | | | | This has been deprecated forever, and was just left in for compatibility reasons.
* API: Add gdk_window_get_background_pattern()Benjamin Otte2010-08-161-0/+2
| | | | | This is the suggested way for GTK3 to store a Window's background so it makes sense to use the same function today already.
* Remove window background getters againBenjamin Otte2010-08-151-5/+0
| | | | | | 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.
* API: Add gdk_window_create_similar_surface()Benjamin Otte2010-08-121-0/+6
|
* gdk: Remove data consructors for GdkPixmapBenjamin Otte2010-08-101-2/+0
| | | | That is all of the gdk_pixmap/bitmap_create_from_* constructors.
* [gdk] Remove GdkWindowObject public structureJavier Jardón2010-07-011-62/+0
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
* [gdk] Add gdk_window_has_native() functionJavier Jardón2010-07-011-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=622677