Palette:popDialog

From Derivative
Jump to navigation Jump to search

Summary
[edit]

The popDialog custom Component builds on Container COMP to make an easy-to-use pop-up dialog for basic notifications and queries. The dialog can be set up using parameters or script.

Up to four buttons can be created, as well as a text-entry box. A callback system is provided for more complex needs.

TIP: there is a system popDialog available in op.TDResources, so for many needs a call to op.TDResources.op('popDialog').OpenDefault(...) is all that is needed to create a dialog.

For examples of how to set up a popDialog, see PopDialog Custom COMP Examples.

PythonIcon.pngPalette:popDialog Ext


Parameters - Pop Dialog Page

Help Page Helppage - Open the popDialog wiki page in a browser.

Open Open - Open the pop-up dialog.

Close Close - Close the pop-up dialog.

Title Title - The dialog's title. If empty, no title bar will be displayed.

Text Text - The dialog's text.

Text Entry Area Textentryarea - If true, an area for the user to provide text entry will be displayed.

Text Entry Default Textentrydefault - The text entry area will start with this text in it.

Buttons Buttons - The number of buttons to display in the dialog.

Button Label 1 Buttonlabel1 - The label for the given button number.

Button Label 2 Buttonlabel2 - The label for the given button number.

Button Label 3 Buttonlabel3 - The label for the given button number.

Button Label 4 Buttonlabel4 - The label for the given button number.

On Esc Press Button Escbutton - - The button press to simulate when esc key is pressed.

  • Button 1 1 -
  • Button 2 2 -
  • Button 3 3 -
  • Button 4 4 -
  • None None -

On Enter Press Button Enterbutton - - The button press to simulate when enter key is pressed.

  • Button 1 1 -
  • Button 2 2 -
  • Button 3 3 -
  • Button 4 4 -
  • None None -

Esc On Click Away Esconclickaway - If True, a click anywhere but on the pop-up dialog will simulate an esc key press.


Parameters - Callbacks Page

Edit Callbacks Editcallbacks - Open the Callback DAT in editor.

Callback DAT Callbackdat - The DAT containing callbacks for this component.

Print Callbacks Printcallbacks - Print info on each callback to the textport, whether or not a callback is found.

TouchDesigner Build:

Palette
Palette • Palette/Mapping/kantanMapper • Palette:arcBallCamera • Palette:arcBallGeometry • Palette:audioAnalysis • Palette:audioSet • Palette:battery • Palette:blendModes • Palette:bloom • Palette:camera • Palette:cameraBrowser • Palette:camSchnappr • Palette:changeColor • Palette:changeToColor • Palette:checker • Palette:chromaKey • Palette:colorThreshold • Palette:compareComp • Palette:convolve • Palette:cornerPinSOP • Palette:cppParsTemplateGen • Palette:customAttributes • Palette:debugControl • Palette:dent • Palette:depthExtract • Palette:dilate • Palette:equalizer • Palette:feedback • Palette:feedbackEdge • Palette:firmata • Palette:geoPanel • Palette:gestureCapture • Palette:graphPlot • Palette:histogram • Palette:hsvBlur • Palette:imageSearch • Palette:julia • Palette:kantanMapper • Palette:kinectCalibration • Palette:kinectPointcloud • Palette:leapPaint • Palette:lightTunnel • Palette:mandelbrot • Palette:mesh • Palette:monochrome • Palette:motionSense • Palette:moviePlayer • Palette:moviePlaylist • Palette:multiLevel • Palette:multiMix • Palette:noise • Palette:onScreenKeyboard • Palette:opticalFlow • Palette:particlesGpu • Palette:pixelate • Palette:pixelRelocator • Palette:pointGenerator • Palette:pointillize • Palette:pointMerge • Palette:pointRender • Palette:pointRepack • Palette:pointTransform • Palette:pointWeight • Palette:popDialog • Palette:probe • Palette:projectorBlend • Palette:pushPins • Palette:puzzle • Palette:quadReproject • Palette:radialBlur • Palette:remotePanel • Palette:rgbaBlur • Palette:rgbaDelay • Palette:rgbContrast • Palette:sceneChanger • Palette:search • Palette:searchReplace • Palette:sharpen • Palette:softenAlpha • Palette:solarize • Palette:sopRender • Palette:splitter • Palette:stitcher • Palette:stoner • Palette:superFormula • Palette:sweetSpot • Palette:sweetSpotPreviz • Palette:TDVR • Palette:transitMap • Palette:twirl • Palette:vectorScope • Palette:virtualFile • Palette:waveformMonitor • Palette:webBrowser • Palette:webSvg • Palette:xyScope