1
<?xml version="1.0" encoding="UTF-8"?>
3
<!-- interface-requires gtk+ 3.0 -->
4
<!-- interface-requires cookety_app_ui 1.0 -->
5
<object class="GtkTextBuffer" id="textbuffer1">
6
<property name="text" translatable="yes">{
9
"recipeTitle" : "*TITLE*",
10
"recipeDesc" : "*DESCRIPTION HERE*",
11
"recipeURL" : "*URL HERE*",
12
"recipeCredit": "*CREDIT AUTHOR HERE*",
13
"recipeIMG" : "default.jpg"
15
"recipeIngredients" : [
16
{ "name": "*NAME HERE*", "quantity" : "*QUANTITY HERE*", "units": "'*None*" }
20
{ "desc" : "*DESCRIPTION HERE*", "time": "*TIME HERE*" }
25
<object class="WinImprtJSONGtk" id="win_imprt_jsn">
26
<property name="width_request">400</property>
27
<property name="height_request">500</property>
28
<property name="can_focus">False</property>
29
<property name="border_width">5</property>
30
<property name="type_hint">dialog</property>
31
<child internal-child="vbox">
32
<object class="GtkBox" id="dialog-vbox1">
33
<property name="can_focus">False</property>
34
<property name="orientation">vertical</property>
35
<property name="spacing">2</property>
37
<object class="GtkBox" id="box1">
38
<property name="visible">True</property>
39
<property name="can_focus">False</property>
40
<property name="orientation">vertical</property>
42
<object class="GtkLabel" id="label1">
43
<property name="visible">True</property>
44
<property name="can_focus">False</property>
45
<property name="label" translatable="yes">Recipe Import (EXPERIMENTAL)
46
Caution: Dragons Ahead...
47
Directions: Edit this file and click import. Whereever you see asterisks you may remove and replace inside and including them.
48
This document is in JSON format. For more information please search for 'JSON' online and make sure this is well formed.
49
You may add as many Ingredients and Methods elements as you wish.
51
<property name="wrap">True</property>
53
<attribute name="weight" value="semibold"/>
57
<property name="expand">False</property>
58
<property name="fill">True</property>
59
<property name="position">0</property>
63
<object class="GtkTextView" id="textview1">
64
<property name="visible">True</property>
65
<property name="can_focus">True</property>
66
<property name="wrap_mode">word</property>
67
<property name="justification">fill</property>
68
<property name="buffer">textbuffer1</property>
71
<property name="expand">True</property>
72
<property name="fill">True</property>
73
<property name="position">1</property>
78
<property name="expand">True</property>
79
<property name="fill">True</property>
80
<property name="position">0</property>
83
<child internal-child="action_area">
84
<object class="GtkButtonBox" id="dialog-action_area1">
85
<property name="can_focus">False</property>
86
<property name="layout_style">end</property>
88
<object class="GtkButton" id="bt_import">
89
<property name="label" translatable="yes">Import</property>
90
<property name="use_action_appearance">False</property>
91
<property name="visible">True</property>
92
<property name="can_focus">True</property>
93
<property name="receives_default">True</property>
94
<property name="use_action_appearance">False</property>
97
<property name="expand">False</property>
98
<property name="fill">True</property>
99
<property name="position">0</property>
103
<object class="GtkButton" id="bt_cancel">
104
<property name="label" translatable="yes">Cancel</property>
105
<property name="use_action_appearance">False</property>
106
<property name="visible">True</property>
107
<property name="can_focus">True</property>
108
<property name="receives_default">True</property>
109
<property name="use_action_appearance">False</property>
112
<property name="expand">False</property>
113
<property name="fill">True</property>
114
<property name="position">1</property>
119
<property name="expand">False</property>
120
<property name="fill">True</property>
121
<property name="pack_type">end</property>
122
<property name="position">0</property>
128
<action-widget response="0">bt_import</action-widget>
129
<action-widget response="0">bt_cancel</action-widget>