Best way of creating a selector panel?

Not really, i’m manually writing everything to the uidesc file
And the thing is i’m not trying to switch the view with it
The plugin i’m working on takes in a graph formula and allows you to generate a waveform from said graph
Here’s the current layout mockup…

under the formula input you can specify what happens to the graph once the graph goes past the y boundaries (whether the line “bounces back” off the edges, wraps around to the opposite side of the graph, completely silences, or clips) and i’m trying to make a selector panel that lets you choose the behaviour, hence my wanting it to put out a value.