RE: [gtk-list] Clearing a GTK_COMBO widget

> 	does anyone know how to clear the contents of a GTK_COMBO widget, I
> just can't work it out.  It would be nice if all these types of objects,
> as well as the option_menu thing had a _clear function to remove all the
> contents, so we can start from scratch.

Here's what I currently use:

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


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