clear current in COMBO box ?
- From: "Zlatko Savic" <rza onebox com>
- To: gtk-app-devel-list gnome org
- Subject: clear current in COMBO box ?
- Date: Wed, 13 Feb 2002 21:06:26 -0500
hi everyone,
i am trying to clear the entire list in my combo box by pressing a button,
but for some
reason the currently selected item in the combo box is not cleared (like
the rest)
when I call the clearing function. The code is below:
gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (clear),
list);
void clear (GtkWidget *widget, GtkList *list)
{
gtk_list_clear_items (list, 0, -1);
}
Thanks!
Zlatko Savic
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]