[Glade-devel] GtkComboBoxEntry & focus-out-event.



This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C44B10.DE4302B0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello Again,
=20
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:
=20
- How can I set a "focus-event-out" for the text child of the new
GtkComboBoxEntry using Glade?
=20
- 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?
=20
=20
Thanks,
Bas.
=20
=20
=20
-----Original Message-----



Hello,
=20
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".
=20
Can I add this signal to this object? If not what is a good alternative
signal to use.
=20
focus-out-event was working with the old(er) GtkCombo.
=20
Thanks,
Bas.
=20
=20


------=_NextPart_000_0008_01C44B10.DE4302B0
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D158251005-05062004>Hello=20
Again,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D158251005-05062004>Some=20
additional info regarding question below. If I want to set a =
"focus-event-out"=20
on a GtkComboBoxEntry, what I probably really want to do is link this =
event to=20
the child of the GtkComboBoxEntry&nbsp;GTK_BIN =
(combo_box)-&gt;child.&nbsp;=20
which would be the GtkEntry widget. So I guess my questions then are the =

following:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D158251005-05062004>- How=20
can I set a "focus-event-out" for the text child of the new =
GtkComboBoxEntry=20
using Glade?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D158251005-05062004>- If I=20
can't make a seperation between parent and child in Glade, should=20
the&nbsp;glade_xml_signal_autoconnect function&nbsp;in Libglade handle =
this=20
situation? So where a combination of GtkComboBoxEntry &amp; =
focus-out-event does=20
not make sense, then try to set that to the child for=20
instance?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004>Bas.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D158251005-05062004></SPAN></FONT>&nbsp;</DIV>
<DIV></DIV>
<DIV><FONT face=3DTahoma size=3D2>-----Original =
Message-----<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004>Hello,</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D732223311-03062004>Question regarding=20
  the new GtkComboBoxEntry. According the documentation, this is a text =
entry=20
  field with a dropdown list.&nbsp;With my "normal" GtkEntry I use=20
  the&nbsp;signal "focus-out-event". This event works good for me since =
it=20
  responds to both focus change by mouse as by the tab key. My question =
is, why=20
  is this focus-out-event not working with GtkComboBoxEntry? I know you =
can/have=20
  to&nbsp;use "changed" signal to get the text entry field updated with =
a value=20
  from the list, but if I want to type in a text without selection and =
this text=20
  is not in the list, I would like to have to option of=20
  "focus-out-event".</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D732223311-03062004>Can =
I add this=20
  signal to this object? If not what is a good alternative signal to=20
  use.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D732223311-03062004>focus-out-event=20
  was working with the old(er) GtkCombo.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004>Thanks,</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004>Bas.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D732223311-03062004></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0008_01C44B10.DE4302B0--





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]