Anyone tested it on Windows? If it gets buildt on a Linux machine, does it require the Windows user to have GTK# installed?
If anyone care to test. I would be happy. Since this require you to test an exe, it is fine if you don't like to test it. But just as a note. The code inside this file is:
Code:
using System;
using Gtk;
public class GtkHelloWorld {
public static void Main() {
Application.Init();
//Create the Window
Window myWin = new Window("My first GTK# Application! ");
myWin.Resize(200,200);
//Create a label and put some text in it.
Label myLabel = new Label();
myLabel.Text = "Hello World!!!!";
//Add the label to the form
myWin.Add(myLabel);
//Show Everything
myWin.ShowAll();
Application.Run();
}
}
So not much danger inside. But I still can see if you don't dare. Well here it is.
Booooo....well, I guess there is no way then. Unless QT# can make it happen. Will have to see tomorrow if I can get it installed, but looked at it, and it looks like a pain in the ass...
you're using hte Gtk namespace which doesnt really exist in ms' .NET
maybe cuz of that?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!
I can't actualy remember what C# uses for it's GUI. At school we didn't do much GUI at all. Just the language feautures. Have you tested if it is possible to use C# GUI feautures in VS on a linux box? I have heard that VS.NET 2003 outputs a fair bit of ASM code in their C# compilation, making it hard to use the app on other OSes. But VS.NET 2005 is much cleaner this way, but still not pure as it should.
Would be interesting though to test a REALLY REALLY clean hello world app made in VS on my linux box. Anyone care to make a really clean one. Not add too much of the VS automatic inserted code into it? So I can test it here?
OK, but I guess this is resolved again then. So there is no know ways of making something GUI at ALL in Linux and expect it to run in Windows without installing stuff first, or the other way around. At least not for now.
.NET uses System.windows.forms namespace to handle GUI coding. But it is not part of the ECMA standard. Never the less Mono has been working on adding those namespaces nativly. I havent kept up with Mono much lately, but they may be very much farther on this now.
Those features fell behind due to the fact the coldnt agree on how to handle it.
Ahha...goody, so they have started, and it looks like they are going to finish it off in Version 1.2. And they are saying they are 9x% finished now. Well I only have a version 1.1.8.1 compiler now. But I at least managed to make a message box. Anyone care to test it out?
Code:
class MessageBoxHelloWorld
{
public static void Main()
{
System.Windows.Forms.MessageBox.Show("Hello, world!");
}
}
I would if I had access to a Linux box which i do not currently have. Havent gotten around to finsihing rebuilding my Linux box . Its a home sitting in pieces.
wooooohoooooo...thanks a bunch......So happy now. Now I can finaly make some GUI stuff for the geeks down here.. And script it with python. This will be so cool.
I have bookmarked one of your posts so I can rate it later on, but I must have rated you lately, since I am not able too now...
Thanks a billion, this thread is Canderizzzzed.
- ØØ -