#! /usr/sgitcl/bin/moat xtAppInitialize xmFileSelectionBox .top managed . realizeWidget . mainLoopWith a file selection box named sb, these are the automatically-derived child widgets:
sb.Apply sb.FilterLabel sb.Items sb.Text sb.Cancel sb.FilterText sb.ItemsList sb.DirList sb.Help sb.Selection sb.Dir sb.OK sb.SeparatorThe callback substitutions supported for xmFileSelectionBox are
%value %value_length %mask %mask_length %dir %dir_length %pattern %pattern_length