On Tue, 2024-03-12 at 08:47 +0100, Miller Puckette wrote:
Incidentally: I just noticed that the IEM slider object (and proabbly other EM GUIs) spits out a number when clicked upon, even if not dragged. Is this desirable behavior? It caught me out buit perhaps other users are actually wanting to be able to click on a control to repeat its value. Hmm..
Given Pd's limited set of GUI widgets I'm (ab)using the existing widgets for all kinds of stuff using their exact behavior. I'm sure I'm not the only one. One idiom I've used thousands of times is using sliders as bang buttons with adjustable size:
[hslider ] | [sel]X[t a] |
This works exactly because if you click it, it repeats the last value, thus giving a bang. However, it outputs nothing when dragging.
Roman