File: cw_spacer.pro

package info (click to toggle)
coyote 2019.01.29-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 6,316 kB
  • sloc: python: 184; makefile: 14; sh: 13
file content (9 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
FUNCTION CW_Spacer, parent, spacer

IF N_Elements(parent) EQ 0 THEN Message, 'Parent ID parameter requried.'
IF N_Elements(spacer) EQ 0 THEN spacer = 10

base = Widget_Base(parent, Row=1)
spacer = Widget_Label(base, Value=String(Replicate(32B, spacer)))
RETURN, base
END