[IronPython] IronPython: how to display a PNG
tinuviel at sparcs.kaist.ac.kr
Tue Nov 22 06:20:00 PST 2005
On Tue, Nov 22, 2005 at 10:44:10AM +0000, Luke Kenneth Casson Leighton wrote:
> the plan is to have the same program work on linux and windows
> (so that means 0.6 because mono - at least apt-get install
> mono - doesn't support .net 2.0 stuff yet on linux: IronPython
> 0.9.4 and 0.9.5 throw an error about some attributes missing)
Wrong. I am using plain Debian Sid, and IronPython 0.9.5 works without
apt-get install mono mono-classlib-2.0
> and finding out that that's not enough, you also have to do this (at
> least, the first two lines, you do - i added the other two myself to see
> if it made any difference to _another_ problem)
> <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
> <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
> <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0"/>
> <dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so.0"/>
Wrong. This is absolutely unnecessary if you install properly. Following
apt-get line or install from source both work.
apt-get install libgtk2.0-cil
> it's all very weird because everyone's raging about IronPython and how
> good it is: can you find _working_ example code that DoesTheJob(tm)?
Sure. Have some common sense, look at Gtk# documentation, and
If you are that much in hurry, here it is: (took 30 minutes or so for
me, and this is my first time using Gtk#.)
> so - could someone _please_ please point me in an appropriate
> direction of some example code or a tutorial with example
> code-fragments of how to friggin display PNGs on a screen.
Given as requested.
More information about the users