File size: 1,122 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	__is_kind_of = "XWindow",
	group = "GedControls",
	id = "GedToolbarSection",
	save_in = "Ged",
	PlaceObj('XTemplateWindow', {
		'IdNode', true,
		'Margins', box(2, 2, 2, 2),
		'BorderWidth', 1,
		'LayoutMethod', "VList",
		'LayoutVSpacing', 2,
		'BorderColor', RGBA(160, 160, 160, 255),
		'HandleMouse', true,
	}, {
		PlaceObj('XTemplateWindow', {
			'__class', "XLabel",
			'Id', "idSectionName",
			'HAlign', "center",
			'VAlign', "center",
			'Text', "Name",
		}),
		PlaceObj('XTemplateWindow', {
			'comment', "divider",
			'MinHeight', 1,
			'Background', RGBA(160, 160, 160, 255),
		}),
		PlaceObj('XTemplateWindow', {
			'Id', "idActionContainer",
			'LayoutMethod', "HWrap",
			'LayoutHSpacing', 2,
		}),
		PlaceObj('XTemplateFunc', {
			'name', "SetName(self, name)",
			'func', function (self, name)
				self.idSectionName:SetText(name)
			end,
		}),
		PlaceObj('XTemplateFunc', {
			'name', "GetContainer(self)",
			'func', function (self)
				return self.idActionContainer
			end,
		}),
		}),
})