visualruby 3.0.11 → 3.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.vr_settings.yaml +7 -17
  3. data/examples/alert_box/.vr_settings.yaml +17 -0
  4. data/examples/filetreeview/bin/ProjectTree.rb +2 -2
  5. data/examples/phantom/.vr_settings.yaml +22 -0
  6. data/examples/phantom/main.rb +10 -0
  7. data/examples/phantom/src/MyClass.rb +5 -0
  8. data/examples/phantom/src/glade/MyClass.glade +92 -0
  9. data/examples/pop_up/.vr_settings.yaml +19 -0
  10. data/examples/pop_up/main.rb +10 -0
  11. data/{skeleton/project/bin → examples/pop_up/src}/MyClass.rb +0 -0
  12. data/{skeleton/project/bin → examples/pop_up/src}/glade/MyClass.glade +0 -0
  13. data/examples/settings_file/.vr_settings.yaml +22 -0
  14. data/{vrlib/lib → lib}/Alert.rb +0 -0
  15. data/{vrlib/lib → lib}/DragDrop.rb +0 -0
  16. data/{vrlib/lib → lib}/GladeGUI.rb +0 -0
  17. data/{vrlib/lib → lib}/IconHash.rb +0 -0
  18. data/{vrlib/lib → lib}/SavableClass.rb +0 -0
  19. data/{vrlib/lib → lib}/SimpleComboBoxEntry.rb +0 -0
  20. data/{vrlib/lib → lib}/glade/Alert.glade +0 -0
  21. data/lib/oinspect/MethodsListView.rb +16 -0
  22. data/lib/oinspect/ObjectInspectorGUI.rb +26 -0
  23. data/lib/oinspect/VariablesListView.rb +38 -0
  24. data/lib/oinspect/glade/ObjectInspectorGUI.glade +119 -0
  25. data/{vrlib/lib → lib}/treeview/FileTreeView.rb +27 -22
  26. data/{vrlib/lib → lib}/treeview/IterMethods.rb +0 -0
  27. data/{vrlib/lib → lib}/treeview/ListView.rb +0 -0
  28. data/{vrlib/lib → lib}/treeview/TreeView.rb +0 -0
  29. data/{vrlib/lib → lib}/treeview/ViewCommon.rb +0 -0
  30. data/{vrlib/lib → lib}/treeview/columns/CalendarCol.rb +0 -0
  31. data/{vrlib/lib → lib}/treeview/columns/CellRendererCombo.rb +0 -0
  32. data/{vrlib/lib → lib}/treeview/columns/CellRendererDate.rb +0 -0
  33. data/{vrlib/lib → lib}/treeview/columns/CellRendererObject.rb +0 -0
  34. data/{vrlib/lib → lib}/treeview/columns/CellRendererPhone.rb +0 -0
  35. data/{vrlib/lib → lib}/treeview/columns/CellRendererPixbuf.rb +0 -0
  36. data/{vrlib/lib → lib}/treeview/columns/CellRendererProgress.rb +0 -0
  37. data/{vrlib/lib → lib}/treeview/columns/CellRendererSpin.rb +0 -0
  38. data/{vrlib/lib → lib}/treeview/columns/CellRendererText.rb +0 -0
  39. data/{vrlib/lib → lib}/treeview/columns/CellRendererToggle.rb +0 -0
  40. data/{vrlib/lib → lib}/treeview/columns/ComboCol.rb +0 -0
  41. data/{vrlib/lib → lib}/treeview/columns/CurrencyCol.rb +0 -0
  42. data/{vrlib/lib → lib}/treeview/columns/DateCol.rb +0 -0
  43. data/{vrlib/lib → lib}/treeview/columns/ImageCol.rb +0 -0
  44. data/{vrlib/lib → lib}/treeview/columns/ProgressCol.rb +0 -7
  45. data/{vrlib/lib → lib}/treeview/columns/SpinCol.rb +0 -0
  46. data/{vrlib/lib → lib}/treeview/columns/TextCol.rb +0 -0
  47. data/{vrlib/lib → lib}/treeview/columns/TreeViewColumn.rb +0 -0
  48. data/{vrlib/lib → lib}/treeview/columns/glade/CalendarCol.glade +0 -0
  49. data/{vrlib/lib → lib}/treeview/columns/glade/ImageCol.glade +0 -0
  50. data/{vrlib/lib → lib}/treeview/columns/glade/TextCol.glade +0 -0
  51. data/{vrlib → lib}/vrlib.rb +1 -1
  52. data/skeleton/project/main.rb +1 -1
  53. data/skeleton/project/src/MyClass.rb +15 -0
  54. data/skeleton/project/src/glade/MyClass.glade +36 -0
  55. data/{bin → src}/editor/VR_Document.rb +9 -8
  56. data/{bin → src}/editor/VR_TabSearch.rb +0 -0
  57. data/{bin → src}/editor/VR_Tabs.rb +0 -0
  58. data/{bin → src}/editor/VR_TextShell.rb +0 -0
  59. data/{bin → src}/editor/VR_TextViewCommon.rb +0 -0
  60. data/{bin → src}/main/GemTree.rb +0 -0
  61. data/{bin → src}/main/NewProjectGUI.rb +0 -0
  62. data/{bin → src}/main/OpenProject.rb +0 -0
  63. data/{bin → src}/main/ProjectChooserView.rb +0 -0
  64. data/{bin → src}/main/ProjectTree.rb +1 -2
  65. data/{bin → src}/main/RubygemsAPI.rb +0 -0
  66. data/{bin → src}/main/VR_ENV.rb +0 -0
  67. data/{bin → src}/main/VR_ENV_GLOBAL.rb +0 -0
  68. data/{bin → src}/main/VR_File_Tree.rb +4 -2
  69. data/{bin → src}/main/VR_Local_Gem_Tree.rb +0 -0
  70. data/{bin → src}/main/VR_Main.rb +6 -3
  71. data/{bin → src}/main/VR_Remote_Gem_Tree.rb +0 -0
  72. data/{bin → src}/main/VR_Tools.rb +4 -4
  73. data/{bin → src}/main/glade/NewProjectGUI.glade +0 -0
  74. data/{bin → src}/main/glade/OpenProject.glade +1 -0
  75. data/{bin → src}/main/glade/RubygemsAPI.glade +0 -0
  76. data/{bin → src}/main/glade/Splash.glade +0 -0
  77. data/{bin → src}/main/glade/VR_ENV.glade +0 -0
  78. data/{bin → src}/main/glade/VR_ENV_GLOBAL.glade +0 -0
  79. data/{bin → src}/main/glade/VR_File_Tree.glade +0 -0
  80. data/{bin → src}/main/glade/VR_Local_Gem_Tree.glade +0 -0
  81. data/{bin → src}/main/glade/VR_Main.glade +0 -0
  82. data/{bin → src}/main/glade/VR_Remote_Gem_Tree.glade +0 -0
  83. data/vr +6 -4
  84. data/{vrlib → yard_hack}/rdoc_replace.yaml +1 -1
  85. metadata +83 -69
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7db31ad34e0e7b2513be6233c8114076d23ec55d
4
- data.tar.gz: 636fe8b6150eb4d660aee38d868bb5eaca3f3c6f
3
+ metadata.gz: ae3044be7b06f6583c01cda072b8f054fb3f5fa2
4
+ data.tar.gz: 4b1e38749d8e1bd0e1f9483b12a8523426928ba5
5
5
  SHA512:
6
- metadata.gz: 8f5897f76551d4c65420d3c4476c210154e0f724add59be939f9a7e5cd701b4a0657768204d96fe9320999c66b573d408ce1cd88a34ff07f4145d89fa49a79ac
7
- data.tar.gz: 6ba18aa633a78c2ab3eb3b42fa98f0dcbe96d497daab6c7d53cf95c02d42f9d42e8630212438daec3349acc79fc3dbdccd69216d5664311656985c42c9a8362d
6
+ metadata.gz: 2607f28bdc75a46bfc35b6782030644e96175afe3f8bf21b81588f1f9ed7d52ed4c61160dd56dae3d9dd830f702dfd15d3b2f86b0c04d84aecdfb47f2e663731
7
+ data.tar.gz: 6849a85e9a11d753fdf5ebde6a70f3029ca07510d23fc468271dd1e684e1487f6ca2cbfe0829564358ce37085bfca80246836f48317451bcab903d1f8ee059bc
data/.vr_settings.yaml CHANGED
@@ -1,26 +1,16 @@
1
1
  --- !ruby/object:VR_ENV
2
2
  vr_yaml_file: ".vr_settings.yaml"
3
- width: 1364
4
- height: 691
3
+ width: 1142
4
+ height: 695
5
5
  panel_pos: 360
6
6
  notebook_panel_position: 400
7
- run_command_line: ruby vr
7
+ run_command_line: ruby main.rb
8
8
  open_files:
9
- - "/home/eric/vrp/vr3/vrlib/yard_hack/common.css"
10
- - "/home/eric/vrp/vr3/vrlib/README.md"
11
- - "/home/eric/vrp/vr3/vrlib/doc/top-level-namespace.html"
12
- - "/home/eric/vrp/vr3/vrlib/doc/method_list.html"
13
- - "/home/eric/vrp/vr3/vrlib/doc/class_list.html"
9
+ - "/home/eric/vrp/vr3/src/main/NewProjectGUI.rb"
14
10
  open_folders:
15
11
  - "/home/eric/vrp/vr3"
16
- - "/home/eric/vrp/vr3/bin"
17
- - "/home/eric/vrp/vr3/bin/main"
18
- - "/home/eric/vrp/vr3/vrlib"
19
- - "/home/eric/vrp/vr3/vrlib/doc"
20
- - "/home/eric/vrp/vr3/vrlib/doc/css"
21
- - "/home/eric/vrp/vr3/vrlib/yard_hack"
22
- current_file: "/home/eric/vrp/vr3/vrlib/doc/top-level-namespace.html"
23
- current_line: 435
24
- rdoc_command_line: yardoc - site/*.md
12
+ current_file: "/home/eric/vrp/vr3/src/main/NewProjectGUI.rb"
13
+ current_line: 22
14
+ rdoc_command_line: yardoc lib - site/*.*
25
15
  builder: !ruby/object:Gtk::Builder {}
26
16
  top_level_window: false
@@ -0,0 +1,17 @@
1
+ --- !ruby/object:VR_ENV
2
+ width: 1329
3
+ height: 753
4
+ panel_pos: 513
5
+ run_command_line: ruby main.rb
6
+ open_files:
7
+ - "/home/eric/vrp/vr3/examples/alert_box/bin/AlertBoxDemo.rb"
8
+ - "/home/eric/vrp/vr3/examples/alert_box/main.rb"
9
+ open_folders:
10
+ - "/home/eric/vrp/vr3/examples/alert_box"
11
+ - "/home/eric/vrp/vr3/examples/alert_box/bin"
12
+ current_file: "/home/eric/vrp/vr3/examples/alert_box/bin/AlertBoxDemo.rb"
13
+ rdoc_command_line: rdoc -x README
14
+ vr_yaml_file: ".vr_settings.yaml"
15
+ notebook_panel_position: 400
16
+ current_line: 61
17
+ settings_file_version: 1
@@ -5,7 +5,7 @@
5
5
  # It does this:
6
6
  #
7
7
  # files = Dir.glob(folder_path, glob)
8
- # files = files.select &@validation_block
8
+ # files = files.select &@validate_block
9
9
  #
10
10
  # It takes the root of the file tree as the first argument, and a path to the icon files
11
11
  # to display next to the files and folders. THe icons are named according to the extension.
@@ -23,7 +23,7 @@ class ProjectTree < VR::FileTreeView #(change name)
23
23
  icon_path = File.join(File.dirname(__FILE__), "/../img")
24
24
  glob = "*"
25
25
  super(root_path, icon_path, glob)
26
- @validation_block = proc { |folder| has_settings_file?(folder) }
26
+ @validate_block = proc { |folder| has_settings_file?(folder) }
27
27
  end
28
28
 
29
29
  def self__row_activated(_self, path, col)
@@ -0,0 +1,22 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: ".vr_settings.yaml"
3
+ width: 1102
4
+ height: 611
5
+ panel_pos: 360
6
+ notebook_panel_position: 400
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/phantom/main.rb"
10
+ - "/home/eric/vrp/phantom/src/MyClass.rb"
11
+ open_folders:
12
+ - "/home/eric/vrp/phantom"
13
+ - "/home/eric/vrp/phantom/src"
14
+ - "/home/eric/vrp/phantom/src/glade"
15
+ current_file: "/home/eric/vrp/phantom/main.rb"
16
+ current_line: 11
17
+ rdoc_command_line: rdoc -x README
18
+ browser: firefox
19
+ backup_path: "/home/eric"
20
+ tab_spaces: 2
21
+ glade_path: glade-3
22
+ font_name: Monospace 10
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/ruby
2
+
3
+ require "vrlib"
4
+
5
+ # from require_all gem:
6
+ require_rel 'src/'
7
+
8
+
9
+ MyClass.new.show_glade()
10
+
@@ -0,0 +1,5 @@
1
+
2
+ class MyClass
3
+ include GladeGUI
4
+ end
5
+
@@ -0,0 +1,92 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated with glade 3.16.1 -->
3
+ <interface>
4
+ <requires lib="gtk+" version="3.0"/>
5
+ <object class="GtkWindow" id="window1">
6
+ <property name="width_request">400</property>
7
+ <property name="can_focus">False</property>
8
+ <property name="window_position">center</property>
9
+ <child>
10
+ <object class="GtkBox" id="box1">
11
+ <property name="visible">True</property>
12
+ <property name="can_focus">False</property>
13
+ <property name="margin_left">20</property>
14
+ <property name="margin_right">20</property>
15
+ <property name="margin_top">20</property>
16
+ <property name="margin_bottom">20</property>
17
+ <property name="orientation">vertical</property>
18
+ <property name="spacing">12</property>
19
+ <child>
20
+ <object class="GtkLabel" id="label1">
21
+ <property name="visible">True</property>
22
+ <property name="can_focus">False</property>
23
+ <property name="label" translatable="yes">&lt;big&gt;Phantom Code&lt;/big&gt;</property>
24
+ <property name="use_markup">True</property>
25
+ </object>
26
+ <packing>
27
+ <property name="expand">False</property>
28
+ <property name="fill">True</property>
29
+ <property name="position">0</property>
30
+ </packing>
31
+ </child>
32
+ <child>
33
+ <object class="GtkLabel" id="label2">
34
+ <property name="visible">True</property>
35
+ <property name="can_focus">False</property>
36
+ <property name="label" translatable="yes">This is a program with almost no source code. Its just a an empty class that includes the GladeGUI module. Here's a list of tasks its doing:
37
+
38
+ 1) Loading MyCalss.glade into the @builder variable
39
+ 2) Attaching the "clicked" signal to buttonCancel
40
+ 3) Making it so the program terminates if you press "X"
41
+ 4) Setting parent of this window if given.
42
+ 5) Calling the before_show() method if declared.
43
+ 6) Calling @builder[:window1].show to show this window
44
+ 7) Starting Gtk.main
45
+ 8) Calling Gtk.main_quit
46
+
47
+ All with this one line of code:
48
+
49
+ MyClass.new.show_glade
50
+
51
+ </property>
52
+ <property name="wrap">True</property>
53
+ <property name="width_chars">60</property>
54
+ <property name="max_width_chars">33</property>
55
+ </object>
56
+ <packing>
57
+ <property name="expand">False</property>
58
+ <property name="fill">True</property>
59
+ <property name="position">1</property>
60
+ </packing>
61
+ </child>
62
+ <child>
63
+ <object class="GtkButtonBox" id="buttonbox1">
64
+ <property name="visible">True</property>
65
+ <property name="can_focus">False</property>
66
+ <property name="halign">center</property>
67
+ <property name="valign">center</property>
68
+ <property name="layout_style">start</property>
69
+ <child>
70
+ <object class="GtkButton" id="buttonCancel">
71
+ <property name="label" translatable="yes">Cancel</property>
72
+ <property name="visible">True</property>
73
+ <property name="can_focus">True</property>
74
+ <property name="receives_default">True</property>
75
+ </object>
76
+ <packing>
77
+ <property name="expand">True</property>
78
+ <property name="fill">True</property>
79
+ <property name="position">0</property>
80
+ </packing>
81
+ </child>
82
+ </object>
83
+ <packing>
84
+ <property name="expand">False</property>
85
+ <property name="fill">True</property>
86
+ <property name="position">2</property>
87
+ </packing>
88
+ </child>
89
+ </object>
90
+ </child>
91
+ </object>
92
+ </interface>
@@ -0,0 +1,19 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: ".vr_settings.yaml"
3
+ width: 800
4
+ height: 600
5
+ panel_pos: 360
6
+ notebook_panel_position: 400
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/vrx/Untitled"
10
+ open_folders:
11
+ - "/home/eric/vrp/examples/pop_up"
12
+ current_file: "/home/eric/vrp/vrx/Untitled"
13
+ current_line: 1
14
+ rdoc_command_line: rdoc -x README
15
+ browser: firefox
16
+ backup_path: "/home/eric"
17
+ tab_spaces: 2
18
+ glade_path: glade-3
19
+ font_name: Monospace 10
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/ruby
2
+
3
+ require "vrlib"
4
+
5
+ # from require_all gem:
6
+ require_rel 'src/'
7
+
8
+
9
+ MyClass.new.show_glade()
10
+
@@ -0,0 +1,22 @@
1
+ --- !ruby/object:VR_ENV
2
+ vr_yaml_file: ".vr_settings.yaml"
3
+ width: 1264
4
+ height: 727
5
+ panel_pos: 267
6
+ notebook_panel_position: 444
7
+ run_command_line: ruby main.rb
8
+ open_files:
9
+ - "/home/eric/vrp/vr3/examples/settings_file/main.rb"
10
+ - "/home/eric/vrp/vr3/examples/settings_file/bin/SavableSettings.rb"
11
+ - "/home/eric/vrp/vr3/examples/settings_file/bin/MainApp.rb"
12
+ open_folders:
13
+ - "/home/eric/vrp/vr3/examples/settings_file"
14
+ current_file: "/home/eric/vrp/vr3/examples/settings_file/main.rb"
15
+ current_line: 15
16
+ rdoc_command_line: rdoc -x README
17
+ browser: firefox
18
+ backup_path: "/home/eric"
19
+ tab_spaces: 2
20
+ glade_path: glade-3
21
+ font_name: Monospace 10
22
+ filename: ".vr_settings.yaml"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+
2
+ class MethodsListView < VR::ListView
3
+
4
+ def initialize(obj)
5
+ super(:method => String, :arity => String, :parameters => String)
6
+ obj.methods.each do |meth|
7
+ row = add_row
8
+ row[:method] = meth.to_s
9
+ row[:arity] = obj.method(meth).arity.to_s
10
+ row[:parameters] = obj.method(meth).parameters.to_s
11
+ end
12
+ end
13
+
14
+
15
+
16
+ end
@@ -0,0 +1,26 @@
1
+
2
+ class ObjectInspectorGUI
3
+
4
+ include GladeGUI
5
+
6
+ def initialize(obj)
7
+ @obj = obj
8
+ @obj_to_s = obj.to_s
9
+ @meth_view = MethodsListView.new(@obj)
10
+ @var_view = VariablesListView.new(@obj)
11
+ end
12
+
13
+ def before_show()
14
+ @headline = "<big><big>#{@obj.class.name} (ID: #{@obj.__id__})</big></big>"
15
+ @builder[:scrolledwindow1].add @meth_view
16
+ @builder[:scrolledwindow2].add @var_view
17
+ @builder[:paned1].position = 400
18
+ @builder[:window1].show_all
19
+ end
20
+
21
+ def var_view__row_activated(*args)
22
+ row = @var_view.selected_rows.first
23
+ oinspect row[:obj]
24
+ end
25
+
26
+ end
@@ -0,0 +1,38 @@
1
+
2
+ class VariablesListView < VR::ListView
3
+
4
+ def initialize(obj)
5
+ super(variable: String, type: String, class: String, value: String, obj: Object)
6
+ obj.instance_variables.each do |var|
7
+ row = add_row
8
+ row[:variable] = var.to_s
9
+ row[:class] = obj.instance_variable_get(var).class.name
10
+ row[:value] = obj.instance_variable_get(var).to_s
11
+ row[:type] = "var"
12
+ row[:obj] = obj.instance_variable_get(var)
13
+ end
14
+ if obj.is_a?(Hash)
15
+ obj.each do |key, val|
16
+ row = add_row
17
+ row[:variable] = key.to_s
18
+ row[:class] = val.class.name
19
+ row[:value] = val.to_s
20
+ row[:type] = "key"
21
+ row[:obj] = val
22
+ end
23
+ end
24
+ if obj.is_a?(Array)
25
+ obj.each_index do |i|
26
+ row = add_row
27
+ row[:variable] = i.to_s
28
+ row[:class] = obj[i].class.name
29
+ row[:value] = obj[i].to_s
30
+ row[:type] = "index"
31
+ row[:obj] = obj[i]
32
+ end
33
+ end
34
+ end
35
+
36
+
37
+
38
+ end
@@ -0,0 +1,119 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated with glade 3.16.1 -->
3
+ <interface>
4
+ <requires lib="gtk+" version="3.0"/>
5
+ <object class="GtkWindow" id="window1">
6
+ <property name="width_request">1000</property>
7
+ <property name="height_request">600</property>
8
+ <property name="can_focus">False</property>
9
+ <property name="title" translatable="yes">Object Inspector</property>
10
+ <property name="modal">True</property>
11
+ <child>
12
+ <object class="GtkBox" id="box1">
13
+ <property name="visible">True</property>
14
+ <property name="can_focus">False</property>
15
+ <property name="margin_left">20</property>
16
+ <property name="margin_right">20</property>
17
+ <property name="margin_top">21</property>
18
+ <property name="margin_bottom">16</property>
19
+ <property name="orientation">vertical</property>
20
+ <property name="spacing">10</property>
21
+ <child>
22
+ <object class="GtkLabel" id="headline">
23
+ <property name="visible">True</property>
24
+ <property name="can_focus">False</property>
25
+ <property name="label" translatable="yes">label</property>
26
+ <property name="use_markup">True</property>
27
+ </object>
28
+ <packing>
29
+ <property name="expand">False</property>
30
+ <property name="fill">True</property>
31
+ <property name="position">0</property>
32
+ </packing>
33
+ </child>
34
+ <child>
35
+ <object class="GtkScrolledWindow" id="scroll_to_s">
36
+ <property name="visible">True</property>
37
+ <property name="can_focus">True</property>
38
+ <property name="shadow_type">in</property>
39
+ <child>
40
+ <object class="GtkTextView" id="obj_to_s">
41
+ <property name="visible">True</property>
42
+ <property name="can_focus">True</property>
43
+ </object>
44
+ </child>
45
+ </object>
46
+ <packing>
47
+ <property name="expand">False</property>
48
+ <property name="fill">True</property>
49
+ <property name="position">1</property>
50
+ </packing>
51
+ </child>
52
+ <child>
53
+ <object class="GtkPaned" id="paned1">
54
+ <property name="visible">True</property>
55
+ <property name="can_focus">True</property>
56
+ <child>
57
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
58
+ <property name="visible">True</property>
59
+ <property name="can_focus">True</property>
60
+ <property name="shadow_type">in</property>
61
+ <child>
62
+ <placeholder/>
63
+ </child>
64
+ </object>
65
+ <packing>
66
+ <property name="resize">False</property>
67
+ <property name="shrink">True</property>
68
+ </packing>
69
+ </child>
70
+ <child>
71
+ <object class="GtkScrolledWindow" id="scrolledwindow2">
72
+ <property name="visible">True</property>
73
+ <property name="can_focus">True</property>
74
+ <property name="shadow_type">in</property>
75
+ <child>
76
+ <placeholder/>
77
+ </child>
78
+ </object>
79
+ <packing>
80
+ <property name="resize">True</property>
81
+ <property name="shrink">True</property>
82
+ </packing>
83
+ </child>
84
+ </object>
85
+ <packing>
86
+ <property name="expand">True</property>
87
+ <property name="fill">True</property>
88
+ <property name="position">2</property>
89
+ </packing>
90
+ </child>
91
+ <child>
92
+ <object class="GtkButtonBox" id="buttonbox1">
93
+ <property name="visible">True</property>
94
+ <property name="can_focus">False</property>
95
+ <property name="layout_style">end</property>
96
+ <child>
97
+ <object class="GtkButton" id="buttonCancel">
98
+ <property name="label" translatable="yes">Cancel</property>
99
+ <property name="visible">True</property>
100
+ <property name="can_focus">True</property>
101
+ <property name="receives_default">True</property>
102
+ </object>
103
+ <packing>
104
+ <property name="expand">False</property>
105
+ <property name="fill">True</property>
106
+ <property name="position">0</property>
107
+ </packing>
108
+ </child>
109
+ </object>
110
+ <packing>
111
+ <property name="expand">False</property>
112
+ <property name="fill">True</property>
113
+ <property name="position">3</property>
114
+ </packing>
115
+ </child>
116
+ </object>
117
+ </child>
118
+ </object>
119
+ </interface>