Frédéric Péters
561ff67bbf
docs: update links to point to developer.gnome.org
...
https://bugzilla.gnome.org/show_bug.cgi?id=672117
2012-03-19 09:38:09 +01:00
Michael Natterer
0efbbc6435
gdk: Add delta_x/y to scroll events
...
gdk_event_get_scroll_deltas() can be used to retrieve those
values on smooth scroll events.
2012-03-01 16:28:56 -05:00
Carlos Garnacho
7f35708cee
gdk: Add touch event types and mask
...
This commit introduces GDK_TOUCH_BEGIN/UPDATE/END/CANCEL
and a separate GdkEventTouch struct that they use. This
is closer to the touch event API of other platforms and
matches the xi2 events closely, too.
2012-03-01 16:25:20 -05:00
Carlos Garnacho
bc8401d1ed
gdk: Add GdkEventSequence
...
GdkEventSequence is an opaque pointer type that is used
to identify sequences of touch events that belong together.
2012-03-01 16:25:13 -05:00
Matthias Clasen
f6d8c8a717
Add some documentation around deprecations
2012-02-27 07:56:29 -05:00
Matthias Clasen
9a92a1da89
Add a way to get the current modifier state
...
Xkb makes this available to us, and it is useful if you want
to do easter eggs that are triggered by Alt.
2012-02-21 01:50:18 +01:00
Carlos Garcia Campos
2890ac842f
gdk: Add macros for left, middle and right buttons
...
https://bugzilla.gnome.org/show_bug.cgi?id=668688
2012-01-27 09:47:42 +01:00
Emmanuele Bassi
c62a1fd522
Add symbolic constants for event emission control
...
Similar to https://bugzilla.gnome.org/show_bug.cgi?id=631413 in GLib,
GTK+ should have symbolic constants for controlling the event handling
instead of a mere boolean value.
The GDK_EVENT_PROPAGATE and GDK_EVENT_STOP constants map to FALSE and
TRUE respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=631414
2012-01-03 12:58:43 +00:00
Matthias Clasen
19c5b5c9d6
Tell gtk-doc about G_GNUC_WARN_UNUSED_RESULT
2011-12-19 07:32:32 -05:00
Matthias Clasen
5913e88feb
Reduce gtk-doc warnings
2011-12-19 07:32:15 -05:00
Matthias Clasen
c6df2828b7
Add gdk_screen_get_monitor_workarea
...
The function returns the part of a monitors area that should be
used for positioning popups, menus, etc. The only non-trivial
implementation atm is in the X backend, all the other backends
just return the full monitor area. The X implementation is
currently suboptimal, since it requires roundtrips to collect
the necessary information. It should be changed to monitor
the properties for changes, when XFixes allows to monitor
individual properties.
https://bugzilla.gnome.org/show_bug.cgi?id=641999
2011-12-18 14:29:16 -05:00
Matthias Clasen
cea35016db
Add missing symbols to the docs
2011-12-15 23:09:23 -05:00
Florian Müllner
4f8f8fe828
window: Add hide-titlebar-when-maximized property
...
For maximized windows, titlebars cannot be used to reposition or
scale the window, so if an application does not use it to convey
useful information (other than the application name), the screen
space occupied by titlebars could be put to better use.
Add a new window property which requests from the window manager
to hide titlebars when windows are maximized to account for this.
https://bugzilla.gnome.org/show_bug.cgi?id=665616
2011-12-15 16:31:56 +01:00
Sjoerd Simons
958fc69494
Fix document generation in out of tree builds
...
https://bugzilla.gnome.org/show_bug.cgi?id=661032
2011-10-21 16:27:13 -04:00
Matthias Clasen
c5c392ddf9
Add 'Since 3.4' indices to the docs
2011-10-02 10:22:13 -04:00
Matthias Clasen
c8eb4e5abe
Add new api to gdk.symbols
...
This keeps 'make check' happy.
And if 'make check' is happy, so am I.
2011-10-02 10:22:13 -04:00
Matthias Clasen
8009a7f0b1
Add a 3.2 index to gdk docs
2011-08-29 13:16:14 -04:00
Cosimo Cecchi
f7c188c019
API: add accessors for GdkEvent fields
...
Add accessors for the following fields: button, keyval, keycode, scroll
direction, click count.
https://bugzilla.gnome.org/show_bug.cgi?id=657384
2011-08-28 19:50:34 -04:00
Carlos Garnacho
6aab48ead0
gdk/x11: Add gdk_x11_device_manager_lookup()
...
This function can be used to find the GdkDevice wrapping
an XInput2 device ID. For core devices, the Virtual Core
Pointer/Keyboard IDs (2/3) may be used.
2011-07-15 18:14:38 +02:00
Carlos Garnacho
f90c154472
gdk/x11: Add gdk_x11_device_get_id()
...
This function can be used to find out the XInput2 device ID
behind a GdkDevice, mostly useful when you need to interact
with say Clutter, or raw libXi calls.
2011-07-15 18:14:38 +02:00
Javier Jardón
32e00d1f43
Use AM_CPPFLAGS instead the obsolete INCLUDES
2011-07-06 15:58:32 +01:00
Javier Jardón
d2b6480ba2
docs: remove tmpl directories
...
We do not use template files anymore
2011-06-20 14:24:57 +01:00
Florian Müllner
3032fdce2a
window: Export theme variant to X11
...
The metacity theme format allows to use colors from the current
GTK+ theme in window decorations. Since GTK+ now gained support
for dark theme variants, window managers using that theme format
(metacity, mutter, compiz via gtk-window-decorator) should be able
to use colors from the correct variant; so in case a variant is
requested, export it in the _GTK_THEME_VARIANT property on
toplevel windows.
https://bugzilla.gnome.org/show_bug.cgi?id=645354
2011-03-21 15:06:34 +01:00
Colin Walters
63b415df92
docs: Link to all versions of both GTK3 and GTK2
...
Now that library supports both cleanly, fix the links so that
the user can go from the online doc to any version better.
2011-02-11 12:39:07 -05:00
Matthias Clasen
524ce69bcb
Bump the version to 3.0.0
...
At the same time, change the library sonames for -3.0 to just -3.
This is necessary since the 2.99 releases installed libraries like
libgtk-3.0.so.0.9903.0, and we want to prevent the library version
number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
2011-02-10 14:41:02 -05:00
Matthias Clasen
981cadb578
Make online references point to the right place
2011-02-09 16:54:19 -05:00
Matthias Clasen
13d249ae19
Change the title of the GDK docs to mention '3'
...
This is necessary in preparation for having 2.x and 3 docs
listed next to each other on library.gnome.org.
2011-02-09 16:44:19 -05:00
Matthias Clasen
1f4bb70bac
Give the GDK docs some love
...
Reorganize some sections, drop the largely redundant multihead
section, add some more information about multiple backends.
2011-02-09 01:32:24 -05:00
Benjamin Otte
5f594b613e
API: gdk: Get rid of GdkNativeWindow
...
Also get rid of the GDK_NATIVE_WINDOW_POINTER define.
2011-02-01 18:51:57 +01:00
Benjamin Otte
44c02fcbb1
API: gdk: Change get_drag_window() API
...
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().
2011-02-01 18:51:57 +01:00
Benjamin Otte
c332ac207a
gdk: Remove GdkEventClient
...
... and all APIs making use of it.
That code like it hasn't been touched in years, Google codesearch
didn't find any users and most importantly it's a horrendous API, so
let's just make it die instead of having to port it over to
non-GdkNativeWindow usage, which would be required for multi-backend
GDK.
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00049.html
2011-02-01 06:33:02 +01:00
Benjamin Otte
bd4ef49af9
API: x11: Add GDK_POINTER_TO_XID() and GDK_XID_TO_POINTER()
...
Previously people used GDK_GPOINTER_TO_NATIVE_WINDOW() for this, but
native windows are going away, so we need a replacement.
2011-01-28 17:06:07 +01:00
Kristian Høgsberg
9c002cf2c1
Silence automake warnings
...
When commenting out a binary, also comment out the related variables.
Don't include Makefile.decl in gtk-doc Makefile.am's as they disagree
on assigning to EXTRA_DIST.
2011-01-03 11:59:45 -05:00
Benjamin Otte
d72d19d247
API: gdk: Remove gdk_display_set_device_hooks()
...
There's no usecase for them, so remove them before we have to commit to
keeping an API.
Make the hooks private for now, actually removing them will come in
followup patches.
2011-01-03 16:51:38 +01:00
Benjamin Otte
ff1ad99dce
API: gdk: Remove gdk_display_set_pointer_hooks()
...
Its usecase was GERD - http://testbit.eu/~timj/historic/gerd/ - and that
project is long since dead.
I couldn't find any app using it after asking around and googling either.
2011-01-03 16:35:10 +01:00
Benjamin Otte
36a15720b1
API: gdk: Remove gdk_set_pointer_hooks()
...
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.
2011-01-03 16:25:18 +01:00
Benjamin Otte
42fbccd3d2
API: gdk: Remove gdk_device_set_source()
...
The source of a device is not changeable.
2010-12-27 20:08:50 +01:00
Benjamin Otte
9746991548
API: gdk: Make gdk_display_get_window_at_device_position() a device API
...
It's now called gdk_device_get_window_at_position(). It doesn't make
sense to keep device-specific API part of the display.
2010-12-27 18:46:41 +01:00
Benjamin Otte
0c285341a9
API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
...
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
2010-12-27 18:46:41 +01:00
Matthias Clasen
27ce9421d0
Fix up GDK docs
2010-12-25 00:02:39 -05:00
Matthias Clasen
1e13b42b9b
Avoid some gtk-doc warnings
2010-12-24 17:36:19 -05:00
Matthias Clasen
fa59cc4652
Fix the X backend docs
2010-12-22 01:31:15 -05:00
Benjamin Otte
85bd61778f
API: gdk: GDK_DISPLAY_OBJECT() => GDK_DISPLAY()
...
GDK_DISPLAY_OBJECT is now deprecated. No need to keep failures from
gtk1 around.
2010-12-21 12:07:07 -05:00
Benjamin Otte
66f7c3a562
API: gdk: gdk_display_warp_device() => gdk_device_warp()
...
warping devices has nothing to do with displays, so putting it there
seems weird.
2010-12-21 12:07:06 -05:00
Matthias Clasen
fdabc9585d
Drop g[dt]k_set_locale
...
These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.
2010-12-21 12:07:02 -05:00
Matthias Clasen
55e1031e84
Remove gdk_net_wm_supports
...
This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.
2010-12-21 12:07:02 -05:00
Matthias Clasen
985eb14469
Multiple changes to reduce the amount of unprefixed symbols
...
The X11 backend exports a number of symbols which are _-prefixed
(so don't become part of the gdk api), but are not named in a
way to prevent accidental clashes between backends.
The one API change here is that the gdk_xid_table functions
have been removed - they did not server an purpose, since the
xid table only stores windows anyway, and we already have a
lookup-by-xid function for windows.
2010-12-21 12:07:00 -05:00
Matthias Clasen
25c66c11e2
Remove gdk_spawn functions
...
These functions were trivial g_spawn wrappers in all backends
except for X11, and they can be easily replaced by
g_app_info_create_for_commandline + GdkAppLaunchContext.
2010-12-21 12:07:00 -05:00
Matthias Clasen
2d7583c0e3
Make gdk_window_{lookup,foreign_new}_for_display backend specific
...
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.
2010-12-21 12:06:59 -05:00
Matthias Clasen
07d49ee56a
Merge libgdk and libgtk
...
This commit does a number of things:
- remove some dead wchar configury from configure.ac and gdkconfig.h
- repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
macros for each included backend, include it in gdk.h and install
it in $includedir instead of below $libdir
- drop the backend from the library names
- build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
It does not yet enable building multiple backends at the same time.
2010-12-21 12:06:55 -05:00
Carlos Garnacho
2c8c1c6df4
Remove *_set_extension_events() and old API to query devices.
...
The old functions to get core pointer and devices list are gone as
well. This slice is entirely replaced internally by multidevice
handling and may just go.
2010-12-17 16:25:14 +01:00
Florian Müllner
ce5dae6702
Complete renaming of gdk_enable_multidevice()
...
The function was renamed in commit c4a5c2ed4
, but some places were
missed, most notably the public header.
2010-12-15 13:05:11 +01:00
Carlos Garnacho
44a7ef7bec
Add gdk_window_[gs]et_source_events()
...
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.
2010-12-15 03:17:59 +01:00
Diego Escalante Urrelo
b0560107e9
docs: fix link failure on gtk-doc scanner binaries
...
Bug #637243
2010-12-14 20:31:14 -05:00
Benjamin Otte
ddb5e12e61
docs: Reinstate pixbufs section in GDK docs
...
It was accidentally removed in 0775b0a858
2010-12-09 23:56:25 +01:00
Benjamin Otte
3070d6e3d5
Revert "docs: Reinstate pixbufs section in GDK docs"
...
I committed my whole working tee instead of just one file. Ooops.
This reverts commit ded14b2562
.
2010-12-09 23:55:33 +01:00
Benjamin Otte
ded14b2562
docs: Reinstate pixbufs section in GDK docs
...
It was accidentally removed in 0775b0a858
2010-12-09 11:14:21 +01:00
Matthias Clasen
d998e7761c
Update sections
2010-12-03 15:41:37 -05:00
Benjamin Otte
350fb1d55c
API: gdk: Rename GdkWindowObjectClass to GdkWindowClass
...
Be consistent in the naming of objects.
2010-12-03 19:11:13 +01:00
Benjamin Otte
d916398dd2
API: Rename GdkWindowClass to GdkWindowWindowClass
...
We argued replacing GdkWindowClass with a input_only boolean, but this
is not doable in an API-stable way, so I decided against it.
2010-12-03 19:11:13 +01:00
Matthias Clasen
17e2c5391c
Fix up parameter mismatches in the docs
...
And other minor gdk doc fixes.
2010-12-03 09:07:06 -05:00
Bastien Nocera
b1beaa2dea
docs: Fix building with latest GDK changes
2010-12-02 21:01:53 +00:00
Benjamin Otte
218eea4378
gdk: Remove GdkDrawable
...
It's unused.
2010-12-02 20:21:04 +01:00
Benjamin Otte
3494f87a10
API: Remove GdkNoExposeEvent
...
It's not used by anyone and not supported by any backend but X11.
2010-12-02 20:21:04 +01:00
Benjamin Otte
d03c94907a
docs: Remove overrides for types that don't exist anymore
2010-12-02 20:21:04 +01:00
Benjamin Otte
e724054d19
API: Remove GDK_WINDOW_XWINDOW() macro
...
Use GDK_WINDOW_XID() instead.
THis was done using sed, so there might be issues resulting to that.
Feel free to fix.
2010-12-02 20:20:56 +01:00
Benjamin Otte
6a3a89a621
API: gdk_drawable_get_clip_region() => gdk_window_get_clip_region()
...
Also remove the vfunc from GdkDrawableClass.
2010-12-02 20:17:28 +01:00
Benjamin Otte
65dde2f92f
API: Remove gdk_cairo_reset_clip()
...
You should not ever ever ever call cairo_reset_clip(). If you do, your
code is broken and you deserve everything you get.
And we should definitely not support this insanity.
2010-12-02 20:17:28 +01:00
Benjamin Otte
91679c384a
API: Remove gdk_x11_drawable_get_xdisplay()
...
No need for the function. Macros exist to do the same thing.
2010-12-02 20:17:27 +01:00
Benjamin Otte
3af4432c6f
API: x11: Remove gdk_x11_window_get_drawable_impl()
...
It's not used anymore
2010-12-02 20:17:27 +01:00
Benjamin Otte
cf51750bf4
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
...
Also moves the function implementations to gtkwindow-x11.c.
2010-12-02 20:17:27 +01:00
Javier Jardón
2e2effbb6c
docs: Remove template of unused functions
2010-11-15 21:08:19 +01:00
Javier Jardón
b204995c6d
docs: Move documentation to inline comments: event_structs
...
All the GDK documentation is now moved to inline comments
2010-11-15 21:08:11 +01:00
Javier Jardón
e2cfecf813
docs: Move documentation to inline comments: x_interaction
2010-11-15 21:06:35 +01:00
Javier Jardón
a384b35bb5
docs: Move documentation to inline comments: drawing
2010-11-15 21:06:35 +01:00
Javier Jardón
b63800bd33
docs: Move documentation to inline comments: gdkthreads
2010-11-15 21:06:35 +01:00
Javier Jardón
4400f997a8
docs: Move documentation to inline comments: gdkevents
2010-11-15 21:06:35 +01:00
Javier Jardón
d2915ed9d1
docs: Move documentation to inline comments: properties
2010-11-15 21:06:34 +01:00
Javier Jardón
2f06ec02be
docs: Move documentation to inline comments: gdkselection
2010-11-15 18:24:31 +01:00
Javier Jardón
6bfdecef7a
docs: Move documentation to inline comments: gdkvisual
2010-11-15 18:24:31 +01:00
Javier Jardón
9a8fcfa65a
docs: Move documentation to inline comments: gdkpango
2010-11-15 18:24:31 +01:00
Javier Jardón
cc13047315
docs: Move documentation to inline comments: gdkcursor
2010-11-15 18:24:31 +01:00
Javier Jardón
d8e74867e4
docs: Remove GdkPixmap template
2010-11-15 05:39:25 +01:00
Javier Jardón
1268c17983
docs: Move documentation to inline comments: general
2010-11-15 05:35:40 +01:00
Javier Jardón
2cd0302e64
docs: Move documentation to inline comments: gdkkeys
2010-11-15 05:19:33 +01:00
Javier Jardón
44ff1d86b4
docs: move documentation to inline comments: gdktesting
2010-11-15 04:12:57 +01:00
Javier Jardón
5f89dea7f1
docs: Move documentation to inline comments: gdkscreen
2010-11-15 04:12:57 +01:00
Javier Jardón
133dfe55f3
docs: Move documentation to inline comments: gdkdisplaymanager
2010-11-15 04:12:57 +01:00
Javier Jardón
ca480f3771
docs: Move documentation to inline comments: gdkdisplay
2010-11-15 03:37:21 +01:00
Javier Jardón
8ca6882e88
docs: Move documentation to inline comments: gdkapplaunchcontext
2010-11-15 03:18:45 +01:00
John (J5) Palmieri
cdf517d1c8
[introspection] add transfer none annotation to gdk_keyval_name return
...
* moved docs from .sgml file to th e.c file so we can add the annotation
2010-11-09 21:00:14 -05:00
Carlos Garnacho
ce06043f17
GdkWindow: Add gdk_window_set_background_rgba()
...
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.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
5a5f8081f0
Add GdkRGBA struct to supersede GdkColor
...
GdkRGBA is a boxed struct similar to GdkColor, with the difference
that it stores alpha information as well, and colors are stored in
[0..1] doubles, in the cairo spirit.
gdk_cairo_set_source_rgba() has been also added to allow easier handling
of this new type.
2010-10-22 20:14:56 +02:00
Matthias Clasen
4824a73084
Add padding to class structs
2010-10-19 19:07:36 +02:00
Javier Jardón
04900c8caa
docs: Update templates
2010-10-19 03:31:02 +02:00
Matthias Clasen
9ff4f0819f
Some GDK documentation fixes
2010-10-14 21:45:56 -04:00
Matthias Clasen
c7e024d160
Rework GdkPangoRenderer example to use existing api
2010-10-12 11:29:56 -04:00
Matthias Clasen
abb25b7895
docs: add a longdesc for X-specifics
2010-10-12 11:29:56 -04:00
Matthias Clasen
d8700a02f1
docs: Remove mentions of GdkPixmap from cursor docs
2010-10-12 11:29:55 -04:00
Matthias Clasen
ec7c2acf7b
Move GdkVisualType docs inline
2010-10-12 11:29:55 -04:00
Matthias Clasen
4d63d96762
docs: Correct some link targets
2010-10-12 11:29:55 -04:00
Javier Jardón
718ccc9e4e
docs: visuals: Do not mention deprecated GdkRGB API's
...
Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473
2010-10-06 01:11:19 +02:00
Javier Jardón
97bdf55b6d
docs: Move documentation to inline comments: colors
2010-10-04 03:48:05 +02:00
Javier Jardón
9e869af6c5
docs: Move documentation to inline comments: pixbufs
2010-10-04 03:36:12 +02:00
Javier Jardón
a4c2018452
docs: Move documentation to inline comments: regions
2010-10-04 03:19:43 +02:00
Javier Jardón
4e71a4df7b
docs: Move documentation to inline comments: cairo_interaction
2010-10-04 03:04:09 +02:00
Matthias Clasen
32d1defc76
GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse
2010-10-01 09:10:52 -04:00
Matthias Clasen
4e96a84c67
GDK docs: Clean out some dead symbols
2010-10-01 08:09:31 -04:00
Benjamin Otte
f52a1fcfbd
API: remove gdk_drawable_get_size()
2010-09-26 15:11:45 +02:00
Benjamin Otte
6c971ac479
API: Remove window clear APIs
...
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.
2010-09-26 15:11:43 +02:00
Benjamin Otte
af32c9c9be
API: Add size getters for GdkWindow
...
gdk_window_get_width() and gdk_window_get_height() will replace
gdk_drawable_get_size().
2010-09-26 15:11:43 +02:00
Benjamin Otte
d4f08efd57
API: add gdk_cairo_get_clip_rectangle() convenience API
2010-09-26 15:11:34 +02:00
Matthias Clasen
0775b0a858
Make the docs build
2010-09-26 15:11:34 +02:00
Benjamin Otte
e624656c20
API: Remove GdkColormap
2010-09-26 15:11:34 +02:00
Benjamin Otte
cf4cb4f6d9
API: Remove colormap handling from GdkScreen
...
In particular, the following functions are gone:
- gdk_screen_get_default_colormap()
- gdk_screen_set_default_colormap()
- gdk_screen_get_system_colormap()
- gdk_screen_get_rgba_colormap()
2010-09-26 15:11:34 +02:00
Benjamin Otte
04d5c477aa
API: Remove gdk_drawable_get_colormap()
...
And with it, remove any notion of colormaps from GdkWindow. In
particular, X11 windows will now not set attrs.colormap when calling
XCreateWindow.
2010-09-26 15:11:33 +02:00
Benjamin Otte
504a2d4194
API: Remove gdk_drawable_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
7f486231ac
API: Add gdk_window_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
a6ef356107
API: Remove drawable getters for visual, screen and depth
...
Removed and replaced are:
gdk_drawable_get_visual() => gdk_window_get_visual()
gdk_drawable_get_screen() => gdk_window_get_screen()
gdk_drawable_get_depth() => gdk_visual_get_depth
(gdk_window_get_visual())
2010-09-26 15:11:33 +02:00
Benjamin Otte
5b9bbf9de2
API: Add gdk_window_get_visual() and gdk_window_get_screen()
...
Now that we store the visual in the GdkWindow, these are rather trivial
accessors.
2010-09-26 15:11:32 +02:00
Benjamin Otte
894d402c0f
API: Remove gdk_drawable_set_colormap()
2010-09-26 15:11:32 +02:00
Benjamin Otte
e316157671
API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
...
The Colormap argument needed to be removed, so the renaming is just a
side effect.
2010-09-26 15:11:32 +02:00
Benjamin Otte
f74f9b2766
gdk: Remove GdkPixmap
...
All iusers of it are gone, so it's now time to let go.
cairo_surface_t is a full replacement, combined with
gdk_window_create_similar_surface().
2010-09-26 15:11:30 +02:00
Benjamin Otte
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
Benjamin Otte
4a9c32dc36
API: Remove APIs to generate pixmaps from pixbufs
...
The 3 functions in question were:
- gdk_pixbuf_render_threshold_alpha()
- gdk_pixbuf_render_pixmap_and_mask()
- gdk_pixbuf_render_pixmap_and_mask_for_colormap()
All of them can be replaced using Cairo if they have to. The
functionality is only needed to talk to old X interfaces and normal apps
do fine without them.
2010-09-26 15:11:29 +02:00
Benjamin Otte
332652f702
API: Change offscreen windows to use a cairo_surface_t
...
This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.
2010-09-26 15:11:29 +02:00
Benjamin Otte
b69fdbbd04
API: Remove gdk_window_get_internal_paint_info()
...
This function should not exist in public API, it exposes too many
internals.
2010-09-26 15:11:11 +02:00
Benjamin Otte
d7335837e0
gdk: Remove gdk_window_redirect_to_drawable()
...
Also remove the reverse gdk_window_remove_redirection().
The code was only used by the snapshotting code, and that code is dead
now.
2010-09-26 15:11:11 +02:00
Benjamin Otte
2c1633699f
gdk: Rewrite background handling
...
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.
2010-09-26 15:03:00 +02:00
Benjamin Otte
6ab793da8d
API: Remove gdk_window_clear_area_e()
...
Awesome name for a function. Plus, it's unused and its functionality can
easily be replicated.
2010-09-26 15:03:00 +02:00
Benjamin Otte
a7fec8cf46
API: Remove shape_combine_mask functions from gdk
...
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().
2010-09-26 15:02:59 +02:00
Benjamin Otte
96b387599d
API: Add gdk_cairo_region_create_from_surface()
...
The function converts the given surface into an alpha bitmap mask. This
is mostly useful for setting shape regions.
Also adds a new internal function _gdk_cairo_surface_extents() that
computes a surface's extents.
2010-09-26 15:02:59 +02:00
Benjamin Otte
6218c16ff8
API: Remove gdk_cursor_new_from_pixmap()
...
gdk_cursor_new_from_pixbuf() is the proper replacement.
2010-09-26 15:02:59 +02:00
Benjamin Otte
6ef27387e0
API: remove gdk_window_set_icon()
...
gdk_window_set_icon_list() now does everything gdk_window_set_icon()
used to do.
2010-09-26 15:02:59 +02:00
Matthias Clasen
def95d1319
Add new error trap api to gdk.symbols and gdk3-sections.txt
2010-09-19 22:45:02 -04:00
Havoc Pennington
b837ef5a6d
Revamp and modernize X error traps
...
* add per-display gdk_x11_display_error_trap_push()
(X11-specific because gdk_error_trap_push() probably
should have been)
* make gdk_error_trap_push() handle only GDK displays
not displays opened without a GDK wrapper
* make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
automatically sync only if needed, so manual gdk_flush() is not
required
* add gdk_error_trap_pop_ignored() which just asynchronously
ignores errors, so never needs to sync
* add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
if you use plain pop() and don't need the return value,
the async gdk_error_trap_pop_ignored() should be used
instead. This results in lots of warnings to clean
up in a later patch.
The main objective here was to avoid the need to sync just
to ignore an error. Now, syncing is automatic, and only
happens when we need to know the error code.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 18:19:27 -04:00
Matthias Clasen
056ec835cc
Include gdkkeysyms.h in gdk.h
...
Followup to bug 629093
2010-09-10 11:08:18 -04:00
Matthias Clasen
0dcaad3a85
Drop the gdk_display variable from gdk
...
This was the last exported variable; it wasn't multihead safe,
and there's easy replacement with gdk_display_get_default().
Also drop the GDK_DISPLAY() macro which was just a wrapper around
the variable.
2010-09-09 19:46:41 -04:00
Tor Lillqvist
2ab562a6f7
Remove also the docs for the gdk_threads_mutex variable
2010-09-08 21:31:33 +03:00
Benjamin Otte
8856bfc60e
directfb: Remove
...
As announced by email and on IRC, this backend is removed from GTK 3.
It has been broken for over a year with no one fixing it.
2010-08-23 12:44:58 +02:00
Matthias Clasen
ce08b9bb01
Fix some documentation issues
2010-08-16 23:52:03 -04:00
Benjamin Otte
2944561ba3
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 19:48:46 +02:00
Benjamin Otte
c989d3000a
API: Add gdk_window_create_similar_surface()
2010-08-12 23:43:11 +02:00
Benjamin Otte
c9d08d02e5
gdk: Remove data consructors for GdkPixmap
...
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
Benjamin Otte
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
Benjamin Otte
1481ab6626
docs: Add sgml goo for gdk_display_is_closed()
2010-08-10 21:02:25 +02:00
John Stowers
4198dd8519
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:21:31 +12:00
Benjamin Otte
decbe42212
docs: Add gdk_cursor_get_cursor_type() template
2010-07-31 22:42:59 +02:00
Benjamin Otte
b806701cdb
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()
2010-07-26 16:42:46 +02:00
John Stowers
fe603cccf2
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 22:12:34 +12:00
Javier Jardón
404e7d0e00
gdk/: fully remove gdkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Matthias Clasen
1cfe57530e
Add gdk_keymap_get_num_lock_state to the docs
2010-07-02 12:59:07 -04:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Javier Jardón
df106318f8
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Benjamin Otte
5a02283fbf
API: Remove all GdkRegion API
...
Remove the deprecated region APIs completely from GTK.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:58 +02:00
Benjamin Otte
3e96cfe8fc
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-06-29 16:06:38 +02:00
Javier Jardón
06e48c50a1
Remove GDK_GC_FONT
2010-06-28 23:38:03 +02:00
Christian Dywan
655dcff096
Remove deprecated GdkFont
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604196
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-28 23:38:03 +02:00
Javier Jardón
c1affa4f3c
Remove deprecated code from X interaction
2010-06-28 23:38:03 +02:00
Matthias Clasen
48a5b4ee97
Misc documentation fixes
2010-06-26 23:00:47 -04:00
Matthias Clasen
53796b7f1f
Add an accessor for GdkImage->mem
...
See bug # 522756
2010-06-26 16:48:06 -04:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
Javier Jardón
ef25dba303
[docs] Remove deprecated gdk_draw_bitmap() and gdk_draw_pixmap()
...
This completes commit 947cde30d9
2010-06-25 18:18:30 +02:00
Carlos Garnacho
6cde835acd
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
...
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
2010-06-24 02:30:53 +02:00
Javier Jardón
349f8c561d
Remove gdk_input_* callbacks on file descriptors deprecated functions
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
2010-06-20 00:46:38 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
0de0914021
Remove gdk_char_* deprecated functions
...
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
2010-06-20 00:21:51 +02:00
Javier Jardón
4cf4470fcd
Remove deprecated GdkDrawable functions
...
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Cosimo Cecchi
4467145e43
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:04:28 +02:00
Stanislas Marquis
09fe6e7d44
[docs] GdkPixmap fix: gdk_pixmap_draw() does not exist.
...
Using gdk_draw_drawable() instead.
2010-06-10 02:21:13 +02:00
Javier Jardón
b618ca8923
[docs] Added some missing documentation to GdkDnd
...
The docs was removed by error in commit
9399114802
2010-06-09 06:39:02 +02:00
Matthias Clasen
9399114802
Remove one more gtk-doc template
2010-06-08 21:10:15 -04:00
Javier Jardón
47f8beb0a6
Remove gdkx_colormap_get() deprecated function
2010-06-07 04:37:06 +02:00
Javier Jardón
2ace397eb5
Remove deprecatedd code from GdkColor
...
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Matthias Clasen
9fbfbda8cc
Remove indices for 2.x additions
2010-06-03 01:23:13 -04:00
Javier Jardón
019563c322
Remove gdk_*et_use_xshm() deprecated functions
2010-05-26 05:18:05 +02:00
Matthias Clasen
473b7aa6a2
2.90.1
2010-05-25 22:57:46 -04:00
Matthias Clasen
f5e21ceb00
Some additions
2010-05-25 19:18:06 -04:00
Matthias Clasen
86ba6378cd
Remove duplicates
2010-05-25 19:03:16 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Javier Jardón
0c6565e1d3
Fix typo in previous patch
2010-05-25 20:48:59 +02:00
Matthias Clasen
b5ae99bf19
Add indexes
...
Add an index for 2.22 api additions, and one for 3.0.
2010-05-25 12:21:13 -04:00
Matthias Clasen
50a72eda2d
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-25 12:01:04 -04:00
Javier Jardón
b2f5af3fb0
Remove deprecated functions from GDK docs
2010-05-14 18:36:59 +02:00
Javier Jardón
618d15e991
Remove deprecated gdk_window_get_toplevels() function
2010-05-14 18:18:10 +02:00
Tadej Borovšak
ff61948d13
Move documentation to inline comments: GdkWindow
...
Use examples/gdk to store documentation code examples.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618498
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-05-14 17:11:51 +02:00
Javier Jardón
1205012cb4
Fix doc generation: rename gdk-overrides.txt to gdk3-overrides
...
Also, remove unnneded *-overrides files
Patch by Tadej Borovšak
2010-05-13 05:02:59 +02:00
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
c6a789998a
Remove deprecated gdk_exit() function
2010-05-12 03:44:07 +02:00
Matthias Clasen
4b7e72b3a8
Make the docs parallel installable
2010-05-10 20:06:10 -04:00
Javier Jardón
b76557e944
[docs] Fix GdkColor description: blue and green colors are changed
...
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
2010-05-10 01:57:22 +02:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Javier Jardón
8424256a39
[gdk] Remove gdki18n.h completely
2010-05-03 01:51:21 +02:00
Javier Jardón
341d8605b6
[gdk] Remove deprecated GdkRGB stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
81d1e2ca76
[gdk] Remove deprecated GdkVisual stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
ce340e3b62
[gdk] Remove deprecated gdktypes stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
4a70b282de
[gdk] Remove deprecated GdkSelection stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
3d3fb6edc6
Remove deprecated code from GdkPango
2010-05-03 01:48:45 +02:00
Javier Jardón
906a510007
Remove deprecated code from GdkImage
2010-05-03 01:48:45 +02:00
Javier Jardón
7894951cee
Remove deprecated code from GdkEvent
2010-05-03 01:48:45 +02:00
Javier Jardón
8c46ef830b
Remove deprecated code from GdkDnd
2010-05-03 01:45:00 +02:00
Javier Jardón
e53a1ad236
Remove deprecated code from GdkCursor
2010-05-03 01:45:00 +02:00
Javier Jardón
134690ed8f
Remove deprecated code from GdkGc
2010-05-03 01:45:00 +02:00
Javier Jardón
b9b8efc528
Remove deprecated code from GdkPixmap
2010-05-03 01:45:00 +02:00
Javier Jardón
92e5d321d6
Remove deprecated code from GdkPixbuf
2010-05-03 01:45:00 +02:00
Torsten Schönfeld
85d166fbb9
[docs] Fix a typo in the offscreen windows docs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616565
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-22 23:17:32 +02:00
Matthias Clasen
60017d2676
Add 2.20 index for gdk docs
2010-02-23 13:57:47 -05: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
Alejandro Piñeiro
bc39d88b44
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-02-09 11:52:49 +01:00
Javier Jardón
48f572822c
[docs] Fix documentation build warnings
...
Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876
2010-01-12 15:47:00 +01:00
Matthias Clasen
c54219da24
2.19.3
2010-01-11 13:57:21 -05:00
Matthias Clasen
76ae6a80ff
Dco updates
2010-01-11 12:58:34 -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
Matthias Clasen
af268d5b07
Small documentation correction
2009-12-20 03:11:04 -05:00
Colin Walters
18dc96caf8
Merge in Gdk-custom.c introspection annotations
...
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:01 -02:00
Christian Dywan
8e6dbff2b0
Deprecate GtkInputDialog
...
Deprecate the widget and adjust the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=594903
2009-10-16 16:05:13 +02:00
Matthias Clasen
b841251ca7
2.18.0
2009-09-23 00:02:47 -04:00
Alexander Larsson
7ab7ffa542
Automatically flush window when doing non-double-buffered expose
...
Applications using non-double-buffered drawing using cairo (e.g. Abiword)
can draw directly to the window using cairo and thus manage to avoid
the automatic flushing of outstanding moves. This can cause redraw
inconsistencies like bug 593507.
We fix this by always flushing when exposing non-double-buffered widgets.
2009-09-14 16:07:43 +02:00
Bastien Nocera
b1d1e36855
Keysyms docs update
...
Mention XK_ prefixes as well.
2009-09-10 10:18:29 +01:00
Bastien Nocera
11898088a1
Bug 594668 - Add new Xorg keysyms
...
Add support for XF86keysym.h to gdkkeysyms-update.pl and
update the generated gdkkeysyms.h file for the latest sources.
2009-09-09 18:45:28 +01:00
Matthias Clasen
e1cd3e0610
2.17.11
2009-09-05 00:35:08 -04:00
Matthias Clasen
5c4f248ff9
Documentation additions
2009-09-04 22:53:03 -04:00
Matthias Clasen
32d59d174e
Documentation fixes
2009-09-01 00:53:44 -04:00
Matthias Clasen
5e5ab90a57
Improve CSW docs
2009-08-31 00:55:32 -04:00
Matthias Clasen
e6cfb7b19f
2.17.9
2009-08-24 18:54:51 -04:00
Matthias Clasen
a84f36028e
2.17.8
2009-08-17 23:51:50 -04:00
Matthias Clasen
4df049d218
2.17.7
2009-08-11 15:06:02 -04:00
Matthias Clasen
b3969a3d75
2.17.3
2009-07-07 01:05:29 -04:00
Matthias Clasen
44bb1fb30e
Small documentation fixes
2009-07-05 20:56:44 -04:00
Matthias Clasen
837e16789f
Add new symbols
2009-07-03 15:22:02 -04:00
Alexander Larsson
287b821705
Rename gdk_window_set_has_native to gdk_window_ensure_native
...
This also removes the (unimplemented) possibility to change a window to
non-native. This seems generally not very useful, and there are some problems
with it, for instance if two "users" need a window to be native and then
one of the "users" doesn't need it anymore it can't change it back, because
it is unaware of the other reason the window is native.
2009-06-01 11:57:59 +02:00
Behdad Esfahbod
a398c840be
Add git.mk to generate .gitignore files
...
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Matthias Clasen
2739a92c76
Remove deprecated API
...
svn path=/trunk/; revision=22431
2009-03-01 07:28:35 +00:00
Stefan Kost
379f6e03a5
Add online urls for library.gnome.org. This allows other docs to do
...
* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk/gdk-docs.sgml:
* gtk/gtk-docs.sgml:
* libgail-util/gail-libgail-util-docs.sgml:
Add online urls for library.gnome.org. This allows other docs to do
gtkdoc-rebase --online --html-dir=html
before publishing docs and have working xrefs.
Whitespece cleanup for gdk/gdk-docs.sgml.
svn path=/trunk/; revision=22287
2009-02-06 08:16:22 +00:00
Matthias Clasen
3bb7c153f8
2.15.1
...
svn path=/trunk/; revision=22202
2009-01-23 23:03:59 +00:00
Matthias Clasen
5c317ec762
Bug 567761 – Spellfixes in GTK+ documentation
...
* gdk/x11/gdkselection-x11.c:
* gtk/gtktestutils.c: Fix typos in the docs.
svn path=/trunk/; revision=22189
2009-01-23 05:51:25 +00:00
Matthias Clasen
4d9df738e5
Document GDK_BLANK_CURSOR
...
svn path=/trunk/; revision=22146
2009-01-20 02:18:33 +00:00
Matthias Clasen
012a1decaa
Add another index
...
svn path=/trunk/; revision=21930
2008-12-26 04:22:07 +00:00
Matthias Clasen
b38f2c127c
trivial correction
...
svn path=/trunk/; revision=21928
2008-12-26 04:18:56 +00:00
Matthias Clasen
eec610227f
Small tweaks
...
svn path=/trunk/; revision=21927
2008-12-26 04:06:09 +00:00
Matthias Clasen
7dfb0b734b
Use a new gtk-doc feature to generate much nicer indices.
...
2008-11-21 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am:
* gdk/Makefile.am:
* gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
much nicer indices.
* gtk/drawing-model.xml: Fix document structure
svn path=/trunk/; revision=21795
2008-11-21 08:21:28 +00:00
Matthias Clasen
859aaf903d
Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
...
2008-09-29 Matthias Clasen <mclasen@redhat.com>
Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
* gdk/gdk.symbols:
* gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
a gdk_keymap_get_caps_lock_state function.
* gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
state-changed when caps lock lockedness changes.
* gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
changes in the XkbSelectEventDetails call.
svn path=/trunk/; revision=21545
2008-09-29 20:40:45 +00:00
Matthias Clasen
3a6b0693b9
2.14.2
...
svn path=/trunk/; revision=21420
2008-09-18 04:30:42 +00:00
Sven Herzberg
ad7880a590
Bug 551063 – deprecated marking without a link to what new code should
...
2008-09-06 Sven Herzberg <sven@imendio.com>
Bug 551063 – deprecated marking without a link to what new code should
use
* gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
and gdk_input_add_full()
* gdk/gdkevents.c: added inline documentation for gdk_input_add() and
gdk_input_add_full(); added replacement hints into the deprecation
message
svn path=/trunk/; revision=21305
2008-09-06 17:26:33 +00:00
Stefan Kost
9e90452bac
Use xi:include instead of entities to ease maintenance and speed up
...
* gdk-pixbuf/gdk-pixbuf-csource.xml:
* gdk-pixbuf/gdk-pixbuf-from-drawables.sgml:
* gdk-pixbuf/gdk-pixbuf-query-loaders.xml:
* gdk-pixbuf/gdk-pixbuf-rendering.sgml:
* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk-pixbuf/porting-from-imlib.sgml:
* gdk/gdk-docs.sgml:
* gdk/multihead.sgml:
* libgail-util/gail-libgail-util-docs.sgml:
Use xi:include instead of entities to ease maintenance and speed up
documentation build. Fixes #540967
svn path=/trunk/; revision=21304
2008-09-06 09:47:18 +00:00
Matthias Clasen
783a4d99ed
2.13.7
...
svn path=/trunk/; revision=21151
2008-08-19 01:17:29 +00:00
Torsten Schönfeld
38993e923a
Don't mention GdkWindowRedirect in the docs; it's opaque and not used in any
...
public API.
svn path=/trunk/; revision=21138
2008-08-16 19:57:41 +00:00
Matthias Clasen
c246a4e7b0
2.13.6
...
svn path=/trunk/; revision=21015
2008-08-05 18:20:35 +00:00
Matthias Clasen
ed383758c6
Improve docs
...
svn path=/trunk/; revision=20929
2008-08-02 04:12:55 +00:00
Cody Russell
4e3c97b3f2
Bug 56070 – Can't click button after setting it sensitive.
...
2008-07-31 Cody Russell <bratsche@gnome.org>
Bug 56070 – Can't click button after setting it sensitive.
* gtk/gtkwidget.[ch]
* gtk/gtkwindow.c
* gtk/gtkmain.c
* gtk/gtkbutton.c
* gtk/gtkprivate.h
* gdk/gdkevents.h: Synthesize crossing events events where necessary.
* gtk/tests/crossingevents.c: Add unit tests for crossing events.
Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
has worked on and helped out with this.
svn path=/trunk/; revision=20924
2008-08-01 03:30:50 +00:00
Matthias Clasen
47da2900a6
Add new api
...
svn path=/trunk/; revision=20920
2008-07-31 22:12:41 +00:00
Matthias Clasen
40a31e283c
2.13.4
...
svn path=/trunk/; revision=20783
2008-07-05 20:30:16 +00:00
Matthias Clasen
a1b44ad8cf
Some GDK doc additions
...
svn path=/trunk/; revision=20770
2008-07-04 21:52:54 +00:00
Matthias Clasen
f393e85f59
2.13.2
...
svn path=/trunk/; revision=20309
2008-06-03 23:44:33 +00:00
Matthias Clasen
49a42ac0f0
2.13.1
...
svn path=/trunk/; revision=20246
2008-05-30 05:08:50 +00:00
Cody Russell
a0854db70a
Fix to say g_signal_connect_after rather than g_signal_register_after.
...
2008-04-10 Cody Russell <bratsche@gnome.org>
* docs/reference/gdk/tmpl/windows.sgml: Fix to say
g_signal_connect_after rather than g_signal_register_after.
(reported by Guillaume Cottenceau)
svn path=/trunk/; revision=19991
2008-04-10 21:10:15 +00:00
Michael Natterer
1edf3234dd
gdk/Makefile.am remove remaining linux-fb stuff.
...
2008-03-11 Michael Natterer <mitch@imendio.com>
* gdk/Makefile.am
* gtk/framebuffer.sgml: remove remaining linux-fb stuff.
svn path=/trunk/; revision=19750
2008-03-11 17:15:59 +00:00
Matthias Clasen
45e33fe9c2
Go back to 2.13.0 as version for now, as there was no consensus to do the
...
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Go back to 2.13.0 as version for now,
as there was no consensus to do the jump.
* many other places: Update Since: tags.
svn path=/trunk/; revision=19586
2008-02-15 23:42:42 +00:00
Matthias Clasen
66f0e87506
Updates
...
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-docs.xml:
* gdk/gdk-sections.txt: Updates
svn path=/trunk/; revision=19578
2008-02-15 19:01:39 +00:00
Benjamin Otte
a25b1ca83b
remove SGML comment in example code - it was visible in the generated
...
2008-02-11 Benjamin Otte <otte@gnome.org>
* gdk/tmpl/windows.sgml:
remove SGML comment in example code - it was visible in the generated
HTML.
svn path=/trunk/; revision=19512
2008-02-11 11:01:59 +00:00
Michael Natterer
64c73a61b7
Remove all .cvsignore files.
...
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
Matthias Clasen
9bf93a6fc8
Add docs
...
svn path=/trunk/; revision=19167
2007-12-13 05:49:11 +00:00
15:39:40 Tim Janik
2dc08ada49
call g_test_init() from gtk_test_init().
...
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Cody Russell
d9e345d084
Fix a typo in GdkEventGrabBroken where it said "@grab_window id NULL" and
...
2007-10-08 Cody Russell <bratsche@gnome.org>
* docs/reference/gdk/tmpl/event_structs.sgml:
Fix a typo in GdkEventGrabBroken where it said
"@grab_window id NULL" and should say
"@grab_window is NULL". (#484650 , Chris Lord)
svn path=/trunk/; revision=18892
2007-10-08 14:49:26 +00:00
Matthias Clasen
8e2de76673
Remove references to deprecated functions. ( #460207 , Guillaume Cottenceau)
...
2007-09-06 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/porting-from-imlib.sgml:
* gdk/tmpl/rgb.sgml: Remove references to deprecated
functions. (#460207 , Guillaume Cottenceau)
svn path=/trunk/; revision=18741
2007-09-07 03:18:53 +00:00
Matthias Clasen
c191a26d92
correct an example
...
svn path=/trunk/; revision=18740
2007-09-07 03:07:18 +00:00
Tim Janik
920147ee8f
clarify section about gdk_threads_enter/ gdk_threads_leave to be reworded
...
Thu Jul 12 18:12:04 2007 Tim Janik <timj@imendio.com>
* gdk/tmpl/threads.sgml: clarify section about gdk_threads_enter/
gdk_threads_leave to be reworded in terms of events and to mention
availability of gdk_threads_add_idle_full().
svn path=/trunk/; revision=18457
2007-07-12 16:13:11 +00:00
Matthias Clasen
2a9ae2f16f
Small doc update
...
svn path=/trunk/; revision=18442
2007-07-10 23:45:45 +00:00
Tim Janik
2be53450a9
applied docu clarification patch from Bjoern Lindqvist, #454700 .
...
Mon Jul 9 10:32:39 2007 Tim Janik <timj@imendio.com>
* gdk/tmpl/threads.sgml: applied docu clarification patch from Bjoern
Lindqvist, #454700 .
svn path=/trunk/; revision=18406
2007-07-09 08:33:32 +00:00
Tim Janik
46ac4d0e56
fixed up motion hint description.
...
Wed Jul 4 00:58:24 2007 Tim Janik <timj@gtk.org>
* gdk/tmpl/events.sgml: fixed up motion hint description.
svn path=/trunk/; revision=18370
2007-07-03 22:59:06 +00:00
Matthias Clasen
ce66d46183
2.11.5
...
svn path=/trunk/; revision=18345
2007-07-02 22:24:39 +00:00
Matthias Clasen
436a34e318
New function to determine if keyboard layouts for both LTR and LTR
...
2007-06-29 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdkkeys.h:
* gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
function to determine if keyboard layouts for both LTR and LTR
languages are in use. Refactor the direction caching code to
make this information available. (#451575 , Behnam Esfahbod)
svn path=/trunk/; revision=18301
2007-06-30 01:43:04 +00:00
Matthias Clasen
0984645dd8
Updates
...
svn path=/trunk/; revision=18233
2007-06-26 03:34:06 +00:00
Matthias Clasen
a8fc5b41a4
2.11.3
...
svn path=/trunk/; revision=18154
2007-06-16 02:02:37 +00:00
Matthias Clasen
f7add802e2
Remove linux-fb leftovers
...
svn path=/trunk/; revision=18113
2007-06-13 02:07:15 +00:00
Matthias Clasen
0f4d0f8e62
2.11.1
...
svn path=/trunk/; revision=18027
2007-06-04 17:01:14 +00:00
Matthias Clasen
885ba04648
Add support for composited child windows. ( #412882 , Ryan Lortie)
...
2007-06-01 Matthias Clasen <mclasen@redhat.com>
Add support for composited child windows. (#412882 , Ryan Lortie)
* gdk/gdk.symbols:
* gdk/gdkdisplay.h:
* gdk/gdkinternals.h:
* gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
gdk_window_set_composited().
* gdk/x11/gdkevents-x11.c:
* gdk/x11/gdkdisplay-x11.[hc]:
* gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
* gdk/win32/gdkdisplay-win32.c:
* gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
* gdk/quartz/gdkdisplay-quartz.c:
* gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
* gdk/directfb/gdkdisplay-directfb.c:
* gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
* tests/testgtk.c: Add a "composited window" test.
svn path=/trunk/; revision=18004
2007-06-01 12:16:12 +00:00
Matthias Clasen
be4196dac7
Remove GdkBitmap
...
2007-05-26 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-overrides.txt: Remove GdkBitmap
* gtk/gtk-sections.txt:
* gtk/tmpl/gtkenums.sgml:
* gdk/tmpl/rgb.sgml:
* gdk/tmpl/gcs.sgml:
* gdk/tmpl/pango_interaction.sgml:
* gdk/tmpl/windows.sgml: Additions
svn path=/trunk/; revision=17945
2007-05-27 01:39:28 +00:00
Matthias Clasen
c7920bea2c
Add new api
...
svn path=/trunk/; revision=17940
2007-05-26 20:45:41 +00:00