Eyeon:Script/Reference/Applications/Fusion/Classes/Input/HideWindowControls

From VFXPedia

< Eyeon:Script | Reference | Applications | Fusion | Classes | Input
Revision as of 09:33, 13 April 2007 by Daniel (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Input : HideWindowControls()

Arguments

HideWindowControls( willHide )

  • willHide (required,boolean)

A true value will hide the window control, a false value will show the window control in question.

Returns

This function does not return a value.

Remarks

Use this function to hide or expose a window control in the tool window. For instance, this could be used to hide all gamma controls on Brightness / Contrasts to prevent user manipulation.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

-- Hide all gamma controls on BC tools
toollist = composition:GetToolList()'''
 
for i, tool in toollist do
  if tool:GetID() == "BrightnessContrast" then
 
    -- check visible state
    if tool.Gamma:WindowControlsVisible() == true then
      tool.Gamma:HideWindowControls(true)
    end
 
  end
end


Tips for HideWindowControls (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Input/HideWindowControls