Deleting one item in the treeview?


i try to delete one list in simplelist.

delete @{$UserList->{'data'}}[$_] gives empty line.
splice (@{$UserList->{'data'}}, $_, 1) - sometimes it works perfectly, sometimes it gives:
SPLICE: operation not fully supported at ./ line 128

Any suggestions?

Simplelist structure:
my $UserList = Gtk2::SimpleList->new_from_treeview($gladexml->get_widget('UserTree'),
    'Icon'      =>      'pixbuf',
    'User'      =>      'text',
Sincerely, ArtÅras 'arturaz' Ålajus
You can find me at: nick arturaz nick arturaz
ICQ: 157929934
Jabber: arturaz akl lt

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