Update NTK.
[nondaw.git] / session-manager / src / NSM_Proxy_UI.fl
blob9627092b43cd2dcbef9028098abd1c62075a442b
1 # data file for the Fltk User Interface Designer (fluid)
2 version 1.0300 
3 header_name {.H} 
4 code_name {.C}
5 class NSM_Proxy_UI {open
6 } {
7   Function {make_window()} {open
8   } {
9     Fl_Window {} {
10       label {NSM Proxy} open
11       xywh {1011 106 490 665} type Double color 47 labelcolor 55 visible
12     } {
13       Fl_Box {} {
14         label {Command-line options are incompatible with robust session management for a variety of reasons, so the NSM server does not support them directly. This proxy exists to allow programs which require command-line options to be included in an NSM session. Be warned that referring to files outside of the session directory will impair your ability to reliably archive and transport sessions. Patching the program to use NSM natively will result in a better experience.
16 The program will be started with its current directory being a uniquely named directory under the current session directory. It is recommended that you only refer to files in the current directory.
17 } selected
18         xywh {15 11 460 233} box BORDER_BOX color 41 labelfont 8 labelcolor 55 align 128
19       }
20       Fl_File_Input executable_input {
21         label {Executable: }
22         xywh {115 262 350 33}
23       }
24       Fl_Input arguments_input {
25         label {Arguments:}
26         xywh {115 414 350 28}
27       }
28       Fl_Input label_input {
29         label {Label:}
30         xywh {115 452 350 28}
31       }
32       Fl_Return_Button start_button {
33         label Start
34         xywh {380 625 88 25}
35       }
36       Fl_Button kill_button {
37         label Kill
38         xywh {295 625 80 25} color 72 hide
39       }
40       Fl_Choice save_signal_choice {
41         label {Save Signal:} open
42         xywh {110 625 170 25} down_box BORDER_BOX
43       } {
44         MenuItem {} {
45           label None
46           xywh {0 0 40 24}
47         }
48         MenuItem {} {
49           label SIGUSR1
50           xywh {10 10 40 24}
51         }
52         MenuItem {} {
53           label SIGUSR2
54           xywh {20 20 40 24}
55         }
56         MenuItem {} {
57           label SIGINT
58           xywh {30 30 40 24}
59         }
60       }
61       Fl_Box {} {
62         label {The environment variables $NSM_CLIENT_ID and $NSM_SESSION_NAME will contain the unique client ID (suitable for use as e.g. a JACK client name) and the display name for the session, respectively.}
63         xywh {15 312 460 87} box BORDER_BOX color 41 labelfont 8 labelcolor 55 align 128
64       }
65       Fl_Box {} {
66         label {Some (very few) programs may respond to a specific Unix signal by somehow saving their state. If 'Save Signal' is set to something other than 'None', then NSM Proxy will deliver the specified signal to the proxied process upon an NSM 'Save' event. Most programs will treat these signals just like SIGTERM and die. You have been warned.}
67         xywh {15 497 460 114} box BORDER_BOX color 41 labelfont 8 labelcolor 55 align 128
68       }
69     }
70   }
71