Simple interface to Gtk3's complex MVC list widget
Gtk3 has a powerful, but complex MVC (Model, View, Controller) system used
to implement list and tree widgets. Gtk3::SimpleList automates the complex
setup work and allows you to treat the list model as a more natural list of
lists structure.
After creating a new Gtk3::SimpleList object with the desired columns you
may set the list data with a simple Perl array assignment. Rows may be
added or deleted with all of the normal array operations. You can treat the
'data' member of the list simplelist object as an array reference, and
manipulate the list data with perl's normal array operators.
A mechanism has also been put into place allowing columns to be Perl
scalars. The scalar is converted to text through Perl's normal mechanisms
and then displayed in the list. This same mechanism can be expanded by
defining arbitrary new column types before calling the new function.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Sauerland/perl-Gtk3-SimpleList && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Gtk3-SimpleList-0.21.tar.gz | 0000019124 18.7 KB | |
README.md | 0000000354 354 Bytes | |
cpanspec.yml | 0000000760 760 Bytes | |
perl-Gtk3-SimpleList.changes | 0000001027 1 KB | |
perl-Gtk3-SimpleList.spec | 0000002692 2.63 KB |
Comments 0