| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
We require a C compiler supporting C99 now. The main purpose of
these fallbacks was for MSVC. From what I can see this is now all supported
by MSVC 2015+ anyway.
The only other change this includes is to replace isnanf() with the
(type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Dropdown for merge
Closes #2214
See merge request GNOME/gtk!1992
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Replace an internal use of GtkComboBox with GtkDropDown.
|
| |
| |
| |
| | |
This is a simple drop down control using list models.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Listview for merge
Closes #2214
See merge request GNOME/gtk!1991
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is the one place where we can really take advantage
of precompiling, since we instantiate this template
over and over.
|
| |
| |
| |
| | |
The explanation say we do, so do it.
|
| |
| |
| |
| |
| | |
This makes sense to have in all the views,
not just GtkListView.
|
| |
| |
| |
| |
| |
| |
| | |
Add a conceptual overview for all the listmodel-based
widgets.
Fixes: #2214
|
| |
| |
| |
| | |
A demo of filtering with lists was missing so far.
|
| |
| |
| |
| | |
Enhance the settings demo to have a sortable column.
|
| |
| |
| |
| |
| | |
Set default sizes, window titles and add more
detail to the descriptions.
|
| |
| |
| |
| | |
Check that the toplevel property name is legit.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is a special-purpose sorter that can
apply the sorting of another sorter to the
levels of a GtkTreeListModel.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a somewhat large commit that:
- Adds GtkColumnViewSorter
This is a special-purpose, private sorter implementation which sorts
according to multiple sorters, allowing each individual sorter to be
inverted. This will be used with clickable column view headers.
- Adds a read-only GtkColumnView::sorter property
The GtkColumnView creates a GtkColumnViewSorter at startup that it uses
for this property.
- Adds a writable GtkColumnViewColumn::sorter property
This allows defining per-column sorters. Whenever an application sets a
sorter for a column, the header becomes clickable and whenever
a header is clicked, that column's sorter is prepended to the list of
sorters, unless it is already the first sorter, in which case we invert
its order. No column can be in the list more than once.
|
| |
| |
| |
| | |
Add a single-click-activate property to GtkListView.
|
| |
| |
| |
| |
| |
| |
| | |
Add a mode to GtkListItemWidget that activates on
single click and selects on hover. Make
GtkListItemManager set this on its items
when its own 'property' of the same name is set.
|
| |
| |
| |
| |
| | |
This avoids a ton of escaping for
GtkBuilderListItemFactory::bytes.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The port is kind of evil, in that it stores either a PangoFontFamily or a
PangoFontFace in the list, depending on if the fontchooser is configured
to select fonts or faces.
It also does not cache the font description anymore, so more calls to
pango_font_describe() may happen.
If both of these issues turn out problematic, the fontchooser would need
to resurrect GtkDelayedFontDescription again and put objects of that
type through the model.
These changes depend on Pango 1.46's introduction of listmodels and
various new getters, so the dependency has been upgraded.
|
| |
| |
| |
| | |
In particular, test that expressios can deal with object == this.
|
| |
| |
| |
| | |
This gives a bit more control over the arguments passed to expressions.
|
| |
| |
| |
| |
| |
| | |
This demo is meant to showcase expressions.
It also needs the fixes in glib 2.64 to work properly.
|
| |
| |
| |
| | |
See also: https://gitlab.gnome.org/GNOME/glib/merge_requests/1251
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This uses a custom GtkColumnViewTitle widget. So far that widget is
pretty boring, but that will change once we added
resizing, reordering, dnd, sorting, hiding/showing of columns or
whatever UIs we want.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The ColumnView now allocates column widths first and then the individual
rows use the new layout manager which looks at the column allocations to
allocate their children.
|
| | |
|
| |
| |
| |
| |
| | |
- Use "treeview" as the node name
- Add .view style class
|
| | |
|