Garry's Mod Wiki

DListBoxItem

Description

This is used internally - although you're able to use it you probably shouldn't. Used 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