[Mono-list] GTK# ButtonApp in VB.NET

Daniel Morgan danmorg@sc.rr.com
Mon, 11 Nov 2002 08:34:50 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_002E_01C2895D.334244A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

GTK# runs on mono on Windows.  I would like to know if it runs on mono on
Linux.

I have an app in VB.NET ported from gtk-sharp/sample/ButtonApp.cs
and it works on mono on windows using gtk#.  It was built using vs.net with
references to Mono's System and System.Drawing and gtk# assemblies.

It does not run on .NET though.
I cheated by running the .exe in my ~/mono/install/lib path which contains
all my mono assemblies, gtk# assemblies, gtk# glue, gtk+ and dependencies.

Two attached files:
The assembly is GtkSharpButtonTest_VBNet.exe
The source is Module1.vb

------=_NextPart_000_002E_01C2895D.334244A0
Content-Type: application/x-msdownload;
	name="GtkSharpButtonTest_VBNet.exe"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="GtkSharpButtonTest_VBNet.exe"

TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v
ZGUuDQ0KJAAAAAAAAABQRQAATAEEAH6tzz0AAAAAAAAAAOAADgELAQYAAAwAAAAOAAAAAAAA/ikA
AAAgAAAAQAAAAAAAEQAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACgAAAABAAAAAAAAAMAAAAAABAA
ABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAAKQpAABXAAAAAGAAAKAIAAAAAAAAAAAAAAAAAAAA
AAAAAIAAAAwAAAAAQAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAABAoAAAAgAAAADAAAA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AAAAAAAAAAAAAAAAAAAHd3d3d3d3d3d3d3d3d3cARERERERERE
RERERERERHAE//////////////////RwBP/////////////////0cAT/////////////////9HAE
//////////////////RwBP/////////////////0cAT/////////////////9HAE////////////
//////RwBP/////////////////0cAT/////////////////9HAE//////////////////RwBP//
///////////////0cAT/////////////////9HAE//////////////////RwBP//////////////
///0cAT/////////////////9HAE//////////////////RwBP/////////////////0cAT/////
////////////9HAEiIiIiIiIiIiIiIiIiIRwBEREREREREREREREREREcARMTExMTExMTExOzs5J
dHAEzMzMzMzMzMzMzMzMzMQAAERERERERERERERERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/////////////////////AAAABgAAAAYAAAAGAAAAB
gAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGA
AAABgAAAAYAAAAGAAAABgAAAAYAAAAPAAAAH////////////////KAAAABAAAAAgAAAAAQAEAAAA
AADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIAAAACAgACAAAAAgACAAICAAACAgIAAwMDA
AAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAAAAAAAAAAAAd3d3d3d3d3REREREREREdP////
///4R0////////hHT///////+EdP///////4R0////////hHT///////+EdP///////4R0//////
//hHSIiIiIiIiEdMzMzMzMzMR8RERERERETAAAAAAAAAAAAAAAAAAAAAAP//AACAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA//8AAP//AAAAAAEAAgAg
IBAAAQAEAOgCAAACABAQEAABAAQAKAEAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAA

------=_NextPart_000_002E_01C2895D.334244A0
Content-Type: text/plain;
	name="Module1.vb"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Module1.vb"

Imports GLib
Imports Gtk
Imports GtkSharp
Imports System
Imports System.Drawing
=0A=
Public Class ButtonApp=0A=
=0A=
    Sub New()
        Application.Init()=0A=
        Dim win As Gtk.Window
        win =3D New Window("Button Tester")=0A=
        win.DefaultSize =3D New Size(200, 150)=0A=
        Dim delete As DeleteEventHandler
        delete =3D New DeleteEventHandler(AddressOf Me.Window_Delete)=0A=
=0A=
        AddHandler win.DeleteEvent, delete=0A=
=0A=
        Dim btn As Button
        btn =3D New Button("Click Me")=0A=
        Dim btnClicked =3D New EventHandler(AddressOf Me.btn_click)=0A=
        AddHandler btn.Clicked, btnClicked=0A=
=0A=
        win.Add(btn)=0A=
        win.ShowAll()=0A=
    End Sub=0A=
=0A=
    Public Sub btn_click(ByVal obj As Object, ByVal args As EventArgs)=0A=
        Console.WriteLine("Button Clicked")=0A=
    End Sub=0A=
=0A=
    Public Sub Window_Delete(ByVal obj As Object, ByVal args As =
DeleteEventArgs)=0A=
        Application.Quit()=0A=
        args.RetVal =3D True=0A=
    End Sub=0A=
End Class=0A=

Module Module1

    Sub Main()
        Application.Init()
        Dim buttonApp =3D New ButtonApp()
        Application.Run()
    End Sub

End Module

------=_NextPart_000_002E_01C2895D.334244A0--