Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BooGtkSharpProject.xpt.xml « templates « BooBinding « extras - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 689c734261e83144d3d8ad425b625e76eeae7472 (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
<?xml version="1.0"?>
<Template originator   = "Peter Johanson"
          created      = "10/13/2004"
          lastModified = "10/13/2004">

	<!-- Template Header -->
	<TemplateConfiguration>
		<_Name>Gtk# Project</_Name>
		<_Category>Boo</_Category>
		<Icon>md-project-gui|res:boo-icon-32.png</Icon>
		<LanguageName>Boo</LanguageName>
		<_Description>Creates a Boo/Gtk# project</_Description>
	</TemplateConfiguration>
	
	<Actions>
		<Open filename = "Main.boo"/>
	</Actions>	
	
	<Combine name = "${ProjectName}" directory = ".">
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>
		
		<Project name = "${ProjectName}" directory = ".">
			<References>
				<Reference type="Gac" SpecificVersion="false" refto="gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
				<Reference type="Gac" SpecificVersion="false" refto="glib-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
			</References>
			<Files>
				<File name="Main.boo"><![CDATA[// project created on ${Date} at ${Time}
import Gtk

Application.Init()
w = MyWindow("Window")
w.ShowAll()
Application.Run()]]></File>
				<File name="MyWindow.boo"><![CDATA[import System
import Gtk

class MyWindow(Window):
	def constructor(title as string):
		super(title)
		SetDefaultSize(400, 300)
		DeleteEvent += { Application.Quit() }]]></File>
			</Files>

		</Project>
	</Combine>
</Template>