summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollable.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a gtk_scrollable_get_borderMatthias Clasen2014-12-101-0/+28
| | | | | | | Add a vfunc to return a non-scrollable border around scrollables. This would be nicer as a property, but we can't add properties to an interface without breaking 3rd party implementations, so make this an optional vfunc, and handle it not being set.
* GtkScrollable: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-2/+2
| | | | Implementors will have to be adjusted.
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-4/+4
| | | | Instead of Return value:
* docs: use more apostrophesWilliam Jon McCann2014-02-071-2/+2
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-1/+1
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: Convert to markdownMatthias Clasen2014-02-021-36/+19
| | | | Specifically, switch to using markdown syntax for sections.
* types: Move GtkAdustment declaration to gtktypes.hBenjamin Otte2012-03-031-0/+2
| | | | | ... and make all the headers to not include gtkadjustment.h anymore. Of course, also include it in the source files instead.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* widget: Allow underallocation for scrollablesBenjamin Otte2011-04-281-0/+8
| | | | Also document this fact.
* Reduce includes of gtktypeutils.h to a minimumMatthias Clasen2011-01-041-1/+1
|
* GtkScrollable: Improve the documentation text.Murray Cumming2010-11-021-27/+27
|
* Added GtkScrollablePolicy property to scrollable interfaceTristan Van Berkom2010-10-261-0/+118
| | | | | | | | | | | | | | | | | | This patch adds the GtkScrollablePolicy type property to GtkScrollable and implements it in all subclasses. GtkScrolledWindow observes this property to make a good guess about when to show/hide scrollbars for height-for-width content. Most scrollable children do not do height-for-width *yet* but most certainly will (toolpalette, treeview, iconview, textview widgets all TODO), for scrollable widgets that do have a minimum and natural size, it's important for them to observe the state of this property in order to properly drive the scroll adjustments according to the desired GtkScrollablePolicy. This patch makes GtkViewport do this. Patch also adds tests/testscrolledwindow.c to display the effects of this property.
* Move min-display-width/height to GtkScrolledWindowMatthias Clasen2010-10-221-122/+0
| | | | | | | | | It is just too annoying to have to implement these properties in every scrollable. Instead, we now have ::min-content-height/width in GtkScrolledWindow. We also add GtkScrollablePolicy to determine how to size the scrollable content.
* gtk: return 0 not NULL from functions returning gintMichael Natterer2010-10-221-2/+2
|
* Add GtkScrollable interfaceTadej Borovšak2010-10-221-0/+327
The GtkScrollable interface provides "hadjustment" and "vadjustment" properties that are used by GtkScrolledWindow. It replaces the ::set_scroll_adjustment signal. The scrollable interface also has ::min-display-width/height properties that can be used to control the minimally visible part inside a scrolled window.