DListView.GetLines

From GMod Wiki

Jump to: navigation, search
Function
Syntax DListView:GetLines( )
Description:
Returns a table containing the items in the ListView.
Returns: Table Lines
In Object: DListView
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DListView.GetLines]DListView.GetLines [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints the table of GetLines on a DListView with 26 objects.
Used onNewerClient.png
Code
PrintTable(DListView:GetLines())
Output
1	=	Panel: 02DC2898
2	=	Panel: 02DAC698
3	=	Panel: 02B679D8
4	=	Panel: 02D4A118
5	=	Panel: 02D7E878
6	=	Panel: 02D6D578
7	=	Panel: 02CFD318
8	=	Panel: 02B8D478
9	=	Panel: 02D60598
10	=	Panel: 02D19A38
11	=	Panel: 02D80F98
12	=	Panel: 02D66F78
13	=	Panel: 02B659D8
14	=	Panel: 02D5B958
15	=	Panel: 02D6FA18
16	=	Panel: 02D29F18
17	=	Panel: 02D65618
18	=	Panel: 02D60018
19	=	Panel: 02D497D8
20	=	Panel: 02DA2AF8
21	=	Panel: 02D2B858
22	=	Panel: 02DCB1F8
23	=	Panel: 02D8A978
24	=	Panel: 02D3C878
25	=	Panel: 02DB8C78
26	=	Panel: 02CF7518
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox