Hi Dev!

You could try to clear the Knob::SLIDER flag (untested)

Also, if it's a read-only knob, you might want to set the NO_ANIMATION flag
as well.

Ex:
Float_knob(f, &foo, "foo");
ClearFlags(f, Knob::SLIDER);
SetFlags(f, Knob::READ_ONLY | Knob::NO_ANIMATION);

Cheers,
Ivan




On Wed, Mar 13, 2013 at 7:02 PM, Dev Mannemela <devm...@gmail.com> wrote:

> Hi,
>
> I would like to create a read-only float knob, which I would like to
> use to display some internal data to the user.
> Is there a way to turn off the slider for this knob ?
>
> Thanks,
> Dev
> _______________________________________________
> Nuke-dev mailing list
> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to