Results 1 to 16 of 16

Thread: [RESOLVED] Gtk#

Threaded View

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Resolved [RESOLVED] Gtk#

    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.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width