[Glade-devel] GtkComboBoxEntry & focus-out-event.
- From: damon karuna uklinux net (Damon Chaplin)
- Subject: [Glade-devel] GtkComboBoxEntry & focus-out-event.
- Date: 05 Jun 2004 23:01:43 +0100
You could try connecting the signal handler manually in your code,
just after creating the window. That should work OK.
Maybe I should allow selection of the child widget within Glade.
Damon
On Sat, 2004-06-05 at 06:22, Bas Driessen wrote:
Hello Again,
Some additional info regarding question below. If I want to set a
"focus-event-out" on a GtkComboBoxEntry, what I probably really want
to do is link this event to the child of the GtkComboBoxEntry GTK_BIN
(combo_box)->child. which would be the GtkEntry widget. So I guess my
questions then are the following:
- How can I set a "focus-event-out" for the text child of the new
GtkComboBoxEntry using Glade?
- If I can't make a seperation between parent and child in Glade,
should the glade_xml_signal_autoconnect function in Libglade handle
this situation? So where a combination of GtkComboBoxEntry &
focus-out-event does not make sense, then try to set that to the child
for instance?
Thanks,
Bas.
-----Original Message-----
Hello,
Question regarding the new GtkComboBoxEntry. According the
documentation, this is a text entry field with a dropdown
list. With my "normal" GtkEntry I use the signal
"focus-out-event". This event works good for me since it
responds to both focus change by mouse as by the tab key. My
question is, why is this focus-out-event not working with
GtkComboBoxEntry? I know you can/have to use "changed" signal
to get the text entry field updated with a value from the
list, but if I want to type in a text without selection and
this text is not in the list, I would like to have to option
of "focus-out-event".
Can I add this signal to this object? If not what is a good
alternative signal to use.
focus-out-event was working with the old(er) GtkCombo.
Thanks,
Bas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]