Gtkdialog Examples


Table of Contents

00.00-text 
00.01-text_attributes 
00.02-text_input 
01.00-button 
01.01-button_attributes 
01.02-button_action_types 
01.03-button_signals 
01.04-button_icon_actions 
02.00-entry 
02.01-entry_attributes 
02.02-entry_input 
03.00-checkbox 
03.01-checkbox_attributes 
04.01-radiobutton_attributes 
05.00-combo 
05.00-progress_bar 
05.01-combo_attributes 
05.01-progress_bar_closewindow 
05.02-combo_input 
05.02-progress_bar_test 
06.00-editor 
06.00-pixmap 
06.01-editor_attributes 
07.00-list 
07.01-list_attributes 
07.02-list_actions 
08.00-table 
09.00-tree 
09.01-tree_attributes 
09.01-tree_items 
09.02-tree_actions 
09.02-tree_default_pixmaps 
09.03-tree_icon_columns 
09.09-tree_insert 
09.10-tree_icon_stocks 
09.11-tree_icon_names 
09.12-tree_one_column 
10.00-vbox_and_hbox 
10.01-vbox_and_hbox_attributes 
11.00-frame 
12.00-notebook 
13.00-chooser 
14.00-menubar 
14.01-menubar_icons 
15.00-window 
15.01.window_attributes 
15.02.window_signals 
16.00-fileselect 
16.01.widget_signals 
16.02.widget_properties_default 
50.00-embedded_if 
90.00-event_driven 
90.00-standalone_file 
90.01-input_file 
90.01-print_ir 

00.00-text 

00.00-text.png

Example 1. File 00.00-text

#! /bin/bash

export MAIN_DIALOG='
 <vbox>
  <text>
    <label>This is a static text.</label>
  </text>
  <hbox>
   <button ok></button>
   <button cancel></button>
  </hbox>
 </vbox>
'

gtkdialog --program=MAIN_DIALOG