Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taozuhong/gtkcolumnviewdemo
A GtkColumnView demo app
https://github.com/taozuhong/gtkcolumnviewdemo
columnview gtk4 gtkcolumnview gtkexpression gtkpopover gtkpopovermenu mesonbuild vala
Last synced: about 1 month ago
JSON representation
A GtkColumnView demo app
- Host: GitHub
- URL: https://github.com/taozuhong/gtkcolumnviewdemo
- Owner: taozuhong
- License: mit
- Created: 2021-10-19T14:29:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T02:54:56.000Z (4 months ago)
- Last Synced: 2024-11-21T13:43:08.911Z (about 2 months ago)
- Topics: columnview, gtk4, gtkcolumnview, gtkexpression, gtkpopover, gtkpopovermenu, mesonbuild, vala
- Language: Vala
- Homepage:
- Size: 158 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GtkColumnViewDemo
This is a GtkColumnView demo app for validating the GTK4 features for [Kangaroo App](https://www.datatable.online/?from=github), that is a database client and admin tool built with GTK, libgda and Vala.The GtkColumnViewDemo app integrates with following GTK4 features:
1. GtkColumnView / GtkColumnViewColumn
2. GtkPopoverMenu with checkmark
3. Context menu with model and submenu support
4. GtkNotebook with a custom tab widget
5. GtkBuilder with GtkTemplate / GtkChild / GtkCallback support
6. GtkBuilderListItemFactory with resource and bytes support
7. GtkSignalListItemFactory
8. Shortcut register and handle
9. GtkMenuButton/GtkSpinButton/GtkEntry/GtkPopover/GtkDropDown/... usage
10. GtkExpression usage
11. MessageDialog with default button and css style
12. Toolbar with dynamic binding support
13. Add MSYS2 based VSCode debug support# Screenshot
![Edit mode with GtkSignalListItemFactory](./images/screenshot-1.png)
![View mode with mixed GtkListItemFactory](./images/screenshot-2.png)# Expression examples
__Expression with GtkClosureExpression(global) + GtkPropertyExpression__
string get_file_type_factory (Gtk.ListItem item, FileInfo? info);
```xml
GtkListItem
```
__Expression with GtkPropertyExpression + GtkPropertyExpression__
```xml
GtkListItem
```
__Expression with GtkExpression property + GtkConstantExpression__
```xml
100
GTK_SORT_ASCENDING
```
__Expression with GtkExpression property + GtkClosureExpression(global)__
```xmlTrue
False
True
Alignment
GtkAlign
```