Commit Graph

11568 Commits

Author SHA1 Message Date
Matthias Clasen
70c81d6651 Remove size_request from GtkSeparator 2010-10-30 17:35:19 +09:00
Matthias Clasen
4927c16486 Remove size_request from GtkRange 2010-10-30 17:35:19 +09:00
Matthias Clasen
53744b6daf Fix a typo 2010-10-30 17:35:19 +09:00
Matthias Clasen
6b5debcaca Remove size_request from GtkPaned
This is not the final word; GtkPaned should really implement
height-for-width, but I didn't have time to complete that now.
2010-10-30 17:35:18 +09:00
Tristan Van Berkom
34e1cd373b Removed size_request from GtkOffscreenWindow 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
af0c4bc656 Removed size_request from GtkNotebook 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
e9f541dc51 Removed size_request from GtkMenuBar 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
0f9c04769b Removed size_request from GtkImageMenuItem 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
8565b86223 Removed size_request from GtkIconView. 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
399f353427 Remove size_request from GtkHandleBox 2010-10-30 17:35:18 +09:00
Tristan Van Berkom
16512bd9d3 Fixed unused variable in get_preferred_height(). 2010-10-30 17:35:18 +09:00
Matthias Clasen
f336754a8f Remove size_request from GtkSpinButton 2010-10-30 17:35:18 +09:00
Matthias Clasen
eca2d782ce Remove size_request from GtkProgressBar 2010-10-30 17:35:17 +09:00
Matthias Clasen
f83403098d Remove size_reuqest from GtkImage 2010-10-30 17:35:17 +09:00
Matthias Clasen
d4a07d5661 Remove size_request from GtkLayout 2010-10-30 17:35:17 +09:00
Matthias Clasen
381cd8b07c Remove size_request from GtkHSV 2010-10-30 17:35:17 +09:00
Matthias Clasen
b3f6f67c33 Remove size_request from GtkFixed 2010-10-30 17:35:17 +09:00
Matthias Clasen
e165c6c884 Remove size_request from GtkEntry 2010-10-30 17:35:17 +09:00
Matthias Clasen
2e4e7264e6 Remove size_request from GtkCheckButton 2010-10-30 17:35:17 +09:00
Matthias Clasen
23a9127765 Remove size_request from GtkCalendar 2010-10-30 17:35:17 +09:00
Matthias Clasen
2078db969c Remove size_request from GtkButtonBox 2010-10-30 17:35:17 +09:00
Matthias Clasen
42de07f2f3 Remove size_request from GtkAssistant 2010-10-30 17:35:17 +09:00
Javier Jardón
65dd3460ce Fix gtk-doc markup: /* <private> */ should be /*< private >*/ 2010-10-30 17:35:17 +09:00
Tristan Van Berkom
abcfd2d5ef Merge branch 'master' into treeview-refactor 2010-10-27 01:06:58 +09:00
Tristan Van Berkom
695e427522 Added most of the request code for GtkCellAreaBox
Added the following to GtkCellAreaBox:
   - GtkCellAreaBox:spacing property defines spacing between cells
   - GtkCellAreaBox:align-cells property defines whether cells should
     be aligned with cells in adjacent rows.
   - Implementations for get_preferred_width / get_preferred_height
   - Implementations for get_preferred_height_for_width and the other
     when the box is oriented in the easy way (i.e. height_for_width()
     implemented for a vertical box, no virtual allocations done yet).
