File: wsreferences.xml

package info (click to toggle)
lazarus 4.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276,392 kB
  • sloc: pascal: 2,344,754; xml: 509,184; makefile: 355,815; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (359 lines) | stat: -rw-r--r-- 8,201 bytes parent folder | download | duplicates (4)
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<?xml version="1.0" encoding="utf-8"?>
<fpdoc-descriptions>
<package name="lcl">
<!-- 
====================================================================
WSReferences
====================================================================
-->
<module name="WSReferences">
<short>
Contains types used to represent references to widget set classes and their 
handles.
</short>
<descr>
<p>
<file>wsreferences.pp</file> contains types used as skeleton widget set 
component classes. These classes are never directly instantiated and may only 
contain class functions. Includes type used represent a handle and a pointer 
to a handle in widget set classes and LCL components.
</p>
<p>
<file>wsreferences.pp</file> is part of the Lazarus Component Library 
(<b>LCL</b>).
</p>
</descr>

<element name="TLCLHandle">
<short>
The type used for handles in LCL applications, components, controls, and widget set classes.
</short>
<descr>
<p>
<var>TLCLHandle</var> is an alias for the <var>PtrUInt</var> (Pointer to 
Unsigned Integer) type, and the type used to represent handles in the Lazarus 
Component Library (LCL).
</p>
<p>
TLCLHandle differentiates the handle type used in LCL from the THandle type 
used in the FPC Run-time Library (RTL) and numerous other libraries. It is 
needed because the RTL THandle type is a longint (signed) value on 64-bit 
Linux platforms and not suitable for use as a window handle in the 
multi-platform LCL.
</p>
<p>
TLCLHandle is the type used to represent all handles for an application, 
controls, and components in the LCL - including those in widgetset class 
instances. In the LCL type system, it is equivalent to HWND (and related 
identifiers like HDC, HFONT, HICON, HBRUSH, et. al.) used to identify window 
objects and resources. TLCLHandle is one of the values that can be returned by 
the TWSReference class used for widgetset class references (The other is a 
Pointer to the TLCLHandle type).
</p>
<p>
TLCLHandle is used in the implementation of classes like:
</p>
<ul>
<li>TApplication</li>
<li>TLCLComponent</li>
<li>TLCLReferenceComponent</li>
<li>TCustomBitBtn</li>
<li>TCustomTimer</li>
<li>TCommonDialog</li>
<li>TScreen</li>
<li>TGraphic</li>
<li>TPicture</li>
<li>TSharedRasterImage</li>
<li>TRasterImage</li>
<li>TCustomBitmap</li>
<li>TSharedIcon</li>
<li>TCustomIcon</li>
<li>TIcon</li>
<li>TBrush</li>
<li>TPen</li>
<li>TCursorImage</li>
<li>TCustomImageList</li>
<li>TCustomImageListResolution</li>
<li>TChangeLink</li>
<li>TRegion</li>
<li>TTreeNode</li>
<li>TTreeNodes</li>
</ul>
<remark>
TLCLHandle is the replacement for the redefined THandle alias in LCL versions 
prior to 4.0. THandle is deprecated in LCL 4.0; TLCLHandle is used instead. 
THandle is still used in the FPC RTL (and in LazUtils) to represent files, 
file or handle streams, sockets, IO devices, processes, etc.
</remark>
</descr>
<seealso>
<link id="#lcl.lcltype.TLCLHandle">LCLType.TLCLHandle</link>
<link id="#lcl.lclclasses.TLCLComponent">TLCLComponent</link>
<link id="#lcl.lclclasses.TLCLReferenceComponent">TLCLReferenceComponent</link>
</seealso>
</element>

<element name="PLCLHandle">
<short>
Pointer to a TLCLHandle instance.
</short>
<descr>
<p>
Used when accessing cached resource items in the LCL.
</p>
</descr>
<seealso>
<link id="TLCLHandle"/>
<link id="#lcl.lclrescache.ComparePHandleWithResourceCacheItem">ComparePHandleWithResourceCacheItem</link>
</seealso>
</element>

