UIslider

Synopsis

a slider bar widget for specifying numeric values

UIvaluator UIslider {
         width = 200;
  #ifdef MSDOS
         height = 32;
  #else
         height = (UIdata.UIfonts[0].lineHeight * 25)/10;
  #endif
         string title => name_of(<-,1);
         Boolean horizontal;
         enum processingDirection= {right, left, down, up};
         double increment;
         Boolean showValue=1;

omethod+notify_inst+notify update<NEvisible=0,interruptable=0,lang="cxx"> = "UIsliderUpdate";
  };

Description

UIslider provides a horizontal or vertical slider bar for entering numeric values.

Subobjects

&min;

&max;

&value;

mode;

&decimalPoints;

&immediateMode;

&includeMin <Not visible in Network Editor>;

&includeMax <Not visible in Network Editor>

Inherited from UIvaluator .

message

UIprimitive class attribute.

x; y;

width =200;

height;

UIgeom class attributes.

* parent;

grouptoParent;

&cursor;

events <Not visible in Network Editor>;

UIwindow class attributes

shellParent <Not visible in Network Editor>;

canHaveChildren <Not visible in Network Editor> =0

UIconnection class attributes inherited from UIwindow.

&visible=0;

&active;

pixmap;

color;

fontAttribute;

fontlist <No longer used. Not visible in Network Editor>;

cxxhandle <Internal Object. Not visible in Network Editor>;

handle <Internal Object. Not visible in Network Editor>;

motif_resources <No longer used. Not visible in Network Editor>;

window_resources <No longer used. Not visible in Network Editor>;

layout <No longer used. Not visible in Network Editor>

Attributes inherited from UIcore class through UIwindow.

title

String. Specifies a text string to label the slider bar. The default is "UIslider".

horizontal

Boolean. Controls the orientation of the slider. 1=horizontal; 0=vertical. The default is vertical.

processingDirection

Enumerator. Specifies the direction of increasing value. 0 = right; 1= left; 2 = up; 3 = down. The default is 0 (right).

increment

Double. specifies the amount the value changes with each mouse click on the slider bar. Note that a click on the slider's end arrows (rather than on the bar) always increments the value by 1 unit of the least significant digit of the value.

showValue =1

Boolean. If set (=1) it displays the slider value.

Example

Examples.Applications.IsoApp
examples/iso_app.v
Examples.Visualization.Surf_plot
examples/surf_plt.v
Main.Filters.downsize (and many others)
v/modules.v
AVS5_Modules.Mappers.ACU_3D_bar_chart (and many others)
v/ACmods.v

File

v/UI.v

See Also Related Modules

UIvaluator
UIdial
UIdynamic_toggle