Re: signals to catch a change in a combobox
- From: "Richard Warren" <rew primagraphics co uk>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: signals to catch a change in a combobox
- Date: Thu, 15 Aug 2002 13:27:45 +0100
Olivier,
I connect to "unmap" on the combo->popwin which gives a signal when the
popup window disappears (which may or may not be because a new item was
selected - you need to check).
This field is supposedly private within the combo structure so is not an
ideal method but it's the best thing I could find.
If your combo->entry is editable directly (rather than just via the item
list like mine is) you'll also need to handle changes to that, possibly by
connecting to a combination of "changed" (although I think you'll get called
for every character typed), "activate" and/or "focus-out-event" depending on
when you want to know.
There really ought to be a more useful signal in the combo box widget but I
don't know what it is if it exists.
Richard.
----- Original Message -----
From: "Olivier Sessink" <olivier lx student wau nl>
To: <gtk-app-devel-list gnome org>
Sent: Thursday, August 15, 2002 12:19 PM
Subject: signals to catch a change in a combobox
Hi all,
what signals should I connect to to get a callback when another item is
selected? I tried the 'activate' signal on combo->entry and the docs don't
show anything else useful....
thanks,
Olivier
--
Bluefish web editor
http://bluefish.openoffice.nl/
development mailinglist: bluefish-dev lists ems ru
send "subscribe" to bluefish-dev-request lists ems ru
#bluefish on IRCnet
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]