Solution to "What gtype is a Pango attribute in a liststore"

A while ago I posted a question
" What gtype is a Pango attribute in a liststore", which didn’t get working solution (perl bindings).
I have no worked it out.
When setting up the liststore
the column should be defined as
‘Pango::WrapMode’, eg:
One column listview with wrap-mode defined in second column of treemodel.

my $liststore =Gtk::ListStore->new(‘Glib::String’,‘Pango::WrapMode’);

Then ypu can use ‘char’|‘word’ in the liststore column value. Other bindings will be similar I would think, using appropriate conventions


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.