summaryrefslogtreecommitdiff
path: root/gtk/gtkcellarea.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: correct various spelling and grammar errorsWill Thompson2013-03-041-4/+4
| | | | | I noticed a few cases of "wether", and while fixing them noticed a few "its" which should be "it's". It all went downhill from there.
* Fix a typo in the the commentsWilliam Jon McCann2012-08-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=682724
* Fix malformed doc commentsMatthias Clasen2012-04-121-1/+1
| | | | | Most of these are forgotten :'s and similar details which gtk-doc now warns about.
* Add custom va_marshallers in some placesAlexander Larsson2012-03-051-0/+2
| | | | This is a slight performance optimization in the common case.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtkcellarea: Use symbolic names for button numbersCarlos Garcia Campos2012-01-271-1/+1
|
* Use G_VALUE_INITJavier Jardón2011-10-151-5/+5
| | | | Instead of an explicit { 0, } when declaring the variable.
* Fixed gtk_cell_area_stop_editing() to properly notify when editing is not ↵Tristan Van Berkom2011-10-041-4/+14
| | | | | | | | canceled This fixes bug 653289, in gtk+-2 gtk_tree_view_stop_editing() was previously responsible for notifying with gtk_cell_editable_editing_done(), this detail was missed when porting the cell renderer management to GtkCellArea.
* Documentation fixesMatthias Clasen2011-09-251-4/+4
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* Make focus rectangles optionalMatthias Clasen2011-08-101-0/+3
| | | | | | | | | | | | | | | | | | This commit introduces a new setting, gtk-visible-focus, backed by the Gtk/VisibleFocus X setting. Its three values control how focus rectangles are displayed. 'always' is equivalent to the traditional GTK+ behaviour of always rendering focus rectangles. 'never' does what it says, and is intended for keyboardless situations, e.g. tablets. 'automatic' hides focus rectangles initially, until the user interacts with the keyboard, at which point focus rectangles become visible. https://bugzilla.gnome.org/show_bug.cgi?id=649567
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-1/+1
|
* cellarea: Fix warning messages to display the right typeBenjamin Otte2011-05-021-2/+2
| | | | | The warning displayed the type of the area instead of the cell renderer's type before.
* Minor documentation improvementsMurray Cumming2011-02-231-17/+17
| | | | Mostly correcting it's to its and changing some , to .
* Add some missing symbols to the docsMatthias Clasen2011-02-081-1/+3
|
* Use faster new G_VALUE_COLLECT_INIT variant instead G_VALUE_COLLECTJavier Jardón2011-02-071-2/+2
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=641621
* Added default implementations of various GtkCellArea vfuncs.Tristan Van Berkom2011-02-031-106/+152
| | | | | | Having default implementations on abstract classes that do nothing or print errors make life easier for language bindings implementors, inside GTK+ this makes little or no difference.
* Make GtkCellArea use GtkStyleContextCarlos Garnacho2011-01-271-65/+12
| | | | | | gtk_cell_area_[gs]et_style_detail() is no longer needed, as the passed widget's context would already have all necessary info.
* Silence new gcc warningsMatthias Clasen2011-01-231-4/+1
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-2/+3
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-7/+8
|
* [GI] Add missing (scope) annotationsPavel Holejsovsky2011-01-201-2/+2
|
* Plugging memory leak in GtkCellArea (free ->style_detail at finalize time).Tristan Van Berkom2011-01-161-0/+1
|
* _gtk_cell_area_set_cell_data_func_with_proxy: set the proxy when creating a ↵Guillaume Desmottes2011-01-121-0/+1
| | | | new CellInfo (#637965)
* Fixed GtkCellArea to never activate/start editing insensitive cells.Tristan Van Berkom2011-01-101-0/+3
| | | | Included extension to tests/testtreeedit to show this is working properly.
* Fixed documentation of gtk_cell_area_set_focus_cell().Tristan Van Berkom2011-01-071-5/+6
|
* Forgotten documentation fixMatthias Clasen2011-01-061-1/+1
|
* More documentation fixes2.99.0Matthias Clasen2011-01-061-1/+1
|
* Fix GtkCellArea:edit-widget to be of type GtkCellEditableMilan Bouchet-Valat2011-01-051-1/+1
| | | | More correct, and consistent with gtk_cell_area_get_editable_widget().
* Fix some parameter name mismatches in the docsMatthias Clasen2011-01-051-1/+1
|
* Fixed gtk_cell_layout_set_cell_data_func() to pass the correct layout objectTristan Van Berkom2010-12-221-31/+55
| | | | | | Added _gtk_cell_area_set_cell_data_func_with_proxy() to be called by gtk_cell_layout_set_cell_data_func() when the layouting object itself is not the underlying cell area.
* Trivial changesMatthias Clasen2010-12-171-815/+835
| | | | Whitespace fixes, comment formatting, etc
* No links in title, pleaseMatthias Clasen2010-12-171-1/+1
|
* Should pass inner_area to cell in gtk_cell_area_activate_cell()Kristian Rietveld2010-12-161-2/+5
|
* Clip focus rectangle to background areaKristian Rietveld2010-12-161-0/+7
|
* Correct calculation of the cell focus rectangleKristian Rietveld2010-12-151-0/+11
| | | | | | The cell's focus rectangle is located around the cell's aligned area. To get to the correct coordinates for this rectangle, we have to subtract focus_line_width from the found aligned_area.
* Make GtkCellArea independantly GtkBuildable.Tristan Van Berkom2010-12-141-2/+39
| | | | Simply use the GtkCellLayoutIface hooks for this.
* Added apis to GtkCellArea for GtkIconView purposes.Tristan Van Berkom2010-12-131-0/+40
| | | | | | | | | | | | | | | | Added a few apis, - GtkCellAreaContext get_preferred_height_for_width & width for height apis and vfuncs, this lets the icon view request the collective (and aligned) height for width for a said row. - gtk_cell_area_copy_context() this creates a duplicate of an already created and requested context, this way the icon view uses a global context to request the widths of all rows and then makes a copy with all the stored alignments and uses a separate copy to calculate the height and alignments of each row separately.
* Added "edit_only" argument to gtk_cell_area_activate()Tristan Van Berkom2010-12-121-7/+23
| | | | | | | | | | | This argument allows the caller to specify that only an editable cell should start editing but an activatable cell should not toggle it's state, this is important for public apis like gtk_tree_view_set_cursor_on_cell() which are only intended to programatically bring attention to the editing of a specific row or cell but not actually change any data. GtkTreeView & CellAreaScaffold updated for the last minute api change.
* Changed misleading variable name in gtk_cell_area_real_activate.Tristan Van Berkom2010-12-091-3/+3
|
* Fixed gtk-docs typo in gtkcellarea.cTristan Van Berkom2010-12-081-1/+1
|
* Fixed foreach_alloc call from gtk_cell_area_real_render to pass the real ↵Tristan Van Berkom2010-12-081-1/+1
| | | | background area.
* Added 'background_area' calculation to GtkCellAreaClass->foreach_alloc vfuncTristan Van Berkom2010-12-081-7/+127
| | | | | | | This allows us to reduce code allocation code paths in subclasses, as a result GtkCellArea implements the ->render() vfunc and the subclass only decides the cell area and background area distributions in a single code path.
* Fixed some nit-picking bugs in GtkCellAreaTristan Van Berkom2010-12-061-19/+17
| | | | | | | | | | | | - Dont try fetching a cell renderer for an event when the event coordinate is outside the cell area allocation (can happen on the y axis, not all events are button events). - Dont remove focus-line-width (inner area) an extra time from GtkCellArea->event - Dont remove focus-line-width from the cell area at all for the editable widget... use the whole area including the focus line (compared with git master behaviour and now it looks right, check the multiline editable string in testtreeedit).
* Added gtk_cell_area_foreach_alloc() to further simplify GtkCellArea subclassesTristan Van Berkom2010-12-061-22/+198
| | | | | | | | | | | | gtk_cell_area_foreach_alloc() itterates over an allocated list of cells and calls a callback with the cell's allocation until the callback returns TRUE. - Removed vfunc get_cell_allocation() and implemented gtk_cell_area_get_cell_allocation() using foreach_alloc() - Added gtk_cell_area_get_cell_at_position() using foreach_alloc() - Removed GtkCellAreaBox ->event() implementation and implemented mouse "click" cell activation in GtkCellArea class directly using gtk_cell_area_get_cell_at_position().
* Changed gtk_cell_area_forall to gtk_cell_area_foreach since thats more ↵Tristan Van Berkom2010-12-061-17/+23
| | | | | | widely used semantics. Also gave a boolean return value to the callback to allow breaking out of the loop.
* Added proper handling of right to left layouting of cells to GtkCellAreaBox.Tristan Van Berkom2010-12-051-2/+0
|
* Fixed typo in GtkCellArea docs.Tristan Van Berkom2010-12-041-1/+1
|
* Added "Cell Properties" section to the GtkCellArea documentation.Tristan Van Berkom2010-12-041-2/+26
|
* Added gtk-doc to GtkCellArea & GtkCellAreaContext.Tristan Van Berkom2010-12-031-60/+197
|
* Adding more documentation to GtkCellArea, documented GtkCellAreaClass structure.Tristan Van Berkom2010-12-031-1/+1
|