Next:
2.1 The GNUstep Markup Language
Up:
manual
Previous:
1.11 Borders
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 button 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 colorWell 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 control 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 hbox 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 hspace 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 image 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 instance 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 label 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 menu 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
.
9
.
6
Portability
2
.
7
.
10
The menuItem 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 menuSeparator 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 panel 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 secureTextField 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
.
14
The textField 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 vbox 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 view 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 vspace 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
.
18
The window 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
.
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
Example