1 # Created by Octave 3.6.1, Mon Apr 16 18:53:51 2012 UTC <root@brouzouf>
13 # name: <cell-element>
17 -- Function File: D = zenity_calendar(TITLE, DAY, MONTH, YEAR)
18 Displays a date selection window. The variable TITLE sets the
19 title of the calendar. The optional arguments DAY, MONTH, and
20 YEAR changes the standard selected date.
22 See also: zenity_list, zenity_progress, zenity_entry,
23 zenity_message, zenity_text_info, zenity_file_selection,
30 # name: <cell-element>
34 Displays a date selection window.
38 # name: <cell-element>
45 # name: <cell-element>
49 -- Function File: S = zenity_entry(TEXT, ENTRY_TEXT, PASSWORD)
50 Displays a text entry dialog. The variable TEXT sets the title of
51 the dialog, and the ENTRY_TEXT variable sets the default value of
52 the text entry field. If the PASSWORD variable is non-empty the
53 value of the text entry field will not be displayed on the screen.
54 All arguments are optional.
56 See also: zenity_calendar, zenity_list, zenity_progress,
57 zenity_message, zenity_text_info, zenity_file_selection,
64 # name: <cell-element>
68 Displays a text entry dialog.
72 # name: <cell-element>
79 # name: <cell-element>
83 -- Function File: zenity_file_selection (TITLE, OPTION1, ...)
84 Opens a file selection dialog. The variable TITLE sets the title
85 of the file selection window. The optional string arguments can be
87 The file selection dialog is a dialog for saving files.
90 It is possible to select multiple files.
93 It is possible to select directories as well as files.
96 The argument will be the default selected file.
99 See also: zenity_calendar, zenity_list, zenity_progress,
100 zenity_entry, zenity_message, zenity_text_info, zenity_notification
106 # name: <cell-element>
110 Opens a file selection dialog.
114 # name: <cell-element>
121 # name: <cell-element>
125 -- Function File: S = zenity_list(TITLE, COLUMNS, DATA, OPTIONS1, ...)
126 Displays a graphical list of data. The variable TITLE sets the
127 title of the list. The variable COLUMNS must be a cell array of
128 strings of length N containing the headers of the list. The
129 variable DATA must be cell array of strings of length NxM
130 containing the data of the list.
133 zenity_list("Age versus Height", {"Age", "Height"},
134 {"10", "20"; "120cm", "180cm"})
135 produces a list of the data. The user can select a row in the
136 table, and it's first value will be returned by the function when
137 the user closes the window.
139 It's possible to alter the behaviour of the list window by passing
140 more than three arguments to the funtion. Theese optional string
143 The first row in the list will be a check box. The first
144 value of each data row must be either "TRUE" or "FALSE".
147 The first row in the list will be a radio list. The first
148 value of each data row must be either "TRUE" or "FALSE".
151 The values of the list will be editable by the user.
154 The value returned by the function will be the value of this
155 column of the user selected row.
158 The value returned by the function will be the entire row
159 selected by the user.
161 See also: zenity_calendar, zenity_progress, zenity_entry,
162 zenity_message, zenity_text_info, zenity_file_selection,
169 # name: <cell-element>
173 Displays a graphical list of data.
177 # name: <cell-element>
184 # name: <cell-element>
188 -- Function File: zenity_message (TEXT, TYPE)
189 Displays a graphical message dialog. The variable TEXT sets the
190 message of the dialog, and the optional variable TYPE sets the
191 type of the message. TYPE must be one of the following strings
192 `error', `info', `question', and `warning'. The default value of
193 TYPE is `info'. Retuns the value `status' which is 0 for 'Ok' and
194 1 for 'Cancel' button selection; a value of -1 indicates a failure
197 See also: zenity_calendar, zenity_list, zenity_progress,
198 zenity_entry, zenity_text_info, zenity_file_selection,
205 # name: <cell-element>
209 Displays a graphical message dialog.
213 # name: <cell-element>
220 # name: <cell-element>
224 -- Function File: zenity_notification (TEXT, ICON)
225 Displays an icon with a text in the notification area. The
226 variable TEXT sets the text in the notification area, and the
227 optional variable ICON determines which icon to show. ICON can be
228 either `info', `warning', `question', and `error'.
230 See also: zenity_calendar, zenity_list, zenity_progress,
231 zenity_entry, zenity_message, zenity_text_info,
232 zenity_file_selection
238 # name: <cell-element>
242 Displays an icon with a text in the notification area.
246 # name: <cell-element>
253 # name: <cell-element>
257 -- Function File: H = zenity_progress(TITLE, OPTION1, OPTION2)
258 -- Function File: zenity_progress (H, PROGRESS)
259 -- Function File: zenity_progress (H, PROGRESS, TEXT)
260 Displays a graphical progress bar. If the first argument is
261 either non-present or a string, a new progress bar is created and
262 a handle is returned. If the first argument is a string it will be
263 used as the title of the progress bar. The two optional arguments
264 OPTION1 and OPTION2 can be
266 The progress bar will be closed when it reaches 100.
269 The progress bar will pulsate.
271 If the first argument is a handle to a progress bar and the second
272 argument is an integer, the progress bar will set its current value
273 to the given integer. If the second argument is a string, the text
274 of the progress bar will be set to the given string. It is
275 possible to pass both an integer and a string to the function in
278 See also: zenity_calendar, zenity_list, zenity_entry,
279 zenity_message, zenity_text_info, zenity_file_selection,
286 # name: <cell-element>
290 Displays a graphical progress bar.
294 # name: <cell-element>
301 # name: <cell-element>
305 -- Function File: OUTPUT = zenity_scale(TITLE,TEXT, VALUE, MINVAL,
306 MAXVAL,STEP,PRINT_PARTIAL,HIDEVAL)
307 Displays a selection scale (range widget) window. Allows the user
308 to choose a parameter within the set ranges, and sets default
309 value, and step sizes. The variable TITLE sets the title of the
310 window. The variable TEXT sets the label of the range widget.
311 The other arguments VALUE, MINVAL,MAXVAL, STEP, PRINT_PARTIAL, and
312 HIDEVAL. The range widget can be used to select anywhere from
313 MINVAL to MAXVAL values in increments of STEP. The variable
314 PRINT_PARTIAL and HIDEVAL are boolean flags to partial and hidden
315 views of the value on the range widget. The first 3 parameters
316 are essential, while the remaining parameters MINVAL,
317 MAXVAL,STEP,PRINT_PARTIAL,HIDEVAL if not specified take on default
318 values of 0,100,1,false,false respectively.
320 See also: zenity_list, zenity_progress, zenity_entry,
321 zenity_message, zenity_text_info, zenity_file_selection,
328 # name: <cell-element>
332 Displays a selection scale (range widget) window.
336 # name: <cell-element>
343 # name: <cell-element>
347 -- Function File: S = zenity_text_info(TITLE, TEXT, EDITABLE)
348 Display a large amount of text in a graphical display. The title
349 of the display window is set with the variable TITLE, and the
350 actual text ti display is set with the variable TEXT. If the
351 optional argument EDITABLE is given the displayed text is
352 editable. In this case the altered text is returned from the
355 See also: zenity_calendar, zenity_list, zenity_progress,
356 zenity_entry, zenity_message, zenity_file_selection,
363 # name: <cell-element>
367 Display a large amount of text in a graphical display.