summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.c
Commit message (Collapse)AuthorAgeFilesLines
* frame: Remove unneeded checksBenjamin Otte2014-05-011-10/+4
| | | | | Size vfuncs always get non-null out variables passed, so no need to check for NULL.
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-4/+4
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-5/+4
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-5/+5
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use proper quotesWilliam Jon McCann2014-02-051-1/+1
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-1/+1
|
* docs: Convert to markdownMatthias Clasen2014-02-021-8/+4
| | | | Specifically, switch to using markdown syntax for sections.
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* frame: Remove a couple strange casts...Jasper St. Pierre2013-11-011-5/+3
|
* frame: annotate the @label params with (allow-none)Stefan Sauer2013-08-291-1/+1
|
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Always use gint for border_widthMatthias Clasen2013-05-041-1/+1
| | | | | | | This avoids an evil trap when doing MAX (..., ... - 2 * border_width) and the expression on the right gets promoted to unsigned, instead of going negative as you would expect. https://bugzilla.gnome.org/show_bug.cgi?id=699633
* Paint GtkFrame background correctly when there is a labelPaolo Borelli2012-12-231-3/+11
|
* Paint GtkFrame backgroundPaolo Borelli2012-12-211-0/+2
| | | | | | It already paints the css border, so let's make it also honor css background. This is needed to have a box of a different color around some widgets (e.g. latest gnome-clocks design)
* gtk: Get gtkwidgetpath.h includes out of the public headersBenjamin Otte2012-03-191-0/+1
| | | | and include them in the C files instead.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* GtkFrame: Fix a casting in the compute_child_allocation() methodClaudio Saavedra2011-12-131-4/+4
| | | | | | | The casting used to calculate the child allocation is confusing MAX(). As a result, width and height end up with negative values, which makes no sense. https://bugzilla.gnome.org/show_bug.cgi?id=666109
* frame: don't access padding before it's initializedCosimo Cecchi2011-11-231-3/+3
| | | | Move padding initialization before its first access.
* frame: make sure to allocate the CSS border widthCosimo Cecchi2011-11-201-34/+33
| | | | | | | | | | | Similar to GtkNotebook, GtkFrame was only allocating space for the padding width, and not the border. This could be seen by just running tests/testframe. With a theme that renders frame borders, setting xthickness = 0 in the test draws the button border over the frame border, which is wrong. https://bugzilla.gnome.org/show_bug.cgi?id=664342
* frame: add GTK_STYLE_CLASS_FRAME in _init()Cosimo Cecchi2011-11-201-23/+4
| | | | | | | Instead of adding it every time we use the GtkStyleContext, just add it in _init(). https://bugzilla.gnome.org/show_bug.cgi?id=664342
* Convert GailFrame to GtkFrameAccessibleMatthias Clasen2011-07-051-0/+3
|
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-1/+1
|
* API: Change semantics of gtk_container_get_child_path()Benjamin Otte2011-06-021-1/+3
| | | | | | Include the child widget path in the returned path now. This allows customizing the path of the current widgets - like adding flags to child widgets (and maybe siblings in the future).
* Move documentation to inline comments: GtkFrameJavier Jardón2011-04-131-0/+37
|
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-2/+4
|
* Make GtkFrame propagate the "frame" style class to its header labelCarlos Garnacho2011-01-171-0/+18
|
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-0/+1
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Make GtkFrame use GtkStyleContext.Carlos Garnacho2010-12-281-65/+106
|
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-58/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* API: Rename gtk_cairo_paint_*() to gtk_paint_*()Benjamin Otte2010-09-261-3/+3
| | | | | | Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
* frame: Port to draw vfuncBenjamin Otte2010-09-261-29/+17
|
* frame: Remove unneeded is_drawable() checkBenjamin Otte2010-09-261-47/+44
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-1/+1
|
* Fix more SizeRequest implementations to avoid recursive calls to wrapper APIHavoc Pennington2010-09-121-1/+1
| | | | | | | | GtkFrame, GtkComboBox, GtkExpander, GtkMenu, GtkWrapBox These are all the examples I could find so far. https://bugzilla.gnome.org/show_bug.cgi?id=628829
* Remove deprecated 'shadow' properties in GtkFrame and GtkHandleBoxMatthias Clasen2010-08-281-10/+0
|
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-18/+18
|
* gtk/gtkframe.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-55/+66
|
* Fixed bad typo causing bad vertical requests on frames with no label.Tristan Van Berkom2010-08-061-1/+1
|
* Make GtkFrame allocate its label considering natural size requestsTristan Van Berkom2010-08-061-24/+107
| | | | | | Also like the GtkExpander, the label widget is allocated the minimum height for its allocated width and the remaining space is given to the child, test case included.
* gtkframe: move public members to private structureJavier Jardón2010-07-131-79/+124
|
* Use GtkBin accessorsJavier Jardón2010-07-131-8/+14
|
* Use accessor functions to acces GtkContainerJavier Jardón2010-07-131-12/+13
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Mass api change from GtkExtendedLayout --> GtkSizeRequestTristan Van Berkom2010-06-181-34/+34
| | | | | | | | | | | | | | | | | | | | This commit makes a few massive changes to the extended layout code: a.) gtkextendedlayout.c --> gtksizerequest.c b.) _is_height_for_width --> get_request_mode() c.) get_desired_size(), get_desired_width(), get_desired_height() --> get_size(), get_width(), get_height() This is the first partial commit and only effects portions of the tree that have already been merged in master (in order to easily cherry pick this commit). Conflicts: gtk/Makefile.am gtk/gtk.h gtk/gtk.symbols gtk/gtkextendedlayout.h
* Fix some compilation warningsJavier Jardón2010-05-011-2/+0
|
* Add a GtkExtendedLayout implementation for GtkFrameMatthias Clasen2010-04-261-40/+116
|
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-04-031-1/+1
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-04-031-7/+7
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_DRAWABLEJavier Jardón2010-04-031-5/+8
| | | | | | Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872