Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)__
```xml

True
False
True
Alignment


GtkAlign




```