Commit Graph

11669 Commits

Author SHA1 Message Date
Javier Jardón
a31142a8fa docs: move documentation to inline comments: GtkColorButton 2010-11-08 11:31:01 +09:00
Javier Jardón
65834294a5 docs: move documentation to inline comments: GtkTreeView 2010-11-08 11:31:01 +09:00
Javier Jardón
0331e1fab7 docs: Move documentation to inline comments: GtkTextView 2010-11-08 11:31:01 +09:00
Matthias Clasen
3b541bcfd4 GtkApplication: rewrite example application
The intended way of using GtkApplication is mainly by subclassing,
so make the example do that.
2010-11-08 11:31:01 +09:00
Matthias Clasen
9157e15653 GtkApplication: drop Quit from the docs
GtkApplication does not currently implement any default actions.
2010-11-08 11:31:01 +09:00
Javier Jardón
a62b185e29 docs: move documentation to inline comments: GtkEntry 2010-11-08 11:31:01 +09:00
Cosimo Cecchi
1433ea24b5 icon-theme: always force icon sizes for emblems
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-08 11:31:01 +09:00
Cosimo Cecchi
4239e49982 icon-theme: support pixbufs implementing the GIcon interface
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-08 11:31:01 +09:00
Cosimo Cecchi
cb51ad606f gtkwindow: properly set the window icon list (#631331)
This was probably a rendering-cleanup regression.
2010-11-08 11:31:01 +09:00
Tristan Van Berkom
631bdc438c Made progress on focus handling.
- Added vfunc to get the allocation of a cell inside an area
 - Superclass GtkCellArea handles activation of focused cells
   by handling key events (as well as editing of editable cells)
 - Added signal "editing-started" to GtkCellArea to signal that
   editing has started (generally signaled from inside event handling)
 - Added properties "focus-cell" and "edited-cell"
2010-11-05 22:19:50 +09:00
Tristan Van Berkom
1ad5fa3e7a Committing half-way done focus work. 2010-11-05 22:19:50 +09:00
Murray Cumming
ce815afece GtkWidget/GtkContainer: Slight fixes to geometry-management docs.
Replace it's with its in several places.
Replace some , with .
Replace some ; with .
Fix some plurals.
Other minor corrections.
2010-11-05 22:19:50 +09:00
Murray Cumming
b8bcbd1376 GtkWidget: Document the size-request signal deprecation.
Hopefully my text is correct.
2010-11-05 22:19:50 +09:00
Matthias Clasen
a83b0b68ce Handle empty button boxes gracefully
https://bugzilla.gnome.org/show_bug.cgi?id=633915
2010-11-05 22:19:50 +09:00
Christian Dywan
7ca240916f Only show Desktop in file chooser button if there is one
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
2010-11-05 22:19:50 +09:00
Ryan Lortie
4bdff81f2e gtktoolitemgroup: don't use GTimeSpec
Use gint64 time instead.
2010-11-05 22:19:49 +09:00
Javier Jardón
65e045f5f4 Revert "Move the /*< private >*/ at the correct position"
All the object structures is opaque
This reverts commit c59ca4f6b9.
2010-11-05 22:19:49 +09:00
Javier Jardón
dadf5c331a docs: Improve cross-referencing on GtkGrid docs 2010-11-05 22:19:49 +09:00
Javier Jardón
7dd52d7b60 docs: Fix gtk-doc markup in GtkWidget docs 2010-11-05 22:19:49 +09:00
Murray Cumming
32b21694ef Fix tiny documetnation typo. 2010-11-05 22:19:49 +09:00
Tristan Van Berkom
832c123fd2 Extended gtk_cell_area_apply_attributes() to account for expander/expanded cells
The state of expanded cells must come from the view, since these states
can vary across views accessing the same model (also "finished up" the
applying of attributes code).
2010-11-02 18:01:03 +09:00
Murray Cumming
73e45cef9d GtkScrollable: Improve the documentation text. 2010-11-02 17:51:07 +09:00
Tristan Van Berkom
7ddf87f9ef Account for the possibility of invisible cells in GtkCellAreaBox/Iter
Also changed the GtkCellAreaBox to keep groups in an array
instead of a list, for this code it's generally more useful
this way (and more optimized).
2010-11-02 16:51:06 +09:00
Tristan Van Berkom
e3b75cb053 Adding tentative implementation of GtkCellAreaBox->grab_focus(). 2010-11-02 12:04:38 +09:00
Murray Cumming
0583288dd9 Removed a trailing enum comma. 2010-11-02 12:04:38 +09:00
Ignacio Casal Quinteiro
997835af83 Normalize boolean. 2010-11-02 12:04:38 +09:00
Ignacio Casal Quinteiro
bea2487d83 Do not use gbooleans to save some bits. 2010-11-02 12:04:38 +09:00
Paolo Borelli
5e90bb269d Get rid of unused shaped_object list in _GtkTextLineDisplay
https://bugzilla.gnome.org/show_bug.cgi?id=631076
2010-11-02 12:04:37 +09:00
Matthias Clasen
bb0ff159cb GtkToolitemGroup: Use monotonic clock for animation timeout 2010-11-02 12:04:37 +09:00
Ignacio Casal Quinteiro
ed62f93439 Add caseless unit tests for textiter. 2010-11-02 12:04:37 +09:00
Ignacio Casal Quinteiro
794e0446e9 Add case insensitive to GtkTextIter. Fixes bug #61852.
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
2010-11-02 12:04:37 +09:00
Paolo Borelli
3511215730 Fix backward search bug exposed by the unit test
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
2010-11-02 12:04:37 +09:00
Ignacio Casal Quinteiro
a2360f979a Add unit tests for textiter. 2010-11-02 12:04:37 +09:00
Matthias Clasen
ac3258b07d Avoid exporting an extra symbol 2010-11-02 12:04:37 +09:00
Matthias Clasen
31b0c1ad35 Fix make check 2010-11-02 12:04:37 +09:00
Paolo Borelli
002704fe25 Move the /*< private >*/ at the correct position 2010-11-02 12:04:37 +09:00
Matthias Clasen
71d6a289fc Fix interaction between scrolling menus and automatic mnemonics
https://bugzilla.gnome.org/show_bug.cgi?id=612611
2010-11-02 12:04:36 +09:00
Michael Natterer
ca6398a649 gtk: remove all border_width handling from the button box
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
2010-11-02 12:04:36 +09:00
Michael Natterer
8dd7023b52 gtk: fix automatic width of spin buttons which have no width in chars set 2010-11-02 12:04:35 +09:00
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
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