[Gtk-sharp-list] Button problem

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


It still doesn't work........
Well, another question, cant' we use the system.drawing.graphics included in
the Framework to draw on GTK# things ? (I tested with a window but it says
that this method is not implemented) I thought it was possible because
GTK#'s window have a handle too...
----- Original Message -----
From: "Rachel Hestilow" <rachel@nullenvoid.com>
To: "Benjamin D." <benj1105@skreel.org>
Cc: <gtk-sharp-list@lists.ximian.com>
Sent: Sunday, June 22, 2003 7:14 PM
Subject: Re: [Gtk-sharp-list] Button problem


> On Sun, 2003-06-22 at 11:09, Benjamin D. wrote:
> >
> > Btn.Style = New Gtk.Style
>
> I strongly suspect this is the problem. Overriding widget styles is a
> somewhat advanced use of Gtk+. Try removing it and see if that works.
>
> Additionally, as you call Win.ShowAll after adding the button to the
> window, it is not necessary to call either Btn.Show or Btn.ShowAll.
>
> You can find links to documentation at
> http://www.nullenvoid.com/gtksharp/wiki/index.php/DocLinks .
>
> --
> Rachel Hestilow <rachel@nullenvoid.com>
>