Re: Gtk2::SimpleList



Chris Debenham wrote:

The width can be set on each column by using
$column->set_sizing('GTK_TREE_VIEW_COLUMN_FIXED');
$column->set_fixed_width($width);

Chris

Thanks for the response :)

Is there a way of getting hold of a column that's been created via:
Gtk2::SimpleList->new_from_treeview() ?

I can see how to create new columns:
$col = Gtk2::TreeViewColumn->new_with_attributes()

Maybe I could still use Gtk2::SimpleList->new_from_treeview() but not give it any columns right away, and then do:
$col = Gtk2::TreeViewColumn->new_with_attributes()
$simplelist->append_column($col)
afterwords.

Is that the best way of doing it?

Dan

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au
Title: CanIt Vote for ID 43003

The following links have been placed here by the NUS Consulting internal spam filter and are for use by NUS Consulting staff only.
Please ingore these links.
Spam
Not spam
Forget previous vote


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]