[Gtk-sharp-list] Button problem

Benjamin D. benj1105@skreel.org
Sun, 22 Jun 2003 18:09:22 +0200


Ok I didn't do that... but it still does not work ! :-/
So, here's my code

Imports Gtk

Module Module1

Dim Win As Gtk.Window

Sub main()

Dim Win As Window

Dim Btn As Button

Dim color As Gdk.Color

Dim i As Integer

Application.Init()

Win = New Window("Hello Dave")

Btn = New Button("Click me!")

Btn.Style = New Gtk.Style

Win.Add(Btn)

Win.ShowAll()

Btn.Show()

Btn.ShowAll()

Application.Run()

End Sub

End Module

Isn't it any document on using GTK# somewhere?
----- Original Message -----
From: "Moritz Balz" <verteiler@mbalz.de>
To: "Benjamin D." <benj1105@skreel.org>
Cc: <gtk-sharp-list@lists.ximian.com>
Sent: Sunday, June 22, 2003 4:51 PM
Subject: Re: [Gtk-sharp-list] Button problem


> Did you already call the yourButton.ShowAll () method?
> yourButton.Show () ist not sufficient since it does not show any widgets
> (like the label) that the button contains.
>
>
> Benjamin D. wrote:
>
> > Hi,
> > I've a little problem with Gtk.Button because it doesn't show any
text....
> >
> > Regards,
> > Benjamin.
>
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list