Re: Gtk2 Tree



parakala suma <parakalas yahoo com> writes:

hai!

i am trying Gtk2::Treeview.
i am able to display items.
my problem is i am not able check wheather item is
selected or unselected.

One of the following methods will probably be helpful to you:

Gtk2::TreeSelection::path_is_selected
Gtk2::TreeSelection::iter_is_selected

Or even (but that's not slightly an answer to your question):

Gtk2::TreeSelection::get_selected_rows
Gtk2::TreeSelection::selected_foreach


PS: why don't you try to search by yourself, in the gtk+
    documentation, gtk2-perl examples, or sourcecode?

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



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