Garry's Mod Wiki

DListView_Line:SetAltLine

  DListView_Line:SetAltLine( boolean alt )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets whether this line is odd or even in the list. This is internally used (and set automatically) to change the looks of every other line.

Arguments

1 boolean alt
Whether this line is 'alternative'.