blob: a1e55ac0bef4e019677df64964fe6dc0570449f7 (
plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<?xml version="1.0"?>
<Template Originator="Lluis Sanchez" Created="3/09/2001" LastModified="3/09/2001">
<TemplateConfiguration>
<_Name>Dialog</_Name>
<Icon>md-empty-file-icon</Icon>
<Category>Gtk</Category>
<LanguageName>*</LanguageName>
<_Description>Creates a Glade dialog.</_Description>
<Type>GladeAddIn.Gui.GladeFileTemplate</Type>
</TemplateConfiguration>
<TemplateFiles>
<File DefaultName="${Name}">
<CompileUnit>
<Namespaces>
<Namespace Name="${Namespace}">
<Imports>
<NamespaceImport Namespace="System" />
<NamespaceImport Namespace="System.Xml" />
</Imports>
<Types>
<TypeDeclaration Name="${Name}" IsClass="true">
<Members>
<MemberField Name="dialog" Type="Gtk.Dialog">
<CustomAttributes>
<AttributeDeclaration Name="Glade.Widget">
<Arguments>
<AttributeArgument>
<Value><PrimitiveExpression Value="${Name}"/></Value>
</AttributeArgument>
</Arguments>
</AttributeDeclaration>
</CustomAttributes>
</MemberField>
<Constructor Attributes="Public, Final">
<Statements>
<MethodInvokeExpression>
<Method>
<MethodReferenceExpression MethodName="Autoconnect">
<TargetObject>
<ObjectCreateExpression CreateType="Glade.XML">
<Parameters>
<PrimitiveExpression/>
<PrimitiveExpression Value="${GladeFile}"/>
<PrimitiveExpression Value="${Name}"/>
<PrimitiveExpression/>
</Parameters>
</ObjectCreateExpression>
</TargetObject>
</MethodReferenceExpression>
</Method>
<Parameters>
<ThisReferenceExpression/>
</Parameters>
</MethodInvokeExpression>
</Statements>
</Constructor>
<MemberMethod Name="Run" ReturnType="System.Int32" Attributes="Public, Final">
<Statements>
<MethodReturnStatement>
<Expression>
<MethodInvokeExpression>
<Method>
<MethodReferenceExpression MethodName="Run">
<TargetObject>
<FieldReferenceExpression FieldName="dialog">
<TargetObject> <ThisReferenceExpression/> </TargetObject>
</FieldReferenceExpression>
</TargetObject>
</MethodReferenceExpression>
</Method>
</MethodInvokeExpression>
</Expression>
</MethodReturnStatement>
</Statements>
</MemberMethod>
<MemberMethod Name="Show" Attributes="Public, Final">
<Statements>
<MethodInvokeExpression>
<Method>
<MethodReferenceExpression MethodName="Show">
<TargetObject>
<FieldReferenceExpression FieldName="dialog">
<TargetObject> <ThisReferenceExpression/> </TargetObject>
</FieldReferenceExpression>
</TargetObject>
</MethodReferenceExpression>
</Method>
</MethodInvokeExpression>
</Statements>
</MemberMethod>
</Members>
</TypeDeclaration>
</Types>
</Namespace>
</Namespaces>
</CompileUnit>
</File>
</TemplateFiles>
<FileOptions/>
</Template>
|