Tristan Van Berkom
5df7dab3cf
Changed all the flush apis on GtkCellAreaContext for a single "reset" api.
2010-11-27 16:05:14 +09:00
Tristan Van Berkom
08cc318946
Fixed CellAreaScaffold for new gtk_cell_area_context_allocate() api.
2010-11-26 21:38:29 +09:00
Tristan Van Berkom
57a94bfb53
Merge branch 'master' into treeview-refactor
2010-11-25 15:07:47 +09:00
Benjamin Otte
e0fb7a86e5
gtk: Remove GtkRuler
...
It is really bad code, mostly unused and no one stepped up to fix it.
Note that Gtk developers do not object to a ruler widget in priciple,
just to the current implementation. If someone wants to propose a sane
version, please don't hesitate.
https://bugzilla.gnome.org/show_bug.cgi?id=613942
2010-11-24 16:56:10 +01:00
Michael Natterer
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00
Chris Kühl
fad1bc0de4
tests: Fixed argument naming inconsistancy
2010-11-23 10:49:44 +01:00
Tristan Van Berkom
d56babefb4
Removed cell margin apis and now deal with "focus-line-width".
2010-11-23 16:26:46 +09:00
Javier Jardón
f427d6998d
gtkoffscreenbox.c: Replace size_request by get_preferred_width/height
2010-11-17 23:58:53 +01:00
Tristan Van Berkom
92dc7f31d4
Cleaned up cell editing api in GtkCellArea
...
Now layouting widgets need only concern themselves with
the "add-editable" and "remove-editable" signals, also added
lots of gtk-doc comments.
2010-11-14 23:33:26 +09:00
Tristan Van Berkom
1bca6349fb
Mass rename GtkCellAreaIter --> GtkCellAreaContext
2010-11-13 16:23:01 +09:00
Tristan Van Berkom
e7c4ede64c
Fixed some background area related bugs in CellAreaScaffold, cleanup testcellarea
2010-11-13 15:09:36 +09:00
Tristan Van Berkom
eda16a096d
Fixed some errors in testcellarea testcases.
2010-11-12 23:09:57 +09:00
Tristan Van Berkom
51b75ef44b
Added tests to reflect proper treatment of background area.
...
CellAreaScaffold now also reflects how cell_area should be
passed to gtk_cell_area_activate() and gtk_cell_area_event()
and how the background area for gtk_cell_area_renderer() should
be created.
2010-11-12 21:55:28 +09:00
Tristan Van Berkom
47d55c4a4b
Added orientation control to testcellarea's focus/editing test
2010-11-12 19:44:45 +09:00
Tristan Van Berkom
38666b406f
Ironed out the kinks in editing apis for GtkCellArea
...
- Added gtk_cell_area_aligned_cell_area() to get the aligned
internal area use by a cell (for focus painting and for
event areas).
- Provide the event area in "editing-started" signal
- Fire "remove-editable" when editing is canceled by the user,
an implementing layouting widget need only catch "editing-started"
and "remove-editable" now.
- CellAreaScaffold/testcellarea now edit textrenderers.
2010-11-12 19:25:07 +09:00
Tristan Van Berkom
33db66e728
Added event handling to GtkCellAreaBox
...
Now GtkCellAreaBox handles the click event to activate renderers
and checks if the area is in a sibling of a focus renderer, possibly
activating the proper focus sibling renderer.
Also GtkCellArea gains a "focus-changed" signal to allow it to
change the currently focused row according to the button events.
2010-11-11 18:13:54 +09:00
Tristan Van Berkom
f330b40521
GtkCellArea now paints focus on cells
...
Added concept of "Focus Siblings" to GtkCellArea so that some
static text/icon may be included in the focus/click area of
an activatable or editable cell, implemented focus drawing
as well, updated testcellarea to reflect the changes.
2010-11-11 16:13:06 +09:00
Tristan Van Berkom
524110f902
Focus driving in GtkCellArea now works.
...
- Fixed focus driving in GtkCellArea with refined apis
- Added gtk_cell_area_activate() to be called when the area has focus
(to activate or start editing the focused cell)
- Added support for this in cellareascaffold
- testcellarea now watches the "toggled" signal for a toggle renderer
and updates the model state accordingly, this currently works with
keyboard navigation, however focus is still not painted on cells.
2010-11-10 22:25:13 +09:00
Tristan Van Berkom
4643d90c5f
Committing new (and simplified) focus handling approach for GtkCellArea.
...
Also adding missing file cellareascaffold.h
2010-11-10 19:17:06 +09:00
Tristan Van Berkom
f85938a211
Changed testcellarea
...
Changed testcellarea to watch the iter for size changes and queue resizes
instead of explicitly queueing resizes when controls change.
2010-11-09 14:09:47 +09:00
Tristan Van Berkom
e03b280757
Adding expand/align controls to testcellarea.
2010-11-09 13:50:53 +09:00
Tristan Van Berkom
2a3ae8da3a
Added orientation control on testcellarea test
...
shows vertical orientation of cells lined up horizontally instead
of horizontal orientation of cells stacked up vertically.
2010-11-09 13:23:12 +09:00
Tristan Van Berkom
85d6aa1627
Added test and scaffolding widget for GtkCellArea.
2010-11-09 01:26:38 +09:00
Matthias Clasen
e5c0d40d94
Make GtkFileChooserButton behave as expected when expanding
2010-11-08 11:31:03 +09:00
Cosimo Cecchi
99144330a0
tests: fix the build
...
gtk_box_new() changed API recently.
2010-11-08 11:31:01 +09:00
Cosimo Cecchi
c068e988a1
tests: add a test for pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-08 11:31:01 +09:00
Matthias Clasen
9dfeee8127
Make GtkFileChooserButton behave as expected when expanding
2010-11-07 11:22:07 -05:00
Cosimo Cecchi
c69075f170
tests: fix the build
...
gtk_box_new() changed API recently.
2010-11-05 17:01:34 +01:00
Cosimo Cecchi
fcfd494b78
tests: add a test for pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Michael Natterer
8979855f60
tests: missed these two gtk_box_new() which sneaked in by rebasing...
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
Michael Natterer
240e1b4b59
tests: missed these two gtk_box_new() which sneaked in by rebasing...
2010-10-31 20:01:28 +01:00
Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Matthias Clasen
81d7dd0774
Add content size test for scrolled window
2010-10-31 14:10:41 -04: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
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
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
Matthias Clasen
5e0451de3a
Use correct icon name in testtoolbar
2010-10-30 17:35:20 +09:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Javier Jardón
570b90e218
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
217036975a
Use gtk_scale_new() instead gtk_[v|h]scale_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
8177ad320e
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00