Next:
2.1 The GNUstep Markup Language
Up:
manual
Previous:
1.11 Paddings
2
. The GNUstep Markup Language
Subsections
2
.
1
The GNUstep Markup Language
2
.
2
General overview of the main components
2
.
2
.
1
XML Header
2
.
2
.
2
The
<gsmarkup>
tag
2
.
2
.
3
Comments
2
.
2
.
4
Special Characters
2
.
2
.
5
<objects>
and
<connectors>
sections
2
.
3
The objects section
2
.
3
.
1
Relationship between tags and objects
2
.
3
.
2
Object tags - basic example
2
.
3
.
3
Object tags - attributes
2
.
3
.
3
.
1
String attributes
2
.
3
.
3
.
2
Localizable strings attributes
2
.
3
.
3
.
3
Boolean attributes
2
.
3
.
3
.
4
Number attributes
2
.
3
.
3
.
5
Image attributes
2
.
3
.
3
.
6
Sound attributes
2
.
3
.
3
.
7
Color attributes
2
.
3
.
3
.
8
Font attributes
2
.
3
.
3
.
9
The instanceOf attribute
2
.
3
.
3
.
10
The id attribute
2
.
3
.
3
.
11
Mask attributes
2
.
3
.
3
.
12
Attributes referring to other objects
2
.
3
.
3
.
13
Technical details of embedded outlets
2
.
3
.
3
.
14
Advanced embedded outlets using key value paths
2
.
3
.
4
Object tags - content
2
.
3
.
4
.
1
No content
2
.
3
.
4
.
2
String content
2
.
3
.
4
.
3
Tag content
2
.
4
The connectors section
2
.
4
.
1
How objects are given ids
2
.
4
.
2
Connector tags
2
.
4
.
3
Outlet connectors
2
.
4
.
4
Details of how outlet connections are established
2
.
5
The GSMarkup NSBundle Additions API
2
.
5
.
1
What is the NSBundle Additions API
2
.
5
.
2
A small tweak to get it to work on Microsoft Windows
2
.
5
.
3
Methods reference
2
.
5
.
3
.
1
NSBundle methods
2
.
5
.
3
.
2
awakeFromGSMarkup informal protocol
2
.
5
.
3
.
3
GSMarkupTopLevelObjects informal protocol
2
.
5
.
4
Accessing the top-level objects
2
.
5
.
4
.
1
Example: loading a single view from a gsmarkup file
2
.
6
Integrating Renaissance in your application
2
.
6
.
1
The application main nib
2
.
6
.
2
When to load the main menu gsmarkup
2
.
6
.
3
When to load the main window gsmarkup
2
.
6
.
4
When to load other gsmarkup files
2
.
6
.
5
Renaissance and NSDocument-based applications
2
.
6
.
5
.
1
GSMarkupWindowController
2
.
6
.
5
.
2
GSMarkupDocument
2
.
7
Object tag reference
2
.
7
.
1
The box tag
2
.
7
.
1
.
1
Description
2
.
7
.
1
.
2
Attributes
2
.
7
.
1
.
3
Possible object attributes
2
.
7
.
1
.
4
Content
2
.
7
.
1
.
5
Examples
2
.
7
.
2
The button tag
2
.
7
.
2
.
1
Description
2
.
7
.
2
.
2
Attributes
2
.
7
.
2
.
3
Possible object attributes
2
.
7
.
2
.
4
Content
2
.
7
.
2
.
5
Examples
2
.
7
.
3
The colorWell tag
2
.
7
.
3
.
1
Description
2
.
7
.
3
.
2
Attributes
2
.
7
.
3
.
3
Possible object attributes
2
.
7
.
3
.
4
Content
2
.
7
.
3
.
5
Examples
2
.
7
.
4
The control tag
2
.
7
.
4
.
1
Description
2
.
7
.
4
.
2
Attributes
2
.
7
.
4
.
3
Possible object attributes
2
.
7
.
4
.
4
Content
2
.
7
.
4
.
5
Examples
2
.
7
.
5
The grid tag
2
.
7
.
5
.
1
Description
2
.
7
.
5
.
2
Attributes
2
.
7
.
5
.
3
Possible object attributes
2
.
7
.
5
.
4
Content
2
.
7
.
5
.
5
Examples
2
.
7
.
6
The gridEmptyCell tag
2
.
7
.
6
.
1
Description
2
.
7
.
6
.
2
Attributes
2
.
7
.
6
.
3
Possible object attributes
2
.
7
.
6
.
4
Content
2
.
7
.
6
.
5
Examples
2
.
7
.
7
The gridRow tag
2
.
7
.
7
.
1
Description
2
.
7
.
7
.
2
Attributes
2
.
7
.
7
.
3
Possible object attributes
2
.
7
.
7
.
4
Content
2
.
7
.
7
.
5
Examples
2
.
7
.
8
The hbox tag
2
.
7
.
8
.
1
Description
2
.
7
.
8
.
2
Attributes
2
.
7
.
8
.
3
Possible object attributes
2
.
7
.
8
.
4
Content
2
.
7
.
8
.
5
Examples
2
.
7
.
9
The hspace tag
2
.
7
.
9
.
1
Description
2
.
7
.
9
.
2
Attributes
2
.
7
.
9
.
3
Possible object attributes
2
.
7
.
9
.
4
Content
2
.
7
.
9
.
5
Examples
2
.
7
.
10
The image tag
2
.
7
.
10
.
1
Description
2
.
7
.
10
.
2
Attributes
2
.
7
.
10
.
3
Possible object attributes
2
.
7
.
10
.
4
Content
2
.
7
.
10
.
5
Examples
2
.
7
.
11
The instance tag
2
.
7
.
11
.
1
Description
2
.
7
.
11
.
2
Attributes
2
.
7
.
11
.
3
Possible object attributes
2
.
7
.
11
.
4
Content
2
.
7
.
11
.
5
Examples
2
.
7
.
12
The label tag
2
.
7
.
12
.
1
Description
2
.
7
.
12
.
2
Attributes
2
.
7
.
12
.
3
Possible object attributes
2
.
7
.
12
.
4
Content
2
.
7
.
12
.
5
Examples
2
.
7
.
13
The menu tag
2
.
7
.
13
.
1
Description
2
.
7
.
13
.
2
Attributes
2
.
7
.
13
.
3
Possible object attributes
2
.
7
.
13
.
4
Content
2
.
7
.
13
.
5
Examples
2
.
7
.
13
.
6
Portability
2
.
7
.
14
The menuItem tag
2
.
7
.
14
.
1
Description
2
.
7
.
14
.
2
Attributes
2
.
7
.
14
.
3
Possible object attributes
2
.
7
.
14
.
4
Content
2
.
7
.
14
.
5
Examples
2
.
7
.
15
The menuSeparator tag
2
.
7
.
15
.
1
Description
2
.
7
.
15
.
2
Attributes
2
.
7
.
15
.
3
Possible object attributes
2
.
7
.
15
.
4
Content
2
.
7
.
15
.
5
Examples
2
.
7
.
16
The panel tag
2
.
7
.
16
.
1
Description
2
.
7
.
16
.
2
Attributes
2
.
7
.
16
.
3
Possible object attributes
2
.
7
.
16
.
4
Content
2
.
7
.
16
.
5
Examples
2
.
7
.
17
The scrollView tag
2
.
7
.
17
.
1
Description
2
.
7
.
17
.
2
Attributes
2
.
7
.
17
.
3
Possible object attributes
2
.
7
.
17
.
4
Content
2
.
7
.
17
.
5
Examples
2
.
7
.
17
.
6
Portability
2
.
7
.
18
The secureTextField tag
2
.
7
.
18
.
1
Description
2
.
7
.
18
.
2
Attributes
2
.
7
.
18
.
3
Possible object attributes
2
.
7
.
18
.
4
Content
2
.
7
.
18
.
5
Examples
2
.
7
.
19
The slider tag
2
.
7
.
19
.
1
Description
2
.
7
.
19
.
2
Attributes
2
.
7
.
19
.
3
Possible object attributes
2
.
7
.
19
.
4
Content
2
.
7
.
19
.
5
Examples
2
.
7
.
20
The space tag
2
.
7
.
20
.
1
Description
2
.
7
.
20
.
2
Attributes
2
.
7
.
20
.
3
Possible object attributes
2
.
7
.
20
.
4
Content
2
.
7
.
20
.
5
Examples
2
.
7
.
21
The splitView tag
2
.
7
.
21
.
1
Description
2
.
7
.
21
.
2
Attributes
2
.
7
.
21
.
3
Possible object attributes
2
.
7
.
21
.
4
Content
2
.
7
.
21
.
5
Examples
2
.
7
.
22
The tableColumn tag
2
.
7
.
22
.
1
Description
2
.
7
.
22
.
2
Attributes
2
.
7
.
22
.
3
Possible object attributes
2
.
7
.
22
.
4
Content
2
.
7
.
22
.
5
Examples
2
.
7
.
23
The tableView tag
2
.
7
.
23
.
1
Description
2
.
7
.
23
.
2
Attributes
2
.
7
.
23
.
3
Possible object attributes
2
.
7
.
23
.
4
Content
2
.
7
.
23
.
5
Examples
2
.
7
.
24
The tabView tag
2
.
7
.
24
.
1
Description
2
.
7
.
24
.
2
Attributes
2
.
7
.
24
.
3
Possible object attributes
2
.
7
.
24
.
4
Content
2
.
7
.
24
.
5
Examples
2
.
7
.
25
The tabViewItem tag
2
.
7
.
25
.
1
Description
2
.
7
.
25
.
2
Attributes
2
.
7
.
25
.
3
Possible object attributes
2
.
7
.
25
.
4
Content
2
.
7
.
25
.
5
Examples
2
.
7
.
26
The textField tag
2
.
7
.
26
.
1
Description
2
.
7
.
26
.
2
Attributes
2
.
7
.
26
.
3
Possible object attributes
2
.
7
.
26
.
4
Content
2
.
7
.
26
.
5
Examples
2
.
7
.
27
The textView tag
2
.
7
.
27
.
1
Description
2
.
7
.
27
.
2
Attributes
2
.
7
.
27
.
3
Possible object attributes
2
.
7
.
27
.
4
Content
2
.
7
.
27
.
5
Examples
2
.
7
.
28
The vbox tag
2
.
7
.
28
.
1
Description
2
.
7
.
28
.
2
Attributes
2
.
7
.
28
.
3
Possible object attributes
2
.
7
.
28
.
4
Content
2
.
7
.
28
.
5
Examples
2
.
7
.
29
The view tag
2
.
7
.
29
.
1
Description
2
.
7
.
29
.
2
Attributes
2
.
7
.
29
.
3
Possible object attributes
2
.
7
.
29
.
4
Content
2
.
7
.
29
.
5
Examples
2
.
7
.
30
The vspace tag
2
.
7
.
30
.
1
Description
2
.
7
.
30
.
2
Attributes
2
.
7
.
30
.
3
Possible object attributes
2
.
7
.
30
.
4
Content
2
.
7
.
30
.
5
Examples
2
.
7
.
31
The window tag
2
.
7
.
31
.
1
Description
2
.
7
.
31
.
2
Attributes
2
.
7
.
31
.
3
Possible object attributes
2
.
7
.
31
.
4
Content
2
.
7
.
31
.
5
Examples
2
.
8
Connector tag reference
2
.
8
.
1
The control tag
2
.
8
.
1
.
1
Description
2
.
8
.
1
.
2
Attributes
2
.
8
.
1
.
3
Examples
2
.
8
.
2
The outlet tag
2
.
8
.
2
.
1
Description
2
.
8
.
2
.
2
Attributes
2
.
8
.
2
.
3
Examples
2
.
9
Experimental tags