2009/2/23 Christian Hoff <[email protected]>:
> Have a look at the Size.cs sample in the Gtk# repository. The event
> handler shopuld not call SetSizeRequest, but instead modify the
> Requisition object in the args param:
>
> static void Size_Requested (object obj, SizeRequestedArgs args)
> {
> Requisition req = args.Requisition;
> Console.WriteLine ("Requesting 100 x 100");
> req.Width = req.Height = 100;
> args.Requisition = req;
> }

Does it mean that the example in go-mono is wrong?
http://go-mono.com/docs/index.aspx?tlin...@ecma%3a721%23bin%2f
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to