-
Notifications
You must be signed in to change notification settings - Fork 80
/
registration_form.go
69 lines (62 loc) · 2.31 KB
/
registration_form.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package definitions
func init() {
add(`RegistrationForm`, &defRegistrationForm{})
}
type defRegistrationForm struct{}
func (*defRegistrationForm) String() string {
return `<interface>
<object class="GtkDialog" id="dialog">
<signal name="response" handler="response-handler" />
<signal name="close" handler="close-handler" />
<child internal-child="vbox">
<object class="GtkBox" id="Vbox">
<property name="visible">true</property>
<property name="margin-bottom">10</property>
<property name="margin">10</property>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">true</property>
<property name="margin-bottom">10</property>
<property name="row-spacing">12</property>
<property name="column-spacing">6</property>
<child>
<object class="GtkLabel" id="instructions">
<property name="visible">true</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
<property name="width">2</property>
</packing>
</child>
</object>
</child>
<child internal-child="action_area">
<object class="GtkButtonBox" id="bbox">
<property name="visible">true</property>
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<child>
<object class="GtkButton" id="btn-cancel">
<property name="visible">true</property>
<property name="label" translatable="yes">Cancel</property>
</object>
</child>
<child>
<object class="GtkButton" id="btn-register">
<property name="visible">true</property>
<property name="label" translatable="yes">Register</property>
<property name="can-default">true</property>
</object>
</child>
</object>
</child>
</object>
</child>
<action-widgets>
<action-widget response="cancel">btn-cancel</action-widget>
<action-widget response="apply" default="true">btn-register</action-widget>
</action-widgets>
</object>
</interface>
`
}