[Mono-devel-list] Re: How to make a SETUP or INSTALLER to DEPLOY

Rafael Teixeira monoman at gmail.com
Thu Aug 26 12:34:44 EDT 2004


I think that currently you can only use stock images from embedded
glade files, that is something we still need to work on to make gtk#
development easier.

Hope it clarifies things a little bit,

On Thu, 26 Aug 2004 11:37:12 +0200, Alessandro Torrisi
<alessandro.torrisi at eurone.it> wrote:
> Hi!, So if I understood well...
> 
> XmlDocument xmlDoc = new XmlDocument();
> xmlDoc.Load(Assembly.GetExecutingAssembly().GetManifestResourceStream("Foo.xml"));
> 
> xmlDoc.Load wants as actual parameter a stream, here given by the method
> GetManifestResourceStream("Foo.xml"), in this way I can load images or what I
> want...right ?
> 
> So for example If I want to embed an image could be for example...
> 
> Image image =
> Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream("Screen.png"));
> 
> Right ?
> But if for example I want to include some .glade file in which I specify the
> images, well I think this is not possible...could be ?
> 
> Best regards,
> Alex.
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
Cognition is not a representation of an objectively existing world
but is a bringing forth of a world in the process of living.
-- Fritjof Capra, citing 
   Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"



More information about the Mono-devel-list mailing list