[Gtk-sharp-list] "format-value" signal in Gtk.Scale
10 Mar 2003 10:35:59 +0000
On Mon, 2003-03-10 at 04:45, Mike Kestner wrote:
> On Sun, 2003-03-09 at 07:32, Lee Mallabone wrote:
> > However, in Gtk# there is no way to return a string, effectively
> > rendering this event handler currently useless.
> Sure there is. You assign a string to the RetVal property of the
> Any event that wraps a signal with a non-void return type in the
> "native" api should be documented to indicate how RetVal should be set.
I think the whole API would be nicer and more obvious if return values
were, well, returned.
Is the 'RetVal' way of doing things a constraint forced by the
underlying Gtk+ system in some way?
The whole notion of having to set a return value when the return type of
the delegate is actually 'void' seems likely to really confuse newcomers