Matthias Clasen
c70f3e26d2
GtkAssistant: Mention custom pages in the introduction
2010-11-02 12:04:35 +09:00
Michael Natterer
260ccdfebe
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-11-02 12:04:35 +09:00
Matthias Clasen
c50f790417
Add content size test for scrolled window
2010-11-02 12:04:35 +09:00
Bastien Nocera
76a0b9e5fa
GtkAssistant: Add custom page type
...
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.
The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-11-02 12:04:34 +09:00
Bastien Nocera
ef2fe67832
GtkAssistant: Add more details about buttons shown
...
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-11-02 12:04:34 +09:00
Matthias Clasen
75fd27e920
Improve GtkAssistant docs
2010-11-02 12:04:34 +09:00
Martin Nordholts
0feb08a4bb
Handle NULL intp in test_increment_intp()
...
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
2010-11-02 12:04:34 +09:00
Tristan Van Berkom
e94a177774
Added cell focus apis to GtkCellArea.
2010-11-01 16:01:25 +09:00
Tristan Van Berkom
54004237be
Added GtkCellRendererState flags to GtkCellArea->event/render() methods
2010-11-01 12:39:00 +09:00
Tristan Van Berkom
9c4eb3d431
Changed GtkCellArea margin-left/right... for cell-margin-left/right...
...
The rationale here is that every cell in an area needs to have space
reserved around it, requests have to be fully margin inclusive...
cells need to have the full size fed as the "background area" and
the "cell area" has margins removed... This will be used by GtkTreeViewColumn
to set the focus line width so that cells can paint a background on the
full background, then render themselves into the cell area... and parents
can go ahead and draw focus and other indicators on the background area
but outside of the cell area.
2010-10-31 22:50:53 +09:00
Tristan Van Berkom
163c3c8852
Added margins to the cell area
...
Added margin properties to the cell area, margins will be removed
from the area given to ->render() when creating the inner cell area.
2010-10-31 18:55:51 +09:00
Tristan Van Berkom
25b00759c5
Implemented cell packing properties on GtkCellAreaBox
2010-10-31 17:45:29 +09:00
Tristan Van Berkom
01d2eddf03
Added GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID to gtkcellarea.h
2010-10-31 17:45:06 +09:00
Tristan Van Berkom
d781c226da
Implemented "cell properties" on the GtkCellArea
...
Added cell "packing" properties for generic configuration
of child cells inside an area.
2010-10-31 17:13:15 +09:00
Tristan Van Berkom
6da74b6e1e
Finished up allocation of cells.
...
Added get_allocated_cells() which returns a practical list
of cells with allocation for render/event time, this abstracts
whether the cells are individually aligned or aligned into groups,
when there are groups of cells before an alignment, those groups
get allocated on the fly for render time.
2010-10-31 15:22:39 +09:00
Tristan Van Berkom
e494f102cf
Cleaned up GtkCellAreaIter implementation to use arrays to store grouped cell information.
2010-10-31 13:06:10 +09:00
Tristan Van Berkom
b12e7a8115
Adding GtkCellAreaIter arg to GtkCellArea->render/->event
2010-10-30 23:48:52 +09:00
Tristan Van Berkom
972e077966
Fixed hangs in TextView and ToolPalette
...
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
2010-10-30 23:37:24 +09:00
Tristan Van Berkom
a3b4681f9f
Fixing typo in scrolled window
...
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
2010-10-30 23:37:24 +09:00
Tristan Van Berkom
ea6df20bbb
Added the majority of the allocate machinery to GtkCellAreaIter[Box].
2010-10-30 23:06:26 +09:00
Tristan Van Berkom
86fb6ab216
Fixed GtkCellAreaIter to notify invalidation of sizes on flush
...
Also fixed GtkCellAreaBox to track the iters it creates and flush
them when the overall layout configuration changes (add/remove/reorder/
spacing changed etc).
2010-10-30 21:40:22 +09:00
Javier Jardón
1dc7e3d885
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
2010-10-30 17:37:04 +09:00
Javier Jardón
c15ef6405c
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 17:37:03 +09:00
Javier Jardón
ae1d1fd048
docs: remove template of deprecated gtkcombo widget
2010-10-30 17:37:03 +09:00
Matthias Clasen
1469c3fd69
Migration guide additions
...
Add some information about expand flags and the scrollable interface.
2010-10-30 17:37:03 +09:00
Christian Persch
71b8875d2b
Make gdk_rgba_to_string() take a const GdkRGBA
...
https://bugzilla.gnome.org/show_bug.cgi?id=633216
2010-10-30 17:37:03 +09:00
Matthias Clasen
0aa94bb946
Fix initial size allocation with child widgets
...
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
2010-10-30 17:37:03 +09:00
Javier Jardón
6c301d4b0a
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
2010-10-30 17:37:03 +09:00
Javier Jardón
234553c093
Use gtk_scale_new() instead gtk_[v|h]scale_new()
2010-10-30 17:37:03 +09:00
Javier Jardón
d03d2943d2
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 17:37:03 +09:00
Javier Jardón
cdf4b4bbd5
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 17:37:03 +09:00
Javier Jardón
524e704147
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()
2010-10-30 17:37:02 +09:00
Javier Jardón
821c3c6578
Use gtk_separator_new() instead gtk_[v|h]separator_new()
2010-10-30 17:37:02 +09:00
Javier Jardón
2615ebf37e
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
2010-10-30 17:37:02 +09:00
Michael Natterer
34627a6371
gtk: remove declarations of removed internal functions
2010-10-30 17:37:02 +09:00
Matthias Clasen
ef03dc3fc6
Don't set get_preferred_width_for_height to NULL
...
The size request machinery expects that it is non-NULL.
2010-10-30 17:37:02 +09:00
Matthias Clasen
70bef431b0
GtkComboBox: Add a constructor that takes a model and adds an entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-10-30 17:37:02 +09:00
Javier Jardón
d0974d4f02
Re-enable deprecation guards
2010-10-30 17:37:02 +09:00
Carles Ferrando
92431720dc
Updated Catalan (Valencian) translation
2010-10-30 17:37:02 +09:00
Carlos Garnacho
18797dfa9a
Use the client pointer for events with no device.
...
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
2010-10-30 17:37:02 +09:00
Owen W. Taylor
2d65bd08c3
Remove unused GdkDeviceManager variable
...
gdk_display_get_device_manager() was called but the device manager
not used.
2010-10-30 17:37:02 +09:00
Matthias Clasen
ac0b97aa23
ifdef X-specific stuff
...
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
2010-10-30 17:37:01 +09:00
Matthias Clasen
22d01c45cc
GtkButtonBox doesn't do height-for-width
...
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
2010-10-30 17:37:01 +09:00
John (J5) Palmieri
1448111a58
[introspection] annotate delete_text invoker to match do_delete_text v-method
2010-10-30 17:37:01 +09:00
Vincent Untz
e0d1652a99
Port tests to GtkScrollable API instead of deprecated GtkLayout API
...
https://bugzilla.gnome.org/show_bug.cgi?id=633374
2010-10-30 17:37:01 +09:00
Tristan Van Berkom
3b1c301a66
Made GtkCellAreaBox:align-cells a packing property per cell
...
Implemented all request apis on GtkCellAreaBox considering
alignment of groups of cells (some cells can be aligned while
others fill space smartly).
2010-10-30 17:35:22 +09:00
Ignacio Casal Quinteiro
211c39c500
Remove useless vars.
2010-10-30 17:35:22 +09:00
Tristan Van Berkom
89cc46374d
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
2010-10-30 17:35:22 +09:00
Tristan Van Berkom
731853a7ec
Added a runtime warning if any class is implementing the ->size_request() vfunc.
2010-10-30 17:35:22 +09:00
Tristan Van Berkom
b277ba4238
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
2010-10-30 17:35:22 +09:00