f1bb0283dd
widget: Hook GtkEventController to widget event processing.
...
A controller can be optionally hooked on the capture or the bubble
phase, so the controller will automatically receive and handle events
as they arrive without further interaction.
2014-05-23 19:54:22 +02:00
49cf5142ba
Deprecate GdkColor
...
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
2014-05-22 09:09:55 -04:00
70cb91a827
docs: syntax fix
...
It is just 'Deprecated:' in doc comments, not '@Deprecated:'.
2014-05-20 09:55:29 -04:00
d260694a37
widget: Untagle if statements
...
Reduces the number of nested ifs and makes the code clearer.
2014-05-19 04:25:10 +02:00
3cb5e58b1a
API: Deprecate gtk_widget_region_intersect()
...
It's unused and would become disambiguous once we split between
allocation and draw region.
2014-05-18 02:29:56 +02:00
2a99584c68
API: Deprecate gtk_widget_reparent()
2014-05-17 23:36:57 +02:00
93204d3ba8
Don't lie about baselines so much
...
Let g_object_get (w, "valign",...) report the truth, so that the
inspector can show it without special cases.
2014-05-15 08:43:43 -04:00
3f224a7165
Add private GtkWidget api for action groups
...
Similar to the just-added action muxer api for enumerating
action prefixes and for getting the action group for a
prefix.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:28:53 -04:00
8f9e50de80
GtkPopover: inherit actions from the relative_to widget
...
Make the relative_to widget the parent for a GtkPopover's
GtkActionGroup. This, for example, makes the menu model of a
GtkMenuButton find action groups attached to the button.
https://bugzilla.gnome.org/show_bug.cgi?id=729915
2014-05-12 16:39:44 -04:00
5cd5db1f57
Remove a redundant check
...
gtk_widget_show/_hide already check the widget's visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=728135
2014-05-11 11:56:22 -04:00
b0ace67712
widget: deprecate focus-line-width style property
...
Nothing in GTK uses it anymore.
2014-05-09 11:02:46 -07:00
e8c906966e
widget: deprecate focus-line-pattern style property
...
Nothing in GTK uses it.
2014-05-09 11:02:44 -07:00
a2decd1f2f
widget: deprecate focus-padding style property
...
There's no use left inside GTK.
2014-05-09 11:02:44 -07:00
b03c22e0c9
widget: deprecate interior-focus style property
...
Nothing uses it anymore inside GTK.
2014-05-09 11:02:42 -07:00
d495ab1ca0
Small documentation update
...
Don't show an example that doesn't work anymore.
2014-05-05 09:41:06 -04:00
456dffcbfd
GtkWidget: Mark deprecated properties as such
...
The ::style, ::margin-left and ::margin-right properties are all
deprecated.
2014-05-02 19:25:27 -04:00
db791ba3f5
widget: Remove unneeded checks
...
Size vfuncs always get non-null out variables passed, so no need to
check for NULL.
2014-05-01 14:51:27 +02:00
3d956db500
docs: fix GtkWidget::size-allocate description
...
The documentation for the GtkWidget::size-allocate signal is missing the
description of the "allocation" parameter. Add the missing description
to the parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=726179
2014-04-13 14:43:47 -07:00
fee33b1a81
Clean up private headers
...
This commit adds a few missing private headers, and cleans up
some irregularities in the existing ones
2014-04-05 02:06:29 -04:00
f71f7215ab
all: Name more idles and timeouts
...
Following up from 438cd857c4 ,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
2014-03-26 20:09:30 -04:00
fbf99febf3
docs: Add more information to gtk_widget_set_realized()
...
It's important to point out that widgets should only be marked as
realized very late in the process. Even GTK widgets don't get this
right.
https://bugzilla.gnome.org/show_bug.cgi?id=726717
2014-03-20 14:34:31 +01:00
ac96c35230
Update documentation about link styling
...
The ::link-color and ::visited-link-color style properties
are ignored now. Document that.
2014-03-17 15:00:45 -04:00
2f43800aa3
_gtk_widget_get_device_window: Fix for keyboard devices
...
Avoid a warning by returning NULL for keyboard devices, which can
never have an active pointer for a widget.
2014-03-13 10:31:08 -04:00
40b6d907bf
Use GDK's current window tracking when synthesizing events in GTK+
...
Add gdk_device_get_last_event_window(), and use to implement the window
tracking we need for synthesizing crossing events for sensitivity changes
and gtk grabs, rather than keeping the information in qdata and updating
it based when GTK+ gets events.
https://bugzilla.gnome.org/show_bug.cgi?id=726187
2014-03-12 23:03:53 -04:00
2ffeb591b1
Fix up signal deprecation
2014-03-03 23:31:48 -05:00
7fae042208
Deprecate GdkEventVisibility and ::visibility-notify-event
...
These don't really work anymore in a composited world.
Lets make it official.
https://bugzilla.gnome.org/show_bug.cgi?id=481073
2014-03-03 21:39:03 -05:00
469d333aa2
docs: use Returns: consistently
...
Instead of Return value:
2014-02-19 18:56:05 -05:00
e79842d64c
Document gtk_widget_get_scale_factor
2014-02-19 01:03:36 -05:00
c779b42476
Docs: use // for comments in examples
...
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
2014-02-14 23:34:22 -05:00
37a8ee6e95
docs: fully break lines in examples
...
Try to do a better job of keeping example content
from being too wide. It is often rendered as <pre>
text so the only time we can wrap it is in the source.
It is best to full break lines at all punctuation and
to try to keep the width under 70 chars or so.
2014-02-12 18:42:50 -05:00
3459a0a273
Revert "Introduce API to get the preferred visual"
...
This reverts commit 2b95d1a34e .
Conflicts:
gdk/gdkscreen.c
2014-02-10 22:15:28 -05:00
d326507978
Revert "Use gdk_screen_get_preferred_visual()"
...
This reverts commit 30fa1426cf .
See the bugs
https://bugzilla.gnome.org/show_bug.cgi?id=724067
https://bugzilla.gnome.org/show_bug.cgi?id=723740
for the issues that are the reason for this revert.
2014-02-10 22:12:53 -05:00
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
c823498b4c
Fix margin-start/end property implementation
...
The properties are declared read-write, but only the setter
was hooked up. This was leading to criticals in test apps using
the prop-editor.c code. Complete the implementation by adding the
getter side too.
2014-02-07 20:27:30 -05:00
13998c55e7
docs: use proper quotations instead of '*'
2014-02-07 14:22:39 -05:00
cb6483d382
docs: use apostrophe in *'d
2014-02-07 13:39:53 -05:00
fa3f1e1488
docs: use apostrophe in *'ve
2014-02-07 13:38:26 -05:00
a4b5929e81
docs: use apostrophe in *'re
2014-02-07 13:37:09 -05:00
e34bd4137d
docs: use apostrophes in *n't
2014-02-07 13:32:47 -05:00
7a208fbbf3
docs: use proper apostrophe
...
https://wiki.gnome.org/Design/OS/Typography
2014-02-07 13:06:10 -05:00
f116f0071e
docs: use links instead of <xref>
2014-02-07 11:13:11 -05:00
0ce016650b
docs: Use markup for links
2014-02-07 09:42:12 -05:00
6d3347de63
widget: Ignore text direction in gtk_widget_set_state_flags()
...
Previously we did a semi-successful job at ignoring it. Unfortunately
this job was bad enough that we could lose the direction.
We still allow passing in the enum values, because we want code like
this to work:
set_state_flags (get_state_flags() | SOME_FLAGS)
2014-02-07 14:48:54 +01:00
2a45418b67
docs: use proper quotes
2014-02-05 15:08:42 -05:00
4439453b75
widget: Fix margin-start and margin-end properties
...
The margin-start and margin-end properties were incorrectly
defined, so margins weren't respected for RTL languages.
https://bugzilla.gnome.org/show_bug.cgi?id=723627
2014-02-05 13:28:24 +01:00
3b3d8ca456
docs: Use "#" for refsect2 instead of ##
2014-02-04 21:00:58 -05:00
c6ef8bdc9c
docs: don't use <para id="">
2014-02-04 20:21:05 -05:00
8ad75bdfff
docs: don't use <replaceable>
2014-02-04 19:20:16 -05:00
5dd751f006
docs: don't use ulink. use markdown instead
2014-02-04 18:53:51 -05:00
a22358c0c0
docs: use ` instead of <literal>
2014-02-04 18:24:29 -05:00