mail-archives/gtk-sharp-list/2005-September/006369.html

83 строки
3.0 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] [NEWBIE] Menu image, submenu items and more
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20%5BNEWBIE%5D%20Menu%20image%2C%20submenu%20items%20and%20more&In-Reply-To=87fa5cbf05090410415c7ec93e%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006368.html">
<LINK REL="Next" HREF="006373.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] [NEWBIE] Menu image, submenu items and more</H1>
<B>Dominik Zab&#322;otny</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20%5BNEWBIE%5D%20Menu%20image%2C%20submenu%20items%20and%20more&In-Reply-To=87fa5cbf05090410415c7ec93e%40mail.gmail.com"
TITLE="[Gtk-sharp-list] [NEWBIE] Menu image, submenu items and more">dominz at wp.pl
</A><BR>
<I>Sun Sep 4 14:13:02 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="006368.html">[Gtk-sharp-list] [NEWBIE] Menu image, submenu items and more
</A></li>
<LI>Next message: <A HREF="006373.html">[Gtk-sharp-list] How to validate input on Gtk.Dialog?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6369">[ date ]</a>
<a href="thread.html#6369">[ thread ]</a>
<a href="subject.html#6369">[ subject ]</a>
<a href="author.html#6369">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Dnia 04-09-2005, nie o godzinie 19:41 +0200, Luca Gervasi napisa&#322;(a):
&gt;<i> Hello everybody.
</I>
Hello, Luca
&gt;<i> 1) I need the code to load an image other than the stock ones...if
</I>&gt;<i> anyone know...I'm trying to load them from .jpg files.
</I>
mnuRelogin.Image = new Image(&quot;abc.jpg&quot;);
&gt;<i> 2) I need the code to create child menus... Like Elements(SubElement1,
</I>&gt;<i> SubElement2, SubElement3)
</I>
You need to create new menu and attach it to some MenuItem:
Menu m = new Menu();
item.Submenu = m;
--
Dominik Zablotny
xmpp:<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">doza at chrome.pl</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006368.html">[Gtk-sharp-list] [NEWBIE] Menu image, submenu items and more
</A></li>
<LI>Next message: <A HREF="006373.html">[Gtk-sharp-list] How to validate input on Gtk.Dialog?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6369">[ date ]</a>
<a href="thread.html#6369">[ thread ]</a>
<a href="subject.html#6369">[ subject ]</a>
<a href="author.html#6369">[ 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>