summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.h
Commit message (Collapse)AuthorAgeFilesLines
* boxlayout: Add a baseline child propertyMatthias Clasen2023-04-291-0/+6
| | | | | | | | | In horizontal layout, we line up the baselines of all children to find how much space we need above and below the box baseline. In vertical layout, we need to pick one child to inherit the baseline from, which is what the new GtkBoxLayout:baseline-child property is about. It is the equivalent of GtkGridLayout:baseline-row.
* Convert headers to #pragma onceMatthias Clasen2023-03-311-3/+1
| | | | The conversion was done by guard2one.
* gtk: Dissolve gtk-autocleanup.hMatthias Clasen2022-09-231-0/+1
| | | | | Move the autocleanup declarations into their respective headers.
* Replace "gint" with "int"Benjamin Otte2020-07-251-3/+3
|
* box: Derive from GtkWidgetMatthias Clasen2020-05-111-3/+3
|
* box: Add gtk_box_append/prepend/removeMatthias Clasen2020-05-111-2/+12
| | | | Add replacement api for gtk_container_add/remove.
* Padding reviewMatthias Clasen2019-05-191-5/+1
| | | | | | | | | | | | Ensure that the class structs of all subclassable types have sufficient padding (standardizing on 8 slots, here). GtkBox GtkButton GtkDrawingArea GtkFixed GtkFrame
* box: Avoid position in the reorder apiMatthias Clasen2019-01-231-2/+8
| | | | | | | | | | Change the reorder api to insert after a sibling, so that moving to first place becomes reorder (... NULL). And add a insert_after api that can replace the common container_add / reorder_after (... NULL) combination. Update all callers.
* box: Remove gtk_box_pack_startTimm Bäder2019-01-231-4/+0
|
* box: Remove gtk_box_pack_endTimm Bäder2019-01-231-4/+0
|
* box: Remove pack-type child propertyTimm Bäder2019-01-231-9/+0
|
* The big versioning cleanupMatthias Clasen2018-02-061-2/+2
| | | | | | | 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.
* box: Drop priv pointerTimm Bäder2017-10-061-5/+1
|
* box: Remove center childTimm Bäder2017-04-251-6/+0
|
* box: Remove fill child propertyTimm Bäder2017-04-251-6/+2
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-4/+0
| | | | GtkWidget already has hexpand/vexpand properties.
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-6/+2
|
* Add center widget support to GtkBoxMatthias Clasen2014-02-161-0/+6
| | | | | | This makes GtkCenterBox unnecessary, and at the same time adds more features: the center widget can be expanded, and baseline alignment is supported.
* docs: add Gtk*Class docsWilliam Jon McCann2014-01-201-0/+6
| | | | 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.
* GtkBox: Add baseline alignment for horizontal boxesAlexander Larsson2013-04-231-0/+5
| | | | | | | | | Report a baseline based height and baseline whenever there are children with ALIGN_BASELINE. Assign baseline to childen in size_allocate. Either the one inherited from the parent if set, or otherwise calculate one based on any ALIGN_BASELINE children.
* 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
|
* gtkbox: Move private functions to private headerJavier Jardón2011-10-021-7/+0
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-1/+0
| | | | Because it's FALSE in virtually all use cases.
* Add padding to class structsMatthias Clasen2010-10-191-0/+6
|
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-4/+4
|
* Add _gtk_box_get_children() internal functionCarlos Garcia Campos2010-08-051-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=625300
* Move GtkBoxChild from the public .h to gtkbox.cJavier Jardón2010-07-201-34/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=624397
* Do not use GtkBoxChild in GtkButtonBox.Paolo Borelli2010-07-151-2/+0
| | | | | Do not store the is_secondary bit in the deprecated parent struct, use a simple flag on the object instead. Fixes bug #624367.
* gtkbox: Move public members to private structureJavier Jardón2010-07-131-4/+3
|
* Make orientable base classes instantiableMatthias Clasen2010-05-251-1/+1
| | | | | | This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox, GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these types instantiable.
* Deprecate GtkBoxChildMatthias Clasen2010-05-221-2/+5
| | | | This was discussed in bug 613132.
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Remove deprecated functions from GtkBoxChristian Dywan2010-05-031-7/+0
|
* Move documentation to inline comments: GtkBoxTadej Borovšak2010-04-281-0/+22
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* 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
* keep GtkBox as an abstract type and keep _gtk_box_new() as private11:03:30 Tim Janik2008-10-071-2/+2
| | | | | | | | | | | 2008-10-07 11:03:30 Tim Janik <timj@imendio.com> * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new() as private function until we settle on the exact semantics. renamed _gtk_box_set_old_defaults() as suggested by Mitch. svn path=/trunk/; revision=21599
* Bug 553573 – Add orientation API to GtkBoxMichael Natterer2008-10-071-41/+49
| | | | | | | | | | | | | | | | | | | | | 2008-10-07 Michael Natterer <mitch@imendio.com> Bug 553573 – Add orientation API to GtkBox * gtk/gtkbox.[hh]: implement the GtkOrientable interface and swallow all code from GtkHBox and GtkVBox. Add gtk_box_new() which takes a GtkOrientation argument. Also move the newly added "spacing_set" boolean from struct GtkBox to the new private struct. * gtk/gtkhbox.[ch] * gtk/gtkvbox.[ch]: remove all code except the constructor and call gtk_orientable_set_orientation() in init(). * gtk/gtk.symbols: add gtk_box_new(). svn path=/trunk/; revision=21596
* Bug 408244 – add GtkDialog::content-area-spacingChristian Dywan2008-09-241-0/+4
| | | | | | | | | | | | * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing), (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set): * gtk/gtkbox.h: * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings): Implement "content-area-spacing" style property in GtkDialog and internal helper _gtk_box_get_spacing_set in GtkBox. Patch by Tim Janik, Sven Herzberg and myself. svn path=/trunk/; revision=21508
* Deprecate gtk_box_pack_{start,end}_defaultsMatthias Clasen2008-07-061-0/+2
| | | | svn path=/trunk/; revision=20786
* 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Deprecate direct access to public variables in GtkBox.Tim Janik2008-06-201-3/+3
| | | | | | * gtk/gtkbox.h: Deprecate direct access through GSEAL(). svn path=/trunk/; revision=20489
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-1/+1
| | | | | | | | | | | 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
* Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, BenoitMatthias Clasen2005-06-211-7/+2
| | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/*.h: Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, Benoit Carpentier)
* Documentation fixes.Soeren Sandmann2002-10-131-1/+2
| | | | | | | | | | | | | | | | | Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c, gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml, gtktreemodel.sgml,gtktable.sgml, gtktable.c: Documentation fixes. #85719, #90759, #95169, Owen Taylor; #89221, Yao Zhang, Matthias Clasen; #95592, Joost Faassen; #92637, Vitaly Tishkov; #94616, Ben Martin; #94772, sbaillie@bigpond.net.au;
* Deprecation cleanupManish Singh2002-10-071-6/+6
| | | | | | | Sun Oct 6 21:23:29 2002 Manish Singh <yosh@gimp.org> * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch]: Deprecation cleanup