2010-10-27 01:01:58 +09:00
Matthias Clasen
b69232e51b Stop calling GtkWidget parameters 'request'
There were at least a few places where we were using GTK_WIDGET()
on something that was already a GtkWidget*, just because it was
named wrong.
2010-10-26 10:53:46 -04:00
Tristan Van Berkom
11f8dfe3f4 Finished up initial revision of GtkCellAreaBoxIter
The interaction between this class and GtkCellAreaBox could
use some optimization, maybe the cells and their sizes should
be returned as a list and iterated over at the same time as
requesting sizes instead of the hash table approach currently
taken, however the code is clean this way for now.
2010-10-26 23:01:17 +09:00
Tristan Van Berkom
97e3ccc58b Added GtkCellAreaBox subclass to handle alignments of cells across rows inside a GtkCellAreaBox. 2010-10-26 18:22:59 +09:00
Tristan Van Berkom
b5e529f578 Added GtkCellAreaIter class
Added base class to hold alignment and overall size request information
while itterating over the size requests of various rows of a GtkTreeModel,
updated GtkCellArea/GtkCellAreaBox classes accordingly.
2010-10-26 17:14:20 +09:00
Xan Lopez
9c7016ab87 gtkcomboboxtext: remove unused variable 2010-10-26 15:18:35 +09:00
Javier Jardón
5aea672e00 gtk.symbols: Add scrollable policy API 2010-10-26 06:07:43 +02:00
Javier Jardón
8dd7ae38f9 gtkfilechooserentry: Use accessor functions to access GtkEntry 2010-10-26 06:07:43 +02:00
Javier Jardón
0b72acf78d gtkspinbutton: Use accessor functions to access GtkEntry 2010-10-26 06:07:42 +02:00
Javier Jardón
f5615022a7 Use accessor functions to access GtkButton 2010-10-26 06:07:42 +02:00
Javier Jardón
8991603c88 gtktogglebutton: move public members to private structure 2010-10-26 06:07:42 +02:00
Javier Jardón
49446ed57c gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
Javier Jardón
a93e79f8d2 gtkradiobutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Javier Jardón
783d18650b gtkcheckbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Javier Jardón
356cfaa084 gtktoggletoolbutton: Use accessor functions to access GtkToggleButton 2010-10-26 06:07:42 +02:00
Tristan Van Berkom
8679563247 Merge branch 'master' into treeview-refactor 2010-10-26 11:37:27 +09:00
Tristan Van Berkom
3fe0fb4ed9 Added GtkScrollablePolicy property to scrollable interface
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.
2010-10-26 10:15:56 +09:00
Matthias Clasen
c406b6ed22 Add new GdkRGBA apis to gtk.symbols 2010-10-25 13:49:37 -04:00
=Christian Persch
d3f1745493 Use g_ascii_strto[u]ll instead of strto[u]l
We don't want GtkBuilder input to be locale-dependent.

Bug #632503
2010-10-25 12:22:20 -04:00
Matthias Clasen
503698f587 Support resetting cell renderer colors with NULL again
This functionality was lost when GdkRGBA was introduced.

Bug 632936
2010-10-25 11:17:24 -04:00
Matthias Clasen
52a7553b2c GtkCalendar: turn into a no-window widget
After these changes, GtkCalendar only has a few input-only windows
left for catching input events. All drawing goes to the parent
window now.
2010-10-24 14:43:05 -04:00
Tristan Van Berkom
fe3f948d0a Implemented GtkCellLayoutIface->reorder on GtkCellAreaBox. 2010-10-24 20:08:21 +09:00
Tristan Van Berkom
468a1d3e7c Implemented basic child list handling on GtkCellAreaBox
Added the child list to GtkCellAreaBox, added _pack_start() and
_pack_end() apis to GtkCellAreaBox since they are appropriate there
and implemented GtkCellLayoutIface to override the _pack_start()/end()
methods (since the base GtkCellArea class simply forwards these apis
to the generic ->add() api on the base class).
2010-10-24 20:01:04 +09:00
Tristan Van Berkom
0722fbe7c8 Removed attribute handling from class vfuncs of GtkCellArea.
Now GtkCellArea handles attribute connections in the base class,
subclasses only need to add/remove the renderers, render them,
do geometry and handle events.
2010-10-24 19:20:10 +09:00
Tristan Van Berkom
0e3179b669 Merge branch 'master' into treeview-refactor 2010-10-24 15:49:18 +09:00
Tristan Van Berkom
0d7fdfb36e Merge branch 'master' into treeview-refactor 2010-10-24 15:48:46 +09:00