Garry's Mod Wiki

DListView:GetLine

DListView:GetLine

  Panel DListView:GetLine( number id )

Description

Gets the DListView_Line at the given index.

Arguments

1 number id
The index of the line to get.

Returns

1 Panel
The DListView_Line at the given index.

Example

An example of how to retrieve a DListView_Line from a DListView.

local list = vgui.Create( "DListView" ) list:AddColumn( "Name" ) list:AddLine( "Garry :D" ) print( list:GetLine( 1 ) )
Output: Panel: [name:DListView_Line][class:Panel][0,0,64,24]

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 2
Generate Html 5
SaveChanges (1) 5
Render Body 0
Render Sidebar 7