Keeping focus of a TextBox (GtkEntry) (one more try)


        I didn't get any answer to my problem, maybe I'm not clear enough. I
just want to know how to keep the mouse focus in a GtkEntry widget, so when
the mouse move "outside" the border of the GtkEntry, it still has the focus
(so it can receive user keyboard input)

    Thank you for any help or tips :-)

PS: below is the original email send to this list last Wednesday.


        I'm using a GtkEntry (editable) in a widget. I have a custom widget
that on certain events shows up a textbox where the user can type some
information. Inside my widget, I'm packing the GtkEntry using the foloowing
code :

        My problem is that the user can only type in the textbox if the
Mouse pointer is within the border of this object. When the Mouse moves
away, the focus is lost (eventhough I've tried the function
gtk_widget_grab_focus)! What am I doing wrong?

        Thanks for any help that you can provide :-)

 Best regards,
Jean-Christophe Berthon

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