how to use a clist



hello all,
i am new to gtk, so please keep it simple! ^_^
here is my problem:

i have a panel showing a list of files; actually it shows a CList of
files. Now when i press the "cancel" button i want that the highlighted
file disappear from the list.

i was thinking about putting in the cancel button callback something
like:

(in pseudocode)

get selected clist row
remove the row from the clist
update the panel

but looking in the gtk specs i found that there is no function querying
for the selected CList row!!!
how can i achive the goal?!?
i am open to any suggestion,
thank you
enrico







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