Torsten Schönfeld
904bc27250
gtkradio*: add (allow-none) annotations were appropriate
...
https://bugzilla.gnome.org/show_bug.cgi?id=679563
2013-12-06 23:57:16 +01: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
William Jon McCann
b101d465be
Deprecate and ignore gtk-keynav-cursor-only and gtk-keynav-wrap-around
2013-06-26 15:33:10 -04:00
Alexander Larsson
1df8d18ad2
GtkCheckButton and GtkRadioButton: Implement baseline alignment
2013-04-23 05:58:07 +02:00
Emmanuele Bassi
78107b1a7d
docs: Fix up the RadioButton example in the description
2012-08-20 11:03:17 +01:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Rui Matos
6dd0bd5536
radiobutton: Use the widget state flags as a base for drawing
2012-01-09 16:31:11 +00:00
Torsten Schönfeld
4ef61e2311
gtk: add annotations for some GtkRadio* constructors
...
Since constructors like gtk_radio_button_new_from_widget take an
instance of their type as the first argument, the gi scanner interprets
them as methods.
https://bugzilla.gnome.org/show_bug.cgi?id=661858
2011-11-06 16:50:57 +01:00
Benjamin Otte
b314f03bf4
radiobutton: Remove redundant call
...
The call is done by GtkButton already, no need to override it.
2011-09-05 18:56:23 +02:00
Matthias Clasen
e2847d9637
Convert GailRadioButton to GtkRadioButtonAccessible
2011-07-05 16:08:54 -04:00
Cosimo Cecchi
9cd4a1b622
radiobutton: exclude states we set manually from the previous state
...
https://bugzilla.gnome.org/show_bug.cgi?id=645172
2011-03-18 15:16:02 -04:00
Cosimo Cecchi
ef5fb8d673
radiobutton: build the new state flags from the previous flags on click
...
This fixes e.g. sensitivity issues with GtkRadioButton on state update.
https://bugzilla.gnome.org/show_bug.cgi?id=645172
2011-03-18 15:16:01 -04:00
Martin Pitt
0e795b67c3
[GI] Mark mis-detected constructors as such
...
constructors which take an object of the same class as its first argument are
mis-detected as method call with "self" argument by the GIR scanner. Using the
new (constructor) annotation from bug 561264, mark some of them as proper
constuctors, so that you can call them with NULL as first argument from
bindings; in particular, this fixes gdk_window_new() and the
gtk_radio_button_new_with*() constructors.
2011-02-02 15:11:06 +01:00
Matthias Clasen
d9fcc4c630
Silence new gcc warnings
...
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
2011-01-23 21:51:38 -05:00
Pavel Holejsovsky
2f0d40335b
[GI] Add missing (transfer) annotations
2011-01-20 13:57:18 +01:00
Pavel Holejsovsky
3c8fc21e9b
[GI] Fixes of existing incorrect annotations
2011-01-20 13:56:06 +01:00
Pavel Holejsovsky
9389054da2
[GI] Add (type) annotations to real types
2011-01-20 10:38:38 +01:00
Pavel Holejsovsky
a1c297a310
[GI] Cosmetic cleanups of annotations and doc comments
...
This change does not introduce any functionality change, mostly
cosmtic cleanups, like re-linebreak when introduced annotations messed
up indentation or whitespace errors fixes.
2011-01-18 17:31:59 +01:00
Carlos Garcia Campos
3fff4bd091
GtkRadioButton: Use "radio" style class instead of "check"
2011-01-03 13:09:00 +01:00
Matthias Clasen
be0ed14cce
Fix GtkRadioButton drawing
2010-12-04 15:39:34 +01:00
Carlos Garnacho
be4a616e6e
GtkRadioButton: Use GtkStyleContext for rendering.
2010-12-04 15:39:20 +01:00
Matthias Clasen
016a656923
Fix prelighting of inconsistent radio and check buttons
2010-12-04 15:39:15 +01:00
Carlos Garnacho
80d1ce9f67
GtkRadioButton: Set widget state as state flags.
2010-12-04 15:38:32 +01:00
Martin Pitt
3431f7a2d7
GtkRadioButtons: Mark group arguments as "allow-none"
...
In the current introspection data, the various gtk_radio_button_new_*
constructors take an existing group or widget. These all allow passing a NULL
widget or group list, so that it becomes easy to build a radio button list in a
loop (pass in None the first time, and the previously created button in all
other iterations).
Add the missing "allow-none" tag to the introspection data, so that this will
also eventually work for GIR users. NB that it does not actually work for some
constructors yet (like new_with_label_from_widget()) due to
https://bugzilla.gnome.org/show_bug.cgi?id=561264 .
https://bugzilla.gnome.org/show_bug.cgi?id=635253
2010-11-19 16:29:43 +01:00
Javier Jardón
dec57f8ce9
Create a private header to access some GtkButton variables
2010-11-19 06:15:26 +01:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Javier Jardón
49446ed57c
gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
...
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
Javier Jardón
a93e79f8d2
gtkradiobutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
eac1959d2c
Move destroy signal to GtkWidget
...
Also make GtkWidget derive from GInitiallyUnowned
2010-09-26 22:18:18 -04:00
Benjamin Otte
1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
Benjamin Otte
ff97485695
API: checkbutton: Port to draw vfunc
...
Requires changing the API of the draw_indicator vfunc.
2010-09-26 15:11:39 +02:00
Benjamin Otte
be8a398bb5
radiobutton: Remove redundant is_drawable() check
2010-09-26 15:11:39 +02:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Matthias Clasen
54077d61e2
Add some element-type annotations to gtk apis
2010-09-17 09:26:39 -04:00
John (J5) Palmieri
8a210673fb
add gtk_radio_button_join_group method for bindings
...
* this mirrors the committed change for gtk_radio_action_join_group in
commit 85b53969b2
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioButton objects and not with the list of objects that gets
modified in the library
https://bugzilla.gnome.org/show_bug.cgi?id=628935
2010-09-07 10:41:40 -04:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
d52eb49529
gtk/gtkradiobutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
ec4c06105d
GtkRadioButton: Move public members to private structure
2010-07-13 19:40:49 +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
Javier Jardón
68701c828c
Move documentation to inline comments: GtkRadioButton
2010-05-20 00:42:50 +02:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Javier Jardón
24bafd8693
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:37:06 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
b909abaa62
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-03-01 18:03:19 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00