[Gtk-sharp-list] "format-value" signal in Gtk.Scale

Mike Kestner mkestner@speakeasy.net
09 Mar 2003 22:45:53 -0600


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
FormatValueArgs.

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.

-- 
Mike Kestner <mkestner@speakeasy.net>