summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckmenuitem.h
Commit message (Collapse)AuthorAgeFilesLines
* menu: Implement snapshot() for the menu codeBenjamin Otte2016-12-201-3/+3
|
* menuitem: deprecate toggle-spacing style propertyCosimo Cecchi2015-12-191-6/+0
| | | | We can move this to just use the actual GtkCssGadget of the menu item.
* docs: add Gtk*Class docsWilliam Jon McCann2014-01-201-0/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=81006
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+11
| | | | Add annotations to all exported functions in GTK+ headers.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-4/+4
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Fix gtk-doc markup: /* <private> */ should be /*< private >*/Javier Jardón2010-10-301-1/+1
|
* API: checkmenuitem: Port to draw vfuncBenjamin Otte2010-09-261-1/+1
| | | | Requires changing the draw_indicator vfunc to take a cairo_t.
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-4/+4
|
* Add _gtk_check_menu_item_set_active() internal functionJavier Jardón2010-07-191-0/+5
| | | | | | It's needed by gtkradiomenuitem Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432
* gtkcheckmenuitem: Move public members to private structureJavier Jardón2010-07-131-4/+3
|
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Remove deprecated code: GtkCheckMenuItemJavier Jardón2010-05-031-6/+0
|
* no need to include <gdk/gdk.h> in any widget header, it's included viaMichael Natterer2008-10-301-1/+0
| | | | | | | | | | 2008-10-30 Michael Natterer <mitch@imendio.com> * gtk/*.h: no need to include <gdk/gdk.h> in any widget header, it's included via gtkwidget.h anyway. svn path=/trunk/; revision=21732
* 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
* Switch to "guint GSEAL (foo) : width;" when packing fields in guints.Tim Janik2008-06-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkbox.h: * gtk/gtkbutton.h: * gtk/gtkcellrenderer.h: * gtk/gtkcellrenderertext.h: * gtk/gtkcheckmenuitem.h: * gtk/gtkcontainer.h: * gtk/gtkentry.h: * gtk/gtkhandlebox.h: * gtk/gtkimcontextsimple.h: * gtk/gtklabel.h: * gtk/gtkliststore.h: * gtk/gtkmenu.h: * gtk/gtkmenuitem.h: * gtk/gtkmenushell.h: * gtk/gtknotebook.h: * gtk/gtkpaned.h: * gtk/gtkplug.h: * gtk/gtkprintjob.h: * gtk/gtkprogressbar.h: * gtk/gtkrange.h: * gtk/gtkscale.h: * gtk/gtkscrolledwindow.h: * gtk/gtksizegroup.h: * gtk/gtksocket.h: * gtk/gtkspinbutton.h: * gtk/gtkstatusbar.h: * gtk/gtktable.h: * gtk/gtktearoffmenuitem.h: * gtk/gtktextbuffer.h: * gtk/gtktextview.h: * gtk/gtktogglebutton.h: * gtk/gtktoolbar.h: * gtk/gtktreestore.h: * gtk/gtktreeviewcolumn.h: * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints. svn path=/trunk/; revision=20621
* seal public struct members.Tim Janik2008-06-201-4/+4
| | | | | | * gtk/gtkcheckmenuitem.h: seal public struct members. svn path=/trunk/; revision=20503
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-4/+4
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-10/+4
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Doc formatting tweaks.Matthias Clasen2003-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkmain.c: Doc formatting tweaks. * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo. * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): Use the same parameter names as in .c file, to pacify gtk-doc. * gtk/gtktoggletoolbutton.[hc]: * gtk/gtktoolbutton.[hc]: * gtk/gtktoolitem.[hc]: * gtk/gtktoolbar.[hc]: * gtk/gtkcolorbutton.[hc]: * gtk/gtkfontbutton.[hc]: * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the source, not in the header. * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): Document these as 2.4 API additions. * gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge. * gtk/gtk-sections.txt: Additions. * gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
* Only treat buttons as homogeneous when they are narrower than 13 time theSoeren Sandmann2003-08-291-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c: Only treat buttons as homogeneous when they are narrower than 13 time the estimated character width of the font. (#107781, David Bordoley) * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check here if the GtkToggleButton is active. This may be the case if it is a radio button. * gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc vs. void (*) (GtkWidget, gpointer). (#107495, Mariano Suarez-Alvarez). * gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio" property. (#111207, David Bordoley). * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_create_menu_proxy): use new "draw_as_radio" property on the menu item when the item is a radio tool button * gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes to only pay attention to the "use_underline" property when the button label comes from the "label" property.
* Deprecation cleanupManish Singh2002-10-051-6/+6
| | | | | | | | Fri Oct 4 18:40:50 2002 Manish Singh <yosh@gimp.org> * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch] gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch] gtkradiomenuitem.[ch]: Deprecation cleanup
* Massive padding addition to class structures.Owen Taylor2002-02-231-0/+6
| | | | | | | | Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/*.h gdk/*.h: Massive padding addition to class structures. * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
* [ Patch from Sebastian Wilhelmi, 52790 ]Owen Taylor2001-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | Wed Aug 22 19:15:39 2001 Owen Taylor <otaylor@redhat.com> [ Patch from Sebastian Wilhelmi, 52790 ] * gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h * gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h: Move compatibility macros from g[dt]kcompat.h to within #ifndef G[DT]K_DISABLE_DEPRECATED in each file. * gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h. * demos/Makefile.am demos/gtk-demo/Makefile.am docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED. * demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c, testpixbuf.c}: Fix usages of deprecated functions.
* Fix stupid error introduced last night that was making things decidedlyOwen Taylor2001-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error introduced last night that was making things decidedly not work. * gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters so that we have getter/setter pairing everywhere it makes sense. (#55767) * gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.: Rename gtk_radio_button_group to gtk_radio_button_get_group, add a deprecated compat macro. (#55516) * gtk/gtklabel.[ch]: Add functions gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(), gtk_label_set_label(), which mirror the property API for GtkLabel. Make gtk_label_get_attributes() only reflect the attributes set by gtk_label_set_attributes. * gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename from gtk_notebook_set_page().
* Use new mnemonic convenience functionsHavoc Pennington2001-06-051-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-05 Havoc Pennington <hp@redhat.com> * gtk/gtkcolorsel.c: Use new mnemonic convenience functions Applying patch from Jeff Franks, with function docs added. * gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic): remove call to set_mnemonic_widget, change docs a bit. * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic): new function * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic): new function * gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function * gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new function (gtk_radio_button_new_with_mnemonic_from_widget): new function * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic): new function * gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new function * gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on auto-selection of mnemonic widget.
* Apply property patch from Lee MallaboneHavoc Pennington2001-03-231-3/+5
| | | | | | | | | | | | | | | | | 2001-03-23 Havoc Pennington <hp@redhat.com> * gtk/gtkhandlebox.c: Apply property patch from Lee Mallabone * gtk/gtkbox.c: Apply property patch from Lee Mallabone * gtk/gtkcheckmenuitem.c: Apply property patch from Lee Mallabone, and deprecated gtk_check_menu_item_set_show_toggle(). * gtk/gtkbutton.c: Apply property patch from Lee Mallabone * gtk/gtkfilesel.c: Apply property patch from Lee Mallabone * gtk/gtkframe.c: Apply property patch from Lee Mallabone
* test was backward, so deprecated functions were excluded by defaultHavoc Pennington2001-02-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Havoc Pennington <hp@redhat.com> * gdk/gdkcolor.h: test was backward, so deprecated functions were excluded by default * gtk/gtkstyle.c (gtk_default_draw_diamond): draw etched in/out, clean up the old code a bit * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): draw inconsistent state * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): draw inconsistent state * gtk/testgtk.c (create_toggle_buttons): add test for inconsistent (create_menu): add inconsistent test * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_inconsistent): new function (gtk_check_menu_item_get_inconsistent): new function (gtk_real_check_menu_item_draw_indicator): draw the inconsistent state (using etched in for now) * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw inconsistent state * gtk/gtktogglebutton.c (gtk_toggle_button_set_inconsistent): new function, used when the user has selected a range of stuff in different states (gtk_toggle_button_get_inconsistent): accessor for that (gtk_toggle_button_paint): draw inconsistent state (etched in? don't know what else to do)
* Use G_GNUC_CONST.Elliot Lee2000-08-301-1/+1
| | | | Use G_GNUC_CONST.
* applied patch from Andreas Persenius <ndap@swipnet.se> that updates theTim Janik2000-07-261-4/+4
| | | | | | | | Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org> * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that updates the license headers to the GNU Lesser General Public License, as well as updating the copyright year to 2000.
* s/refcount/ref_count/.Tim Janik2000-02-131-3/+4
| | | | | | | | | | | | | | | | | | Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org> * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/. * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the parameters given and cursor->ref_count. coding style fixups. * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer, not GtkWidget. * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to fix up widget macros and add _GET_CLASS() variant. * gtk/*.c: some GtkType fixups.
* Added notice to look in AUTHORS and ChangeLog files for a list of changes.CST 1999 Shawn T. Amundson1999-02-241-0/+8
| | | | | | | Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson <amundson@gtk.org> * *.[ch]: Added notice to look in AUTHORS and ChangeLog files for a list of changes.
* deprecated gtk_check_menu_item_set_state, people should useTim Janik1999-01-171-8/+8
| | | | | | | | | | | | Sun Jan 17 14:52:29 1999 Tim Janik <timj@gtk.org> * gtk/gtkcompat.h: * gtk/gtkcheckmenuitem.[hc]: deprecated gtk_check_menu_item_set_state, people should use gtk_check_menu_item_set_active instead. * gtk/testgtk.c: s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.
* removed all occourances of #pragma } and #pragma { which were in place toTim Janik1998-10-071-1/+0
| | | | | | | | | | | Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org> * gtk/gtk*.h: * gdk/gdk.h: removed all occourances of #pragma } and #pragma { which were in place to fixup emacs' cc-mode indentation. putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the proper way to achive this and doesn't produce problems for stupid pragma-related compiler bugs. ;)
* reimplemented the signal storage system to use a linear array rather thanTim Janik1998-05-061-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org> * gtk/gtksignal.c: reimplemented the signal storage system to use a linear array rather than a hash table. be carefull *not* to keep any GtkSignal pointers across invokations of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v](). general code cleanups, made all allocations through memchunks. (gtk_signal_lookup): we now do the lookup of signals through a key_id for the signal names to avoid multiple hashing of the signal name on lookups for the several hirarchy levels of an object. Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly checking for signal initialization in gtksignal.c. * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after a long debugging period ;) Mon May 4 00:30:11 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup gtk_type_is_a(). * gtk/gtktypeutils.c: reimplemented the type storage system to use a linear array rather than a hash table. it actually speeded up testgtk for a *considerable* amount. be carefull *not* to keep any GtkTypeNode pointers across invokations of gtk_type_node_next_and_invalidate() and therefore gtk_type_unique()! * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the inheritance of a class pointer. (GTK_OBJECT): modifications for speedups. (GTK_IS_OBJECT): likewise. (GTK_OBJECT_CLASS): likewise. (suggested by owen). * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro. * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro. * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed, since its derivation changed 4 month ago ;(. showed up with the unique type name checking code in gtk_type_unique(). * random guint->GtkType and macro fixups.
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-131-2/+3
| | | | | | Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Changed LGPL address for FSF in all .h and .c files
* applied jamesa-971010-0 for stability. applied jamesa-971010-2 for a smallTim Janik1997-12-071-0/+3
| | | | | | | | | | | | * gtkfilesel.c: applied jamesa-971010-0 for stability. * gtkrc.c: applied jamesa-971010-2 for a small optimization. * gtkcheckmenuitem.h: * gtkcheckmenuitem.c: * gtkradiomenuitem.c: * testgtk.c: applied johannes-971113-0 which adds gtk_check_menu_item_set_show_toggle() to change the way check menu items and radio menu items look. -timj
* Initial revisionElliot Lee1997-11-241-0/+69