mail-archives/gtk-sharp-list/2004-November/005116.html

63 строки
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Info about menus
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:Sergio%20Duran%20%3Csergioduran%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="005115.html">
<LINK REL="Next" HREF="005117.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Info about menus
</H1>
<B>Sergio Duran
</B>
<A HREF="mailto:Sergio%20Duran%20%3Csergioduran%40gmail.com%3E"
TITLE="[Gtk-sharp-list] Info about menus">Sergio Duran &lt;sergioduran@gmail.com&gt;
</A><BR>
<I>Thu, 18 Nov 2004 13:45:17 -0600</I>
<P><UL>
<LI> Previous message: <A HREF="005115.html">[Gtk-sharp-list] ipaq-familiar gtk-sharp
</A></li>
<LI> Next message: <A HREF="005117.html">[Gtk-sharp-list] ByteFX+MySQL-4.1-7+CHARACTER SET
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5116">[ date ]</a>
<a href="thread.html#5116">[ thread ]</a>
<a href="subject.html#5116">[ subject ]</a>
<a href="author.html#5116">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>A simple question about menus.
I have an OptionMenu, y create a Menu, populate it and link the
OptionMenu to the Menu, how can I get the MenuItem currently selected?
Do I have to add event handlers on MenuItem.Activated, on
OptionMenu.Activated or can I just tell the OptionMenu to give me the
currently selected MenuItem?
I'm setting the MenuItem.UserData with some integers of mine.. is this valid?
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="005115.html">[Gtk-sharp-list] ipaq-familiar gtk-sharp
</A></li>
<LI> Next message: <A HREF="005117.html">[Gtk-sharp-list] ByteFX+MySQL-4.1-7+CHARACTER SET
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5116">[ date ]</a>
<a href="thread.html#5116">[ thread ]</a>
<a href="subject.html#5116">[ subject ]</a>
<a href="author.html#5116">[ author ]</a>
</LI>
</UL>
</body></html>