<element name="PWSReference">
<short>
Pointer to a widget set reference instance.
</short>
<descr>
<p>
Used in the implementation of the TLCLReferenceComponent and descendants, and 
returned by their WSCreateReference methods.
</p>
</descr>
<seealso>
<link id="#lcl.lclclasses.TLCLReferenceComponent.WSCreateReference">TLCLReferenceComponent.WSCreateReference</link>
<link id="#lcl.imglist.TCustomImageListResolution.WSCreateReference">TCustomImageListResolution.WSCreateReference</link>
</seealso>
</element>

<element name="TWSReference">
<short>
Represents a reference to a widget set class instance.
</short>
<descr>
<p>
Abstract (temporary) base object for all references to widgetset classes. This 
reference replaces the functionality of a Handle. An object is used to 
disallow assignments using different types of handles. It is used as the base 
class for widgetset descendants like TWSCustomImageListReference, 
TWSGDIObjReference, TWSDeviceContextReference, and TWSIconReference.
</p>
</descr>
<seealso/>
</element>

<!-- private -->
<element name="TWSReference.GetAllocated"/>
<element name="TWSReference.GetAllocated.Result"/>

<!-- protected -->
<element name="TWSReference.FRef">
<short>
Variant record type which allows access to TLCLHandle and Pointer values in 
the reference.
</short>
<descr/>
<seealso/>
</element>

<element name="TWSReference._Clear">
<short>
Clears the handle assigned in the reference.
</short>
<descr>
<p>
Sets the internal Pointer for the reference to <b>Nil</b>.
</p>
<remark>  
This method, and the others with a '_' prefix, are temporary and for widgetset 
use only. They can be removed at any time, and without any prior notice.
</remark>
</descr>
<seealso/>
</element>

<element name="TWSReference._Init">
<short>
Stores the specified handle or pointer to an internal member in the reference.
</short>
<descr>
<remark>  
This method, and the others with a '_' prefix, are temporary and for widgetset 
use only. They can be removed at any time, and without any prior notice.
</remark>
</descr>
<seealso>
<link id="TLCLHandle"/>
</seealso>
</element>
<element name="TWSReference._Init.APtr">
<short>
Pointer to the handle stored in the reference.  
</short>
</element>
<element name="TWSReference._Init.AHandle">
<short>
TLCLHandle instance stored in the reference.    
</short>
</element>

<element name="TWSReference._Handle">
<short/>
<descr>
<p>
Gets the TLCLHandle instance assigned to the reference.
</p>
<remark>  
This method, and the others with a '_' prefix, are temporary and for widgetset 
use only. They can be removed at any time, and without any prior notice.
</remark>
</descr>
<seealso>
<link id="TLCLHandle"/>
</seealso>
</element>

<element name="TWSReference.Allocated">
<short>
Contains <b>True</b> if a handle has been assigned in the reference.  
</short>
<descr/>
<seealso/>
</element>

<element name="TWSReference.Ptr">
<short>
Returns a Pointer with the handle for the reference.
</short>
<descr/>
<seealso/>
</element>

<element name="TWSCustomImageListReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSCustomImageListReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSGDIObjReference">
<short/>
<descr/>
<seealso/>
</element>
  
<element name="TWSBitmapReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSBitmapReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSBrushReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSBrushReference._lclHandle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSBrushReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSPenReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSPenReference._lclHandle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSPenReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSFontReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSFontReference._lclHandle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSFontReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSRegionReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSRegionReference._lclHandle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSRegionReference.Handle">
<short/>
<descr/>
<seealso/>
</element>
  
<element name="TWSDeviceContextReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSDeviceContextReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSIconReference">
<short/>
<descr/>
<seealso/>
</element>

<element name="TWSIconReference.Handle">
<short/>
<descr/>
<seealso/>
</element>

</module>
<!-- WSReferences -->
</package>
</fpdoc-descriptions>