summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add search supportcolumnview-workMatthias Clasen2020-05-309-20/+535
| | | | | | | Add a filter to GtkListBase, and move the selection to the first matching item whenever the filter changes. This is meant to be used with single selection and a string filter that is hooked up to a search entry.
* printdialog: Port to column viewMatthias Clasen2020-05-302-515/+274
| | | | This is not 100% complete. The search is not there yet.
* printer: Fix the default value of icon-nameMatthias Clasen2020-05-301-2/+2
| | | | | Just set this to "printer", so we don't have to fix it up in the print dialog.
* printbackend: Add a list model getterMatthias Clasen2020-05-302-0/+15
| | | | | Now that we have a list model for printers, we can start using it.
* printbackend: Use a list storeMatthias Clasen2020-05-301-71/+32
|
* inspector: Expand the actions listMatthias Clasen2020-05-301-0/+1
|
* inspector: Expand the resource listMatthias Clasen2020-05-301-0/+6
| | | | This is an experiment with adding a filler column.
* inspector: Expand the property listMatthias Clasen2020-05-301-0/+1
| | | | It looks better this way.
* inspector: Expand the object treeMatthias Clasen2020-05-301-0/+3
| | | | This is how it used to look, and it looks better that way.
* columnview: Take expand into accountMatthias Clasen2020-05-301-8/+27
| | | | | When allocating columns, distribute extra space to columns that have expand set to TRUE.
* columnviewcolumn: Add an expand propertyMatthias Clasen2020-05-302-0/+72
| | | | | This will be used to determine how to distribute available extra space in a column view.
* gtk-demo: Add more scrolling benchmarksMatthias Clasen2020-05-303-28/+105
| | | | | Add a listview and gridview to the scrolling benchmarks.
* gtk-demo: Make gridview demo use rubberbandingMatthias Clasen2020-05-301-1/+2
|
* Add rubberband apiMatthias Clasen2020-05-307-0/+198
| | | | | Add an enable-rubberband property to GtkListView, GtkGridView and GtkColumnView.
* listbase: Add rubberband selectionMatthias Clasen2020-05-303-2/+381
| | | | | | | | Implement the typical rubberband selection, including autoscroll. This is only useful with multiselection, and not very compatible with single-click-activate. Therefore, it is not enabled by default, and needs to be turned on with the enable-rubber-band property.
* Add GtkMultiSelectionMatthias Clasen2020-05-308-0/+1231
| | | | This is implemented using a private GtkSet helper.
* Add a selection model testMatthias Clasen2020-05-301-0/+44
| | | | | The test shows that we are failing to emit ::selection-changed in some circumstances.
* testcolumnview: Reordering in the column editorMatthias Clasen2020-05-301-1/+60
| | | | Use Ctrl-Up/Down to move the column around.
* testcolumnview: Flesh out column editorMatthias Clasen2020-05-301-11/+175
| | | | | | Turn the column list into an editor with controls for visibility, resizability, reorderability and width.
* columnviewtitle: Display a context menuMatthias Clasen2020-05-301-6/+62
| | | | | | When the ::header-menu property is set on the column, use the menu model to create and show a context menu.
* columnviewcolumn: Add a menu propertyMatthias Clasen2020-05-302-0/+70
| | | | | | Add a ::header-menu property that will be used to create a context menu for the header of the column.
* columnview: Add autoscrollMatthias Clasen2020-05-301-0/+71
| | | | | | | | Autoscroll when the pointer gets close to the edge during column resizing or reordering. This is similar to what the treeview does, but it is implemented using a tick callback, and has variable speed.
* columnview: Allow to cancel reorder with EscapeMatthias Clasen2020-05-301-3/+45
| | | | The treeview does this too.
* columnview: Interactive column reorderingMatthias Clasen2020-05-301-1/+129
| | | | | | | | | | Allow rearranging columns by dragging, in the same way the treeview does. We add the "dnd" style class to the header while it is dragged, and we move the header of the dragged column to the end of its parents children, so that it gets drawn on top.
* columnviewcolumn: Add a reorderable propertyMatthias Clasen2020-05-302-2/+68
| | | | | This will be used for interactive column reordering in the future.
* columnviewlayout: Use header allocation for titlesMatthias Clasen2020-05-301-3/+8
| | | | | | Normally, this will be identical to the column allocation, but we will temporarily change it during column reordering.
* columnviewcolumn: Add reordering helpersMatthias Clasen2020-05-302-0/+27
| | | | | | | Add helper functions that let us temporarily give a different allocation to headers. These will be used to implement interactive column reordering in GtkColumnView.
* columnviewtitle: Invert on releaseMatthias Clasen2020-05-301-6/+6
| | | | | This is necessary to make drag-to-reorder work without triggering inversion.
* columnview: Interactive column resizingMatthias Clasen2020-05-302-4/+155
| | | | | This copies just enough of the treeview code to get columns moving.
* columnviewcolumn: Add a helperMatthias Clasen2020-05-302-0/+7
| | | | | | We need to check whether clicks are in the headers of columns, so let the column view get at the the header widget.
* columnviewcolumn: Add a resizable propertyMatthias Clasen2020-05-302-1/+67
| | | | | This will be used for interactive column resizing in the future.
* columnview: Add a helperMatthias Clasen2020-05-302-0/+8
| | | | | | The column code needs to get access to the listitem widgets that are children of the listview, so add a getter.
* columnview: Add column reorderingMatthias Clasen2020-05-303-0/+45
| | | | Add an API to allow reordering columns.
* columnview: Implement horizontal scrollingMatthias Clasen2020-05-306-7/+161
| | | | | | | The listview inside always thinks it gets its full size, and updates its horizontal adjustment accordingly. So keep our own adjustment, and update it in size_allocate.
* columnview: Revise scroll-minimum handlingMatthias Clasen2020-05-301-22/+30
| | | | | | | | | Tweak the behavior slightly. We don't show a scrollbar as long as we have at least min-size available, but we still give the entire size to the child, up to nat-size. This matches how viewports handle scroll-minimum.
* columnviewcolumn: Add a visible propertyMatthias Clasen2020-05-304-0/+83
| | | | This lets us hide columns, which is useful.
* inspector: Touch up list stylingMatthias Clasen2020-05-301-7/+15
| | | | | This is just the minimal amount of work to make headers recognizable.
* inspector: Use a column view for actionsMatthias Clasen2020-05-306-222/+367
| | | | A straight conversion from list box to column view.
* inspector: Make the resource list sortableMatthias Clasen2020-05-301-1/+52
| | | | | This is using a GtkTreeListRowSorter to keep expanded state of the tree while changing the sorting.
* inspector: Use a column view for the resource listMatthias Clasen2020-05-305-337/+567
| | | | A conversion from tree view to column view.
* inspector: Use a column view for propertiesMatthias Clasen2020-05-305-290/+413
| | | | Just a straight conversion from list box to column view.
* inspector: Add columns to the object treeMatthias Clasen2020-05-301-0/+28
| | | | | Add columnview columns in the object tree. We do the same for treeview columns.
* Add some tests for new GtkBuilder syntaxMatthias Clasen2020-05-3016-0/+76
| | | | | Some valid and invalid examples for <closure>, <lookup> and <constant>.
* docs: Update the list widget overviewMatthias Clasen2020-05-301-3/+3
| | | | | Fill in the GtkComboBox and GtkCellView replacements in the quick reference table.
* gtk-demo: Add a large grid demoMatthias Clasen2020-05-304-0/+9921
| | | | This is similar to the flowbox demo, but much bigger.
* inspector: Use dropdowns in the visual pageMatthias Clasen2020-05-302-44/+85
| | | | Convert everything in the visual page to dropdowns.
* inspector: Use a dropdown for size groupsMatthias Clasen2020-05-301-15/+16
| | | | Use a GtkDropDown for the modes of size groups.
* inspector: Use a dropdown for controllersMatthias Clasen2020-05-301-13/+18
| | | | Use a GtkDropDown for the phases of event controllers.
* inspector: Use a dropdown for attribute mappingMatthias Clasen2020-05-301-25/+97
| | | | Use a GtkDropDown for the attribute mapping editor.
* inspector: Use dropdowns in property editorMatthias Clasen2020-05-301-21/+17
| | | | Replace combo boxes by dropdowns in the property editor.