Jasper St. Pierre
5ac2346862
Remove gdk_synthesize_window_state from gdkinternals.h
...
It's already in gdkprivate.h
2014-04-12 08:20:33 -07:00
William Jon McCann
469d333aa2
docs: use Returns: consistently
...
Instead of Return value:
2014-02-19 18:56:05 -05:00
William Jon McCann
7a208fbbf3
docs: use proper apostrophe
...
https://wiki.gnome.org/Design/OS/Typography
2014-02-07 13:06:10 -05:00
William Jon McCann
2a45418b67
docs: use proper quotes
2014-02-05 15:08:42 -05:00
William Jon McCann
5dd751f006
docs: don't use ulink. use markdown instead
2014-02-04 18:53:51 -05:00
William Jon McCann
a3bad427c7
docs: don't use <application> tags
2014-02-04 18:01:24 -05:00
William Jon McCann
50e06e11ee
docs: use markdown instead of <filename> tags
2014-02-04 16:58:53 -05:00
Matthias Clasen
245c385ae7
Docs: Don't use note elements
...
In most cases, the text itself makes the message clear enough.
2014-02-02 01:22:14 -05:00
Matthias Clasen
e1d9974537
Drop internal uses of gtk_widget_get_root_window
...
This function is just a one-line convenience function that
is about to be deprecated.
2014-01-24 20:16:33 -05:00
Benjamin Otte
67260eec22
container: Deprecate resize mode
...
Resize modes don't work anymore, both because nobody ever uses them and
because the frame clock changed the way things work quite a bit. So we
don't want to advertise them as a good idea.
https://bugzilla.gnome.org/show_bug.cgi?id=708787
2013-10-05 15:09:53 +02:00
Owen W. Taylor
c7574bb6c8
Disable frame sync for GtkPlug
...
Plug windows weren't redrawing properly because the embedded
window was expecting to get messages for each frame from the
compositor, but the compositor doesn't know about embedded
windows. Simply disable frame sync for GtkPlug's GdkWindow -
extending XEMBED to handle frame sync isn't interesting
at this point.
A new API gdk_x11_window_set_frame_sync_enabled() is added
to allow this to be done.
https://bugzilla.gnome.org/show_bug.cgi?id=701613
2013-07-22 18:36:58 -04:00
Emmanuele Bassi
0899ef7cc9
gtk: Use new macros for defining private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Benjamin Otte
b662e96e7e
plug: Don't unregister windows that were never registered
...
Fixes warnings when trying to unregister the socket window. The socket
window is foreign, so we shouldn't register it in the first place.
https://bugzilla.gnome.org/show_bug.cgi?id=697427
2013-04-08 16:34:19 +02:00
Jasper St. Pierre
caa1721658
gtkplug: Remove a no-op func
2013-02-15 19:48:56 -05:00
Alexander Larsson
3d4cd4db3e
Add gtk_widget_(un)register_window
...
This replaces the previously hardcoded calls to gdk_window_set_user_data,
and also lets us track which windows are a part of a widget. Old code
should continue working as is, but new features that require the
windows may not work perfectly.
We need this for the transparent widget support to work, as we need
to specially mark the windows of child widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
2013-02-07 11:11:37 +01:00
Benjamin Otte
12683da8f7
gtk: Make functions static that don't need to be non-static
...
Also remove the starting underscore from function names where
appropriate, as those functions are static now and not exported anymore.
This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.
2012-10-02 19:32:51 +02:00
Owen W. Taylor
0aa989ae76
GtkPlug: fix handling of key events for different layouts
...
GtkPlug directly handles X KeyPress/Release events, instead of using
translation in GDK (which expects XI2 events for XI2). When this
was done, the handling of the group was stubbed out and never replaced.
Export gdk_keymap_x11_group_for_state() and gdk_keymap_x11_is_modifier()
so we can fill out the fields correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=675167
2012-04-30 16:35:10 -04:00
Matthias Clasen
050cba6a31
Fix malformed doc comments
...
Most of these are forgotten :'s and similar details
which gtk-doc now warns about.
2012-04-12 21:12:16 -04:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Matthias Clasen
be152f9b61
GtkPlug: preserve map/unmap invariants
2011-09-02 21:40:42 -04:00
Benjamin Otte
480b5862d4
plug: Use gtk_widget_class_set_accessible_role()
2011-07-18 18:30:50 +02:00
Matthias Clasen
a26ffdc740
Prevent a segfault in GtkPlug
...
The grabbed_keys might be NULL, so deal with that.
https://bugzilla.gnome.org/show_bug.cgi?id=641023
2011-01-31 10:17:21 -05:00
Matthias Clasen
f783a75d61
Add a gtkx.h header for X11-specific GTK+ api
...
This keeps us from pulling gdkx.h into gtk.h
https://bugzilla.gnome.org/show_bug.cgi?id=640902
2011-01-29 14:16:47 -05:00
Benjamin Otte
4aa67439f3
plug: Use Window instead of GdkNativeWindow
2011-01-28 17:06:07 +01:00
Benjamin Otte
1d80400478
plug: Merge gtkplug-x11.c back into gtkplug.c
2011-01-28 17:06:07 +01:00
Benjamin Otte
c7f0cffd8a
plug/socket: Remove x11 checks and non-x11 code
2011-01-28 17:06:06 +01:00
Benjamin Otte
50e1589a19
plug/socket: Clarify docs about availablility of widgets
2011-01-28 17:06:06 +01:00
Carlos Garnacho
665a94e0f3
Make GtkPlug use GtkStyleContext
2011-01-04 03:06:15 +01:00
Hans Breuer
a2b1da064a
win32: ported backend specific code to now backend specific API
2011-01-02 13:33:08 +01:00
Benjamin Otte
4db086da4b
x11: Rename GdkDisplayX11 to GdkX11Display
...
Also rename all the macros etc.
2010-12-21 12:07:07 -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
5ee3a44415
Remove sealed members from GtkSocket
2010-12-18 17:39:41 -05:00
Matthias Clasen
7b665316cf
Hide GtkWindowGroup members
...
In the process of removing all sealed members from headers.
At the same time, add a gtkwindowprivate.h header and move
all internal functions from gtkwindow.h there.
2010-12-17 20:41:16 -05:00
Javier Jardón
29fc179a89
gtkplug: Do not leak in gtk_plug_realize()
...
Indeed, we should check for window->wmclass_name
Reported by Guillaume Desmottes in bug
https://bugzilla.gnome.org/show_bug.cgi?id=635175
2010-11-18 17:52:18 +01:00
Emmanuele Bassi
2cc059a0e7
Split off gtkprivate.h
...
The gtkprivate.h header contains GtkWidget-specific private symbols that
are not useful except in a handful of cases. Basically everything
includes gtkprivate.h for the GTK_PARAM_* macros.
https://bugzilla.gnome.org/show_bug.cgi?id=632539
2010-10-20 10:34:26 +01:00
Matthias Clasen
f53ad33994
Remove GtkObject completely
2010-09-26 22:18:19 -04:00
Benjamin Otte
fb43f590e9
plug: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
e8a6bad00b
gtk: Don't set colormap anymore when creating GDK windows
...
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
2010-09-26 15:11:31 +02:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Matthias Clasen
2ddfaeddad
More error trap cleanups
...
Remove syncs in front of gdk_error_trap_pop() calls, and convert
gdk_error_trap_pop() calls to gdk_error_trap_pop_ignored() in gdk.
2010-09-20 16:40:14 -04:00
Matthias Clasen
1243b4861c
Use gdk_error_trap_pop_ignore() where appropriate
2010-09-18 23:17:31 -04:00
Javier Jardón
1a980d0be6
gtk/gtkplug.c: Use accessor functions to access GtkWindow
2010-08-31 02:51:36 +02:00
Javier Jardón
304b1a1f56
Added _gtk_widget_get_wmclass() internal function
...
Needed by GtkPlug
2010-08-31 02:51:36 +02:00
Javier Jardón
e8184f2a46
GtkPlug: move public members to private structures
2010-08-27 23:12:12 +02:00
Javier Jardón
d854499f4a
gtk/gtkplug.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Philip Withnall
3eb197b51f
Bug 596125 — Property string fixes
2010-08-10 09:23:49 +01:00
Javier Jardón
c1a2ecc369
Check if childs actually exists before using it
...
Check seems to have gone lost during GtkBin sealing in commit 4427760b
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707
2010-07-22 17:17:43 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00