From: Dima K. <di...@se...> - 2025-03-25 16:21:09
|
and...@bl... writes: > Yes, Fl_Valuator cannot be used on its own and should be derived from. > This is, for instance, what has been done with Fl_Adjuster, which is > derived from Fl_Valuator. We're not understanding each other. What I ACTUALLY want to do is to build a log-scale Fl_Slider. This is derived from Fl_Valuator. And I'd need to create my own derived class Fl_Log_Slider(Fl_Slider) in Python, and this Fl_Log_Slider would need to have a def format() that overrides the virtual implementation in Fl_Valuator. And this format() would need to return its string in the way the C++ api expects. Can we do that? |