mail-archives/gtk-sharp-list/2005-August/006356.html

73 строки
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20do%20I%20get%20the%20contents%20of%20a%20ComboBoxEntry%3F&In-Reply-To=4310DA12.7090404%40allaroundit.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006355.html">
<LINK REL="Next" HREF="006357.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?</H1>
<B>Ben Motmans</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20do%20I%20get%20the%20contents%20of%20a%20ComboBoxEntry%3F&In-Reply-To=4310DA12.7090404%40allaroundit.com"
TITLE="[Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?">ben.motmans at gmail.com
</A><BR>
<I>Sat Aug 27 18:17:36 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="006355.html">[Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?
</A></li>
<LI>Next message: <A HREF="006357.html">[Gtk-sharp-list] [PATCH] build without mono-tools
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6356">[ date ]</a>
<a href="thread.html#6356">[ thread ]</a>
<a href="subject.html#6356">[ subject ]</a>
<a href="author.html#6356">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 8/27/05, Douglas Hammond &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">djhammond at allaroundit.com</A>&gt; wrote:
&gt;<i> How do I get the contents of a ComboBoxEntry?
</I>&gt;<i>
</I>&gt;<i> ComboBoxEntry looks very confusing compared to Combo
</I>&gt;<i>
</I>&gt;<i> i would like to use it as Combo is depricated. An example would be nice.
</I>
if you have an up-to-date version of gtk-sharp, you can use the .Entry
property to get the Entry, otherwise you can use this little
work-around:
Entry e = someComboBoxEntry.Child as Entry;
-- Ben
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006355.html">[Gtk-sharp-list] How do I get the contents of a ComboBoxEntry?
</A></li>
<LI>Next message: <A HREF="006357.html">[Gtk-sharp-list] [PATCH] build without mono-tools
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6356">[ date ]</a>
<a href="thread.html#6356">[ thread ]</a>
<a href="subject.html#6356">[ subject ]</a>
<a href="author.html#6356">[ 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>