Matthias Clasen
163f0daf6a
GtkSwitch: Use ATK_DEFINE_TYPE properly
2011-02-17 21:55:54 -05:00
Matthias Clasen
221415f71f
Use _gtk_accessible_set_factory_type in GtkSwitch
2011-02-17 01:32:24 -05:00
Thomas Wood
0c6251d0d2
switch: allow the user to toggle the switch by clicking on the handle
2011-01-12 18:50:45 -05:00
Matthias Clasen
b5c6904c2f
Drop explicit includes of gdkkeysyms.h
...
These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h
to use the new GDK_KEY_ symbols.
2011-01-04 12:21:41 -05:00
Carlos Garnacho
cb21085187
GtkSwitch: remove deprecated call.
2011-01-04 03:06:11 +01:00
Carlos Garnacho
029fb53ac2
Make GtkSwitch use GtkStyleContext
2010-12-28 19:25:48 +01:00
Emmanuele Bassi
b9859de917
switch: Fix the attribution line
...
Thomas Wood pointed out that the original MxGtkLightSwitch widget upon
which I based the behaviour of GtkSwitch was not written by him; the
original authors are:
Joshua Lock
Robert Staudinger
Jussi Kukkonen
My apologies to all of them.
2010-11-30 21:54:48 +00:00
Matthias Clasen
2fffce2c23
Forgotten changes
2010-11-29 16:47:45 -05:00
Javier Jardón
f07480eb44
GtkSwitch: Add missing "Since: 3.0" tags
2010-11-29 22:00:49 +01:00
Emmanuele Bassi
1f71d641e8
switch: Use ATK macros to reduce the amount of code
...
And the insanity.
Reviewed-by: Christian Persch <chpe@gnome.org>
2010-11-29 14:06:02 +00:00
Emmanuele Bassi
9ad31a5a21
switch: Use the right value for comparison
2010-11-29 13:23:28 +00:00
Emmanuele Bassi
ae95cdf8fc
switch: Add accessibility implementation
...
Modelled on GailToggleButton.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
Emmanuele Bassi
0cd0e4091f
Add GtkSwitch, a "light-switch" like widget
...
The GtkSwitch widget is a simple UI control that has two states: on and
off. Toggling between the states is possible by clicking the widget or
by dragging the handle.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00