Re: Combo box and selection signal
- From: John Cupitt <john cupitt ng-london org uk>
- To: Michael <xmic freemail gr>
- Cc: gtk-list gnome org
- Subject: Re: Combo box and selection signal
- Date: Thu, 23 Aug 2001 17:30:17 +0100
Michael wrote:
> I m trying to use a combo box and I want an notification when the user
> changes the item from the list . I tried to trap the list object with
> gtk_signal_connect, but it didn't work .
> Any options ?
HI Michael, I do this by catching "hide" from the combo's popup. I'm sure
there's a better way though, it's pretty ugly.
gtk_signal_connect (GTK_OBJECT (GTK_COMBO (my_combo)->popwin), "hide",
GTK_SIGNAL_FUNC (new_item_selected_from_list_cb),
(gpointer) my_stuff);
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]