VGUI PanelListPanel
Jump to navigation
Jump to search
A PanelListPanel is a vgui2 element defined in the vgui_controls library, in the file PanelListPanel.cpp. PanelListPanels are available in all source games. PanelListPanels display a list of user specified label, control pairs.
Example Usage
Before creating anything, we first need to include the PanelListPanel header file.
#include <vgui_controls/PanelListPanel.h>
PanelListPanels can be created via the c++ keyword new with a simple call to PanelListPanel.
vgui::PanelListPanel* myPanel = new PanelListPanel(this, "myPanel");