summaryrefslogtreecommitdiff
path: root/gtk/gtkcellareacontext.h
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changesMatthias Clasen2010-12-171-41/+45
| | | | Whitespace fixes, comment formatting, etc
* Updated some docs and gtk.symbols file for new apisTristan Van Berkom2010-12-131-0/+6
| | | | | | Added gtk_cell_area_context_get_preferred_height_for_width and width_for_height & gtk_cell_area_copy_context() to gtk.symbols and gtk3-sections.txt (also finished up documenting those apis).
* Added apis to GtkCellArea for GtkIconView purposes.Tristan Van Berkom2010-12-131-18/+34
| | | | | | | | | | | | | | | | 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.
* Marking GtkCellArea structure portions as /*< private >*/Tristan Van Berkom2010-12-031-0/+1
|
* Added gtk-doc to GtkCellArea & GtkCellAreaContext.Tristan Van Berkom2010-12-031-0/+12
|
* Removed gtk_cell_area_context_sum_preferred_width/height apis.Tristan Van Berkom2010-11-291-4/+0
| | | | | | Turns out theres not much reason to do this in a separate api, now we just sum up the sizes of aligned cell groups in GtkCellAreaContextBox when pushing the group size.
* Changed all the flush apis on GtkCellAreaContext for a single "reset" api.Tristan Van Berkom2010-11-271-53/+33
|
* Removing the height_for_width vfuncs on GtkCellAreaContextClass which I ↵Tristan Van Berkom2010-11-271-8/+0
| | | | forgot to remove.
* Finally really support rendering of cells in an unallocated context.Tristan Van Berkom2010-11-261-30/+4
| | | | | | | | | | | | | | | What this means is basically that a vertically oriented GtkCellAreaBox will render cells properly even if the height is not constant for every for of data in the said GtkCellAreaContext (i.e. the height was not allocated by gtk_cell_area_context_allocate). This is done completely on the fly and so is much more heavy duty at render time (considerably slower but not visibly noticable in lightweight views like GtkTreeMenu). Note that cell alignments are not possible in an unallocated orientation, each row of data individually receives only enough space to render the independant row and no space is reserved for alignments if the size is not a constant size across rows in the same context.
* Revert "Removed tons of api that we dont absolutely need in GtkCellAreaContext:"Tristan Van Berkom2010-11-261-0/+32
| | | | This reverts commit 5f7787ab2ead2cdd11ebe17b16dd9498daaaf9c5.
* Removed tons of api that we dont absolutely need in GtkCellAreaContext:Tristan Van Berkom2010-11-251-32/+0
| | | | | | | | | | | | | | | - gtk_cell_area_context_get_height_for_width() - gtk_cell_area_context_get_width_for_height() - gtk_cell_area_context_push_height_for_width() - gtk_cell_area_context_push_width_for_height() - gtk_cell_area_context_flush_height_for_width() - gtk_cell_area_context_flush_width_for_height() - Contextual size changed signal All of these are not really important for the CellArea to operate and not of any real consequential value to the user (the user can accumulate the returned values from height-for-width requests and do as they please with it).
* Mass rename GtkCellAreaIter --> GtkCellAreaContextTristan Van Berkom2010-11-131-0/+156