summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: correct various spelling and grammar errorsWill Thompson2013-03-041-1/+1
| | | | | I noticed a few cases of "wether", and while fixing them noticed a few "its" which should be "it's". It all went downhill from there.
* Add gtk_widget_(un)register_windowAlexander Larsson2013-02-071-2/+2
| | | | | | | | | | | | This replaces the previously hardcoded calls to gdk_window_set_user_data, and also lets us track which windows are a part of a widget. Old code should continue working as is, but new features that require the windows may not work perfectly. We need this for the transparent widget support to work, as we need to specially mark the windows of child widgets. https://bugzilla.gnome.org/show_bug.cgi?id=687842
* Chain up relevant GObjectClass:notify vfuncsClaudio Saavedra2012-08-071-0/+3
| | | | | | | | These widgets have ancestors other than GObject which could eventually implement the notify vfunc for their properties. For correctness, they should chain up the notify vfunc. https://bugzilla.gnome.org/show_bug.cgi?id=673478
* docs: fix a number of typos and obsolete referencesCosimo Cecchi2012-07-021-5/+2
|
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Documentation: Correct references to properties.Murray Cumming2012-02-151-1/+1
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.hMichael Natterer2011-10-231-1/+0
| | | | and remove gtkmainprivate.h completely.
* GtkToolItemPrivate: Improve struct packingMatthias Clasen2011-04-121-9/+8
|
* Move docs for gtkmain inlineMatthias Clasen2011-01-041-1/+1
| | | | | | | | At the same time, introduce a gtkmainprivate.h header and various other cleanups. Based on a patch by Tadej Borovšak. https://bugzilla.gnome.org/show_bug.cgi?id=617471
* GtkToolItem: Remove unneeded callCarlos Garnacho2011-01-041-2/+0
|
* Remove size_request from gtkToolItemMatthias Clasen2010-10-301-35/+45
|
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* Tons of transfer annotationsMatthias Clasen2010-09-211-13/+15
|
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-2/+5
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* gtk/gtktoolitem.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-26/+34
|
* GtkToolItem: unseal private pointerJavier Jardón2010-07-141-2/+3
|
* Use GtkBin accessorsJavier Jardón2010-07-131-6/+6
|
* Use accessor functions to acces GtkContainerJavier Jardón2010-07-131-5/+7
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Move documentation to inline comments: GtkToolItemJavier Jardón2010-05-131-0/+1
|
* Remove deprecated GtkTooltipsChristian Dywan2010-05-031-2/+0
|
* [gtk/gtktoolitem] Remove deprecated GtkToolItem stuffJavier Jardón2010-05-031-21/+0
| | | | This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
* Remove deprecated GtkToolItem functionsChristian Dywan2010-05-031-57/+0
|
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-031-1/+2
| | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-031-1/+1
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)Javier Jardón2010-03-021-1/+1
| | | | Use new API instead: gtk_widget_set_can_focus ()
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-2/+2
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_SENSITIVEJavier Jardón2010-03-011-2/+2
| | | | | | Use gtk_widget_get_sensitive() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Change GtkIconSize to int in params/return valuesDan Winship2009-12-191-1/+2
| | | | | | | | | GtkIconSize is an extensible enumeration (via gtk_icon_size_register()), so methods that claim to take/return a GtkIconSize need to actually use "int" to work correctly with bindings that are strict about enum values. https://bugzilla.gnome.org/show_bug.cgi?id=604895
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-6/+6
| | | | | | | | 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.
* Fix gtk_tool_item_get_text_size_group return valueMatthias Clasen2009-12-131-1/+1
| | | | Reported by Kazuki Iwamoto in bug 604462.
* Fix small documentation problems after the toolpalette mergeMatthias Clasen2009-11-281-22/+22
| | | | | Several Since tags were wrong. Spotted by Christian Persch in bug 603268.
* Fix a doc commentMatthias Clasen2009-11-271-7/+6
|
* Merge branch 'master' into toolpaletteJohannes Schmid2009-10-281-0/+16
|\
| * docs: inline see_also to sections docs and add missing <variablelist>Stefan Kost2009-07-281-0/+16
| | | | | | | | This fixes docbook validation for the file.
* | ToolShell: Add ellipsize, text-orientation, text-alignment and size-group.Murray Cumming2009-07-131-0/+106
|/ | | | | | | | | | | | | * gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation, text-alignment and size-group plus getter/setters to invoke these vfuncs. * gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the parent GtkToolShell. This is in the style of the existing "properties". * gtk/gtktoolbutton.c: Updated to use the extra properties. * docs/reference/gtk/gtk-sections.txt * gtk/gtk.symbols: Updated to mention the new functions. These new "properties" are used by GtkToolPalette.
* Rename gtk_activatable_reset to gtk_activatable_sync_action_properties,Matthias Clasen2009-02-221-16/+16
| | | | | | | | | | * 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
* More action-related fixesMatthias Clasen2009-01-261-5/+5
| | | | svn path=/trunk/; revision=22218
* i Bug 560228 – Add "action-controller" property to GtkWidgetClassMatthias Clasen2009-01-231-7/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bug 561335 - Fix typos in GtkToolItem documentationPaul Bolle2008-11-221-15/+15
| | | | | | * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation svn path=/trunk/; revision=21798
* Fix up short descriptionsMatthias Clasen2008-10-271-1/+1
| | | | svn path=/trunk/; revision=21721
* gtk/gtktext.c gtk/gtktextbuffer.c gtk/gtktextlayout.cSven Neumann2008-08-081-3/+3
| | | | | | | | | | | | | | | | | | | | 2008-08-08 Sven Neumann <sven@gimp.org> * gtk/gtktext.c * gtk/gtktextbuffer.c * gtk/gtktextlayout.c * gtk/gtktexttagtable.c * gtk/gtktextview.c * gtk/gtktipsquery.c * gtk/gtktoolbar.c * gtk/gtktoolitem.c * gtk/gtktreeitem.c * gtk/gtktreemodelfilter.c * gtk/gtktreemodelsort.c * gtk/gtktreeviewcolumn.c: use canonical signal names. svn path=/trunk/; revision=21045
* gtk/gtkactiongroup.c gtk/gtkcellrendererspin.c gtk/gtkfilechooserbutton.cMichael Natterer2008-08-071-4/+3
| | | | | | | | | | | | 2008-08-07 Michael Natterer <mitch@imendio.com> * gtk/gtkactiongroup.c * gtk/gtkcellrendererspin.c * gtk/gtkfilechooserbutton.c * gtk/gtktoolitem.c: chain up unconditionally in finalize(). svn path=/trunk/; revision=21036
* 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/gtkfilesel.c gtk/gtkinputdialog.c gtk/gtkmenutoolbutton.cMichael Natterer2008-06-171-2/+5
| | | | | | | | | | | | | | | | | 2008-06-17 Michael Natterer <mitch@imendio.com> * gtk/gtkfilesel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkoptionmenu.c * gtk/gtktoolitem.c * gtk/gtktooltips.c: add or move around #undef GTK_DISABLE_DEPRECATED so it's possible to build without deprecated stuff again (with the minor glitch that it doesn't link ;) but at least it's a tool to keep the code clean). svn path=/trunk/; revision=20426
* Go back to 2.13.0 as version for now, as there was no consensus to do theMatthias Clasen2008-02-151-1/+1
| | | | | | | | | | | | | 2008-02-15 Matthias Clasen <mclasen@redhat.com> * configure.in: Go back to 2.13.0 as version for now, as there was no consensus to do the jump. * many other places: Update Since: tags. svn path=/trunk/; revision=19586
* gtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.cMichael Natterer2008-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-06 Michael Natterer <mitch@imendio.com> * gtk/gtkcontainer.c * gtk/gtkexpander.c * gtk/gtkframe.c * gtk/gtklabel.c * gtk/gtkmain.c * gtk/gtkmenu.c * gtk/gtkmenuitem.c * gtk/gtkmenushell.c * gtk/gtknotebook.c * gtk/gtkseparatortoolitem.c * gtk/gtksocket.c * gtk/gtktextlayout.c * gtk/gtktoggletoolbutton.c * gtk/gtktoolbutton.c * gtk/gtktoolitem.c * gtk/gtktree.c * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply "GTK_IS_FOO (foo)". svn path=/trunk/; revision=19481
* Explain name choice for gtk_tool_item_toolbar_reconfigured.Mathias Hasselmann2008-01-141-0/+7
| | | | | | | * gtk/gtktoolitem.c: Add comment expaining name choice for gtk_tool_item_toolbar_reconfigured. svn path=/trunk/; revision=19362
* Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShellMathias Hasselmann2008-01-131-10/+10
| | | | | | | | | | | implementations to notify its children, when some aspect of their configuration changed (#509042). * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured. * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h: Rename _gtk_tool_item_toolbar_reconfigured. svn path=/trunk/; revision=19361