Clearing the list in a combo widget



Hi all,
        I got one question. How can I clear the list of a GtkCOmbo widget.
Would something like the following line work or should I do more.

gtk_list_clear_items(GTK_LIST(GTK_COMBO(combo)->list),0,-1);

I ask this because the docs say that the list member must be treated read-only.


Thanks
Deepu


 

?/¸/è/0H0x0¨0Ø0181h1?1È1ø1(2X2?2¸2è23H3x3¨3Ø3484h4?4È4ø4(5X5?5¸5è5

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





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