On Thu, 27 Jan 2000, James Henstridge wrote:
> You may be able to do this like so:
>
> 1) connect to the key_press_event of the GtkText widget.
> 2) In the handler, if the key pressed was GDK.Tab, then insert a tab
>character into the text widget, call the emit_stop_by_name method of
>th
text = GtkText()
text['can_focus'] = FALSE
Try that. I dunno if it'll work.
Matt
On Wed, Jan 26, 2000 at 11:51:23PM -0500, Stephan R.A. Deibel wrote:
> Hi,
>
> I have a GtkHBox with two GtkTexts in it and when I hit the focus is
> shifted between texts instead of inserting a tab character in
You may be able to do this like so:
1) connect to the key_press_event of the GtkText widget.
2) In the handler, if the key pressed was GDK.Tab, then insert a tab
character into the text widget, call the emit_stop_by_name method of
the text widget for key_press_event and return TRUE. For ot
Hi,
I have a GtkHBox with two GtkTexts in it and when I hit the focus is
shifted between texts instead of inserting a tab character into the text.
How do I turn this off? I can't seem to find this at any level of the
abstractions involved...
Thanks,
- Stephan
To unsubscribe: echo "unsubscri