mail-archives/gtk-sharp-list/2009-December/009978.html

69 строки
2.8 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:02:55 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] How to clear combobox (easy way if possible)?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20to%20clear%20combobox%20%28easy%20way%20if%20possible%29%3F&In-Reply-To=3d2f29dc0912061343w427a60bp67b9aea8124ecace%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="009974.html">
<LINK REL="Next" HREF="009987.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] How to clear combobox (easy way if possible)?</H1>
<B>Maciej Pilichowski</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20to%20clear%20combobox%20%28easy%20way%20if%20possible%29%3F&In-Reply-To=3d2f29dc0912061343w427a60bp67b9aea8124ecace%40mail.gmail.com"
TITLE="[Gtk-sharp-list] How to clear combobox (easy way if possible)?">bluedzins at wp.pl
</A><BR>
<I>Tue Dec 8 11:24:51 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="009974.html">[Gtk-sharp-list] How to clear combobox (easy way if possible)?
</A></li>
<LI>Next message: <A HREF="009987.html">[Gtk-sharp-list] How to clear combobox (easy way if possible)?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9978">[ date ]</a>
<a href="thread.html#9978">[ thread ]</a>
<a href="subject.html#9978">[ subject ]</a>
<a href="author.html#9978">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello,
On Sunday 06 December 2009 22:43:25 Chris Howie wrote:
&gt;<i> If you are going to be doing anything but simple add/remove
</I>&gt;<i> operations on your ComboBox's entries, then you should instead use
</I>&gt;<i> your own model, since the base TreeModel interface is read-only.
</I>&gt;<i> Look at creating a ListStore (new ListStore(typeof(string))).
</I>
Works like a charm, thank you very much! :-)
Cheers,
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009974.html">[Gtk-sharp-list] How to clear combobox (easy way if possible)?
</A></li>
<LI>Next message: <A HREF="009987.html">[Gtk-sharp-list] How to clear combobox (easy way if possible)?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9978">[ date ]</a>
<a href="thread.html#9978">[ thread ]</a>
<a href="subject.html#9978">[ subject ]</a>
<a href="author.html#9978">[ 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>