Garry's Mod Wiki

Garry's Mod Wiki

  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]

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...