зеркало из https://github.com/mono/mail-archives.git
82 строки
3.5 KiB
HTML
82 строки
3.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Switching%20focus%20on%20objects%20as%20pressing%20%22tab%22%0A%20key%20%3F&In-Reply-To=20080317154308.GP15083%40butchest.cubesearch.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="008514.html">
|
|
<LINK REL="Next" HREF="008516.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?</H1>
|
|
<B>Jesper K. Pedersen</B>
|
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Switching%20focus%20on%20objects%20as%20pressing%20%22tab%22%0A%20key%20%3F&In-Reply-To=20080317154308.GP15083%40butchest.cubesearch.com"
|
|
TITLE="[Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?">linux at famped.dk
|
|
</A><BR>
|
|
<I>Mon Mar 17 14:01:20 EDT 2008</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="008514.html">[Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008516.html">[Gtk-sharp-list] Menu Item
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8515">[ date ]</a>
|
|
<a href="thread.html#8515">[ thread ]</a>
|
|
<a href="subject.html#8515">[ subject ]</a>
|
|
<a href="author.html#8515">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On Mon, 17 Mar 2008 08:43:09 -0700
|
|
Peter Johanson <<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">peter at peterjohanson.com</A>> wrote:
|
|
|
|
><i> On Sun, Mar 16, 2008 at 10:23:53PM +0100, Jesper K. Pedersen wrote:
|
|
</I>><i> >
|
|
</I>><i> > I had hoped there were either a way to "inject" a keycode in the gtk
|
|
</I>><i> > key event system or a simple way to switch to the next gtk.entry
|
|
</I>><i> > object.
|
|
</I>><i>
|
|
</I>><i> Try looking at Gtk.Widget.ChildFocus (DirectionType). See:
|
|
</I>><i>
|
|
</I>><i> <A HREF="http://go-mono.com/docs/monodoc.ashx?link=M%3aGtk.Widget.ChildFocus(Gtk.DirectionType">http://go-mono.com/docs/monodoc.ashx?link=M%3aGtk.Widget.ChildFocus(Gtk.DirectionType</A>)
|
|
</I>><i>
|
|
</I>><i> It's usually for actual custom widget implementations, but may work
|
|
</I>><i> for what you need.
|
|
</I>><i>
|
|
</I>
|
|
And that works like a charm - basically setting all the entry's
|
|
activated eventhandler to a single function that does the
|
|
ChildFocus(DirectionType.TabForward) method.
|
|
|
|
Thank you for the assistance.
|
|
|
|
Best regards
|
|
Jesper KP
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="008514.html">[Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008516.html">[Gtk-sharp-list] Menu Item
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8515">[ date ]</a>
|
|
<a href="thread.html#8515">[ thread ]</a>
|
|
<a href="subject.html#8515">[ subject ]</a>
|
|
<a href="author.html#8515">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
|
mailing list</a><br>
|
|
</body></html>
|