summaryrefslogtreecommitdiff
path: root/gtk/gtkradiomenuitem.c
Commit message (Collapse)AuthorAgeFilesLines
* radio menu item: Drop the priv pointerMatthias Clasen2019-05-271-25/+18
|
* radio menu item: Make finalMatthias Clasen2019-05-271-0/+17
|
* The big versioning cleanupMatthias Clasen2018-02-061-12/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* radiomenuitem: Remove GtkActivatable codeTimm Bäder2016-10-181-10/+0
|
* Use NULL for generic marshallers in g_signal_new()Benjamin Otte2016-08-291-1/+1
| | | | | glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
* menuitem: deprecate toggle-spacing style propertyCosimo Cecchi2015-12-191-0/+1
| | | | We can move this to just use the actual GtkCssGadget of the menu item.
* Revise CSS node documentationMatthias Clasen2015-12-161-2/+2
| | | | | Clarify the use of brackets in the CSS node diagrams: [] means optional nodes or classes, <> means child widgets.
* menu: Add diagrams to CSS documentationMatthias Clasen2015-11-031-0/+6
|
* menu item: Use CSS nodesMatthias Clasen2015-11-021-0/+5
| | | | | | | | Use the element name menuitem for GtkMenuItem, GtkCheckMenuItem and GtkRadioMenuItem. GtkSeparatorMenuItem gets the name separator. Add a subnode with name arrow if a submenu is attached. Give the radio and check menu items a subnode with name check or radio.
* radio-menu-item: Add join_group()Matthias Clasen2015-03-221-0/+56
| | | | | | | | | | | The other Radio* widgets have this convenience method that removes the memory management of the opaque GSList used to handle the group from the API usable from language bindings (especially the ones not based on introspection). This commit adds gtk_radio_menu_item_join_group(). https://bugzilla.gnome.org/show_bug.cgi?id=671362
* radio-menu-item: Allow arguments to be NULLMatthias Clasen2015-03-221-8/+8
| | | | | | | | | | | | | | | | | | Some arguments, like the group and the label of a RadioMenuItem, can be NULL: the RadioMenuItem has all the code to deal with them. The argument validation is too strict, though, for instance doing: return_if_fail (IS_RADIO_MENU_ITEM (foo)) if (foo != NULL) set_foo (foo) Which is obviously incorrect. This commit also modifies the annotations of the API, to ensure that language bindings do the right thing. https://bugzilla.gnome.org/show_bug.cgi?id=671362
* radio-menu-item: Handle a !NULL groupEmmanuele Bassi2015-03-221-0/+2
| | | | | | | | | If we create a RadioMenuItem without a group, and then set a group, the menu item will still be set as active, which means an inconsistently drawn radio menu item - as the RadioMenuItem will set the active flag on itself, but then it won't reset it when it gets a new group. https://bugzilla.gnome.org/show_bug.cgi?id=671362
* Allow gtk_radio_menu_item_set_group() to be called twice without crashing.John Lindgren2014-03-261-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=726859
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-3/+3
| | | | Instead of Return value:
* docs: replace all <examples> with markdown headingsWilliam Jon McCann2014-02-041-4/+2
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* gtkradio*: add (allow-none) annotations were appropriateTorsten Schönfeld2013-12-061-5/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679563
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-6/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Deprecate GtkAction and GtkUIManagerWilliam Jon McCann2013-06-301-0/+4
| | | | It is recommended to use GAction et al and GtkBuilder.
* Fix #673243: accelerators not visible on GtkRadioMenujjacky2013-02-181-30/+12
| | | | | | | Also fixes a bug in set_property handler, where setting group to NULL would cause a warning. Signed-off-by: jjacky <i.am.jack.mail@gmail.com>
* radiobutton: add missing (element-type) annotation for radio groupsCosimo Cecchi2012-06-251-3/+4
| | | | | | | The GSLists should specify their element-type in every annotation. We are missing some. https://bugzilla.gnome.org/show_bug.cgi?id=677127
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: add annotations for some GtkRadio* constructorsTorsten Schönfeld2011-11-061-3/+3
| | | | | | | | 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
* Documentation fixesMatthias Clasen2011-09-251-2/+3
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* a11y: Rename radiosubmenuitem to radiomenuitemBenjamin Otte2011-07-181-2/+2
|
* a11y: Remove gtkradiomenuitemaccessible.[ch]Benjamin Otte2011-07-181-1/+0
| | | | We use gtkradiosubmenuitemaccessible exclusively these days.
* menuitems: Use submenuitem accessible exclusivelyBenjamin Otte2011-07-061-19/+2
| | | | | | | Submenus can come and go, so we cannot use an accessible that doesn't allow for that. Also, this fixes a rather large refleak.
* Convert GailCheck(Sub)MenuItem to GtkAccessible classesMatthias Clasen2011-07-051-2/+0
| | | | | This is along the same lines as the previous commit, with the same caveat.
* Convert GailRadio(Sub)MenuItem to GtkAccessible classesMatthias Clasen2011-07-051-2/+23
| | | | | | | | The way submenus are handled here isn't really right, since they can come and go at runtime, but I've left it like this for now. A side-effect is that we can't use gtk_widget_class_set_accessible_type here, but have to override get_accessible.
* gtk/gtkradiomenuitem: gtk_misc_set_alignmentDiego Celix2011-06-101-2/+4
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkradiomenuitem.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* Move documentation to inline comments: GtkRadioMenuItemJavier Jardón2011-04-181-0/+49
|
* [GI] Fixes of existing incorrect annotationsPavel Holejsovsky2011-01-201-3/+3
|
* [GI] Add (type) annotations to real typesPavel Holejsovsky2011-01-201-1/+2
|
* Move destroy signal to GtkWidgetJavier Jardón2010-09-261-11/+11
| | | | Also make GtkWidget derive from GInitiallyUnowned
* Tons of transfer annotationsMatthias Clasen2010-09-211-9/+18
|
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-7/+7
|
* Add _gtk_check_menu_item_set_active() internal functionJavier Jardón2010-07-191-3/+3
| | | | | | It's needed by gtkradiomenuitem Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432
* GtkRadioMenuItem: Move public members to private structureJavier Jardón2010-07-131-27/+45
|
* Use accessor functions to access GtkCheckMenuItemJavier Jardón2010-07-131-7/+11
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-0/+10
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* i Bug 560228 – Add "action-controller" property to GtkWidgetClassMatthias Clasen2009-01-231-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework the way actions and proxies interact, to make the interaction less ad hoc, more extensible, and better suited for support in GUI builders like glade. To be used as a proxy, a widget must now implement the GtkActivatable interface, and GtkActivatable implementations are responsible for syncing their appearance with the action and for activating the action. All the widgets that are commonly used as proxies implement GtkActivatable now. Patch by Tristan van Berkom. * gtk/gtkactivatable.[hc]: The GtkActivatable interface. * gtk/gtkbutton.c: * gtk/gtktogglebutton.c: * gtk/gtktoolitem.c: * gtk/gtktoolbutton.c: * gtk/gtktoggletoolbutton.c: * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkimagemenuitem.c: * gtk/gtkradiomenuitem.c: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooser.c: * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable. * gtk/gtkaction.[hc]: Move appearance synchronization to GtkActivatable implementations. * gtk/gtkradioaction.c: * gtk/gtkrecentaction.c: * gtk/gtktoggleaction.c: * gtk/gtkactiongroup.c: Adapt. * gtk/gtk.h: Include gtkactivatable.h * gtk/gtk.symbols: Add new functions svn path=/trunk/; revision=22195
* gtk/gtkclist.c gtk/gtkcontainer.c gtk/gtkfilechooserbutton.cMichael Natterer2008-08-071-3/+2
| | | | | | | | | | | | | | | | | | | | | 2008-08-07 Michael Natterer <mitch@imendio.com> * gtk/gtkclist.c * gtk/gtkcontainer.c * gtk/gtkfilechooserbutton.c * gtk/gtkgamma.c * gtk/gtkmenutoolbutton.c * gtk/gtkoptionmenu.c * gtk/gtkradiobutton.c * gtk/gtkradiomenuitem.c * gtk/gtktipsquery.c * gtk/gtktree.c * gtk/gtktreeview.c: chain up unconditionally in destroy(). * gtk/gtkhandlebox.c: remove empty destroy() implementation. svn path=/trunk/; revision=21035
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.cMichael Natterer2008-02-071-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkcellview.c * gtk/gtklabel.c * gtk/gtklayout.c * gtk/gtklist.c * gtk/gtkmenu.c * gtk/gtkmenushell.c * gtk/gtkmisc.c * gtk/gtkoptionmenu.c * gtk/gtkplug.c * gtk/gtkpreview.c * gtk/gtkprogress.c * gtk/gtkradiomenuitem.c * gtk/gtkscale.c * gtk/gtkscrolledwindow.c * gtk/gtksocket.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19492
* Fix typoMatthias Clasen2007-06-031-1/+1
| | | | svn path=/trunk/; revision=18013