-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathInterface--Wx--Console.html
More file actions
143 lines (112 loc) · 4.97 KB
/
Copy pathInterface--Wx--Console.html
File metadata and controls
143 lines (112 loc) · 4.97 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Interface::Wx::Console - Console control. : OpenKore source code documentation</title>
<link rel="stylesheet" type="text/css" href="openkore.css">
<link rel="stylesheet" type="text/css" href="highlight.css">
<!-- Fix broken PNG transparency for IE/Win5-6+ -->
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="pngfix.js"></script>
<![endif]-->
</head>
<body>
<div id="title">OpenKore source code documentation</div>
<div id="navigation">
<ul>
<li><a href="http://www.openkore.com/">Main website</a></li>
<li><a href="index.html">Table of contents</a></li>
<li><b>Interface::Wx::Console</b></li>
</ul>
</div>
<div id="main">
<h1>Interface::Wx::Console - Console control.</h1>
This control emulates a console, similar to xterm/gnome-terminal/the DOS box.
It supports automatic scrolling, colored text, and a bounded scrollback buffer.
<p><table class="functionIndex">
<tr><th colspan="3">Functions in this module</th></tr><tr onclick="location.href='#Interface::Wx::Console->new';">
<td class="return-type"></td>
<td class="func"><a href="#Interface::Wx::Console->new">Interface::Wx::Console->new</a></td>
<td class="decl">(<span class="type">Wx::Window</span> parent)</td>
</tr><tr onclick="location.href='#$Interface_Wx_Console->add';">
<td class="return-type">void</td>
<td class="func"><a href="#$Interface_Wx_Console->add">$Interface_Wx_Console->add</a></td>
<td class="decl">(<span class="type">String</span> type, String message, String domain)</td>
</tr><tr onclick="location.href='#$Interface_Wx_Console->setFont';">
<td class="return-type">void</td>
<td class="func"><a href="#$Interface_Wx_Console->setFont">$Interface_Wx_Console->setFont</a></td>
<td class="decl">(<span class="type">Wx::Font</span> font)</td>
</tr><tr onclick="location.href='#$Wx_Interface_Console->selectFont';">
<td class="return-type">void</td>
<td class="func"><a href="#$Wx_Interface_Console->selectFont">$Wx_Interface_Console->selectFont</a></td>
<td class="decl">(<span class="type">Wx::Window</span> parent)</td>
</tr>
</table>
<p><hr class="details_sep">
<h2>Details</h2>
<div class="details">
<p>
<div class="function"><a name="$Interface_Wx_Console->add"></a>
<h3>$Interface_Wx_Console->add</h3>
<dl>
<dt class="decl">
<span class="return-type"> void</span> <strong>$Interface_Wx_Console->add</strong>(<span class="type">String</span> type, String message, String domain)
</dt>
<dd>
<div class="desc">Print a text to this console, with the given type and domain. See the
logging framework (<a href="Log.html"><code>Log</code></a>) for more information about message
types and message domains.</div>
</dd>
</dl>
</div>
<p><hr class="function_sep"><p>
<div class="function"><a name="$Interface_Wx_Console->setFont"></a>
<h3>$Interface_Wx_Console->setFont</h3>
<dl>
<dt class="decl">
<span class="return-type"> void</span> <strong>$Interface_Wx_Console->setFont</strong>(<span class="type">Wx::Font</span> font)
</dt>
<dd>
<div class="desc">Set the font used in this console.</div>
</dd>
</dl>
</div>
<p><hr class="function_sep"><p>
<div class="function"><a name="$Wx_Interface_Console->selectFont"></a>
<h3>$Wx_Interface_Console->selectFont</h3>
<dl>
<dt class="decl">
<span class="return-type"> void</span> <strong>$Wx_Interface_Console->selectFont</strong>(<span class="type">Wx::Window</span> parent)
</dt>
<dd>
<div class="desc">Show a font dialog and let the user pick a font. This font
will be used in this console.</div>
</dd>
</dl>
</div>
<p><hr class="function_sep"><p>
<div class="function"><a name="Interface::Wx::Console->new"></a>
<h3>Interface::Wx::Console->new</h3>
<dl>
<dt class="decl">
<span class="return-type"> </span><strong>Interface::Wx::Console->new</strong>(<span class="type">Wx::Window</span> parent)
</dt>
<dd>
<div class="desc">Create a new Interface::Wx::Console control, with <code>$parent</code> as its parent
control.</div>
</dd>
</dl>
</div>
</div>
<p><hr><p>
<div id="footer">
<ul>
<li><a href="http://validator.w3.org/check?uri=referer" title="Valid HTML 4.01!"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a></li>
<li><a href="http://www.mozilla.com/" title="Get Firefox - Take Back the Web"><img width="104" height="32" src="http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png" alt="Get Firefox - Take Back the Web"></a></li>
<li><a href="http://www.mozilla.com/" title="If you were looking at this page in any browser but Microsoft Internet Explorer, it would look and run better and faster"><img width="45" height="45" src="http://linuxart.com/img/noIE-small.png" alt="If you were looking at this page in any browser but Microsoft Internet Explorer, it would look and run better and faster"></a></li>
</ul>
Last modified: Fri Nov 16 10:05:11 2012
</div>
</div>
</body>
</html>