- void set_print_func(void (*pf)(char buf[32], Gtk::Adjustment &, void *),
- void *arg) {
- print_func = pf;
- print_arg = arg;
- set_label ();
- }
-
+ /** Set a slot to `print' the value to put in the box.
+ * The slot should write the value of the Gtk::Adjustment
+ * into the char array, and should return true if it has done the printing,
+ * or false to use the ClickBox's default printing method.
+ */
+ void set_printer (sigc::slot<bool, char *, Gtk::Adjustment &>);