Garry's Mod Wiki

DListBoxItem

Description

We advise against using this. It may be changed or removed in a future update. Used Internally by DListBox.

Parent

Derives methods, etc not listed on this page from DLabel.

Methods

Panel DListBoxItem:GetMother()
Returns the parent "mother" of this DListBoxItem set by DListBoxItem:SetMother.
DListBoxItem:Select( boolean onlyMe )
Selects this item.
DListBoxItem:SetMother( Panel parent )
This is used internally - although you're able to use it you probably shouldn't. Sets the "mother" (parent) panel for this item. Done internally by DListBox:AddItem