Re: Combo box event question
- From: Mihai Bazon <mbazon websci ro>
- To: bjohns44 csc com au
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Combo box event question
- Date: Fri, 3 Aug 2001 15:56:26 +0300
GtkCombo structure contains a member named "list" of type GtkWidget*.
This member is a GtkList. Get it this way:
GtkWidget *the_list = GTK_COMBO(the_combo)->list;
connect to it's select signal:
gtk_signal_connect(GTK_OBJECT(the_list), "selection_changed",
GTK_SIGNAL_FUNC(your_handler), NULL);
hmm.. I don't know for sure if that's the signal's name.. however, about
GtkList you can find detail info in tutorial.
Cheers,
//mishoo
On Thu, 2 Aug 2001 15:48:04 +0930
bjohns44 csc com au wrote:
I did a quick search through the archives and could find nothing on
[combo*
and event] so I was hoping that someone on the list may know.
The question:
Is there an event for the combo box that gets fired when a
selection
has been made?
There seems to be no obvious choice. Even used Glade to check events on
combo to see if anything stood out.
My idea:
I need an event to be fired off when something is selected. ( ie.
when
dropdown list is in play and one of the choices is clicked an after that
click the window is closed ) Is there any event in there like
delete_event
for the pop-down window that I could use for something like an
after_update
event?
Any ideas?
Brandon Johnson
Systems Engineer - NES
CSC Whyalla
ph: +61-8-8640-4530
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
... and on the seventh day, He exited from append mode.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]