summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-2/+2
| | | | Instead of Return value:
* Docs: use // for comments in examplesMatthias Clasen2014-02-141-1/+1
| | | | | Without sgml mode, we can't escape /* as /* anymore, so just switch to // for comments in examples.
* docs: fully break lines in examplesWilliam Jon McCann2014-02-121-9/+19
| | | | | | | | | 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.
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-2/+2
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-2/+2
|
* docs: use apostrophe in *'mWilliam Jon McCann2014-02-071-2/+2
|
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-1/+1
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use proper quotesWilliam Jon McCann2014-02-051-2/+2
|
* docs: replace all <examples> with markdown headingsWilliam Jon McCann2014-02-041-3/+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
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-2/+2
| | | | | | | | | | | | | | | | | | 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-10/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Deprecate GtkAction and GtkUIManagerWilliam Jon McCann2013-06-301-1/+12
| | | | It is recommended to use GAction et al and GtkBuilder.
* togglebutton: always set PRELIGHT state when in_button = TRUECosimo Cecchi2012-09-141-1/+1
| | | | | | | | | | | | Previously, we would avoid setting the prelight state flag when button_down was TRUE and draw_indicator = FALSE, which is the normal case of a GtkToggleButton during a mouse press. It looks like this behavior was introduced a long time ago with commit b94e6c0a8036a0489ac8ca71de75ba7611218e50. I believe the reason was that a widget in GTK2 couldn't have more than a single state (e.g. hover+active) at a given moment. https://bugzilla.gnome.org/show_bug.cgi?id=684038
* docs: Clarify GtkToggleButton action documentationDavid King2012-08-141-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=373279
* docs: fix a number of typos and obsolete referencesCosimo Cecchi2012-07-021-1/+1
|
* button: Remove _gtk_button_paint()Benjamin Otte2012-04-171-31/+0
| | | | | All buttons use the same paint function these days. States are managed correctly so this was just leftovers from GTK 1 or GTK 2.
* togglebutton: Remove gtk-touchcreen-mode usageCarlos Garnacho2012-03-011-6/+2
| | | | | | Emulated crossing events with mode GDK_CROSSING_TOUCH_PRESS/RELEASE already cater dynamically for the "don't prelight on touch devices" usecase.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Documentation fixesMatthias Clasen2011-09-251-2/+3
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* Convert GailToggleButton to GtkToggleButtonAccessibleMatthias Clasen2011-07-051-0/+3
|
* Move documentation to inline comments: GtkToggleButtonJavier Jardón2011-04-181-2/+100
|
* Gtk(Toggle)Button: preserve untouched state flags when updating state.Carlos Garnacho2011-01-231-0/+5
| | | | | Partly fixes bug #640282, noticed by Christian Persch. buttons were clobbering the insensitive flag when updating their state.
* Update _gtk_button_paint() arguments to GtkStyleContextCarlos Garnacho2011-01-101-12/+6
| | | | | | The detail strings weren't in use anymore, and the state argument is now a GtkStateFlags. GtkToggleButton has been updated as well.
* GtkToggleButton: Make it able to be prelight and active at the same time.Carlos Garnacho2010-12-041-1/+2
|
* Make "button" class depend on mode for GtkToggleButtonsCarlos Garnacho2010-12-041-0/+12
|
* GtkToggleButton: Set widget state as state flags.Carlos Garnacho2010-12-041-6/+9
|
* Create a private header to access some GtkButton variablesJavier Jardón2010-11-191-11/+14
|
* gtktogglebutton: move public members to private structureJavier Jardón2010-10-261-27/+58
|
* gtktogglebutton: Add _gtk_toggle_button_set_active private accessorJavier Jardón2010-10-261-0/+7
| | | | It's needed by gtkradiobutton
* button: Port to draw vfuncBenjamin Otte2010-09-261-28/+28
| | | | Also port togglebutton, they use the same paint function.
* Bug 596125 — Property string fixesPhilip Withnall2010-08-101-1/+1
|
* Use GtkBin accessorsJavier Jardón2010-07-131-1/+1
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Don't use GTK_WIDGET_STATE in internal code anymoreJavier Jardón2010-03-091-1/+1
| | | | | | Use gtk_widget_get/set_state() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_DRAWABLEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_CAN_FOCUSJavier Jardón2010-01-071-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,Matthias Clasen2009-02-221-16/+15
| | | | | | | | | | * gtk/gtk.symbols: * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to gtk_activatable_sync_action_properties, since the previous name was deemed too generic. Update all implementations. svn path=/trunk/; revision=22389
* Make the new GtkAction code work with PolicyKit-gnome's use of actions.Matthias Clasen2009-02-071-1/+1
| | | | | | | | | | | | | | | | | | | * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block the action. * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset): * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset): * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset): Work with non-toggle actions without complaining. * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating the icon-name should not remove the label. * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also update the image when the icon name is set to NULL. svn path=/trunk/; revision=22290
* Don't chain up blindlyMatthias Clasen2009-01-271-1/+2
| | | | svn path=/trunk/; revision=22240
* i Bug 560228 – Add "action-controller" property to GtkWidgetClassMatthias Clasen2009-01-231-2/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075Johan Dahlin2008-01-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-06 Johan Dahlin <johan@gnome.org> * gtk/gtkcellrenderercombo.c: (gtk_cell_renderer_combo_get_property), (gtk_cell_renderer_combo_set_property): * gtk/gtkcombobox.c: (gtk_combo_box_set_property): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property): * gtk/gtknotebook.c: (gtk_notebook_set_property): * gtk/gtkspinbutton.c: (gtk_spin_button_set_property): * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property), (gtk_text_buffer_get_property): * gtk/gtktextview.c: (gtk_text_view_set_property): * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property): * gtk/gtktoolbutton.c: (gtk_tool_button_set_property), (gtk_tool_button_get_property): * gtk/gtktoolitem.c: (gtk_tool_item_set_property), (gtk_tool_item_get_property): * gtk/gtktreeview.c: (gtk_tree_view_set_property): * gtk/gtkwidget.c: (gtk_widget_set_property): * gtk/gtkwindow.c: (gtk_window_set_property): Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 svn path=/trunk/; revision=19311
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-6/+0
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* More of the sameMatthias Clasen2006-05-141-1/+1
|