Depending on when your data is generated and what you want the user to be able 
to do with it, you may want to consider implementing the 
ArrayKnobI::ValueProvider interface on your op.

-Nathan



From: Ivan Busquets 
Sent: Wednesday, March 13, 2013 7:18 PM
To: Nuke plug-in development discussion 
Subject: Re: [Nuke-dev] Float knob without a slider

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 <[email protected]> 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
  [email protected], http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev




--------------------------------------------------------------------------------
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to