| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is not 100% complete. The search is not there yet.
|
|
|
|
|
| |
Just set this to "printer", so we don't have
to fix it up in the print dialog.
|
|
|
|
|
| |
Now that we have a list model for printers,
we can start using it.
|
| |
|
| |
|
|
|
|
| |
This is an experiment with adding a filler column.
|
|
|
|
| |
It looks better this way.
|
|
|
|
| |
This is how it used to look, and it looks better that way.
|
|
|
|
|
| |
When allocating columns, distribute extra space
to columns that have expand set to TRUE.
|
|
|
|
|
| |
This will be used to determine how to distribute
available extra space in a column view.
|
|
|
|
|
| |
Add a listview and gridview to the scrolling
benchmarks.
|
| |
|
|
|
|
|
| |
Add an enable-rubberband property to GtkListView,
GtkGridView and GtkColumnView.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is implemented using a private GtkSet helper.
|
|
|
|
|
| |
The test shows that we are failing to emit
::selection-changed in some circumstances.
|
|
|
|
| |
Use Ctrl-Up/Down to move the column around.
|
|
|
|
|
|
| |
Turn the column list into an editor with
controls for visibility, resizability, reorderability
and width.
|
|
|
|
|
|
| |
When the ::header-menu property is set on the
column, use the menu model to create and show
a context menu.
|
|
|
|
|
|
| |
Add a ::header-menu property that will be used
to create a context menu for the header of the
column.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The treeview does this too.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This will be used for interactive column reordering
in the future.
|
|
|
|
|
|
| |
Normally, this will be identical to the column
allocation, but we will temporarily change it
during column reordering.
|
|
|
|
|
|
|
| |
Add helper functions that let us temporarily give
a different allocation to headers. These will be
used to implement interactive column reordering
in GtkColumnView.
|
|
|
|
|
| |
This is necessary to make drag-to-reorder work
without triggering inversion.
|
|
|
|
|
| |
This copies just enough of the treeview code to
get columns moving.
|
|
|
|
|
|
| |
We need to check whether clicks are in the headers
of columns, so let the column view get at the the
header widget.
|
|
|
|
|
| |
This will be used for interactive column resizing
in the future.
|
|
|
|
|
|
| |
The column code needs to get access to the
listitem widgets that are children of the listview,
so add a getter.
|
|
|
|
| |
Add an API to allow reordering columns.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This lets us hide columns, which is useful.
|
|
|
|
|
| |
This is just the minimal amount of work to make
headers recognizable.
|
|
|
|
| |
A straight conversion from list box to column view.
|
|
|
|
|
| |
This is using a GtkTreeListRowSorter to keep expanded
state of the tree while changing the sorting.
|
|
|
|
| |
A conversion from tree view to column view.
|
|
|
|
| |
Just a straight conversion from list box to column view.
|
|
|
|
|
| |
Add columnview columns in the object tree.
We do the same for treeview columns.
|
|
|
|
|
| |
Some valid and invalid examples for <closure>,
<lookup> and <constant>.
|
|
|
|
|
| |
Fill in the GtkComboBox and GtkCellView replacements
in the quick reference table.
|
|
|
|
| |
This is similar to the flowbox demo, but much bigger.
|
|
|
|
| |
Convert everything in the visual page to dropdowns.
|
|
|
|
| |
Use a GtkDropDown for the modes of size groups.
|
|
|
|
| |
Use a GtkDropDown for the phases of event controllers.
|
|
|
|
| |
Use a GtkDropDown for the attribute mapping editor.
|
|
|
|
| |
Replace combo boxes by dropdowns in the property editor.
|