Re: Gtk2::SimpleList
- From: Daniel Kasak <dkasak nusconsulting com au>
- To: Ross McFarland <rwmcfa1 neces com>, Gtk-Perl-List <gtk-perl-list gnome org>
- Cc:
- Subject: Re: Gtk2::SimpleList
- Date: Mon, 17 May 2004 13:01:49 +1000
Ross McFarland wrote:
On Sun, 2004-05-16 at 21:15, Daniel Kasak wrote:
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?
at that point (no letting it create the columns and renderers for you,
you've basically gotten rid of half of the usefulness of SimpleList.
you should be able to do anything to a simplelist you can with a
TreeView. so $slist->get_column should get you what you need.
Excellent!
I didn't realise that.
Thanks.
--
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 43065
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]