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

Lee Mallabone gnome@fonicmonkey.net
09 Mar 2003 13:32:45 +0000


Hi all,

I've been documenting Gtk.Scale. It has a rather funky signal:
"format-value". In the C API, the signal handler returns a string that
is used for the label in the Scale widget. The Gtk+ docs describe it
better at:

http://developer.gnome.org/doc/API/2.0/gtk/GtkScale.html#GtkScale-format-value

However, in Gtk# there is no way to return a string, effectively
rendering this event handler currently useless.

Is this something that needs tweaks made to the parser/generator tools,
or would it be better to add something with a .custom file and supress
the existing handler?

I can just file a bug if that's more appropriate, but I'm trying to
learn about the Gtk# toolchain and internal API. As I write docs,
answers to problems like this seem like a reasonable way to learn as I
go...

Regards,

Lee.