Category:RadioButton

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
{{Panel
 
{{Panel
|Parent=Panell
+
|Parent=Panel
 
|Description={{Internal}}
 
|Description={{Internal}}
 
{{Deprecated}}
 
{{Deprecated}}

Revision as of 18:48, 26 November 2019

Contents

DescriptionPanelPage

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
This feature is deprecated.
You should avoid using it as it may be removed in a future version.

Currently there are no functions to retrieve checked state of a Radio Button, and their visuals are seemingly broken.

Inherited Functions

Inherits the following functions from Panel and its parents up to 3 levels deep:


Examples

Example

Example usage

local window = vgui.Create( "DFrame" )
window:SetSize( 600, 400 )
window:Center()
window:MakePopup()

for k, v in pairs( { "test1", "test2", "test3" }  ) do
	local rb = window:Add( "RadioButton" )
	rb:Dock( TOP )
	rb:SetText( v )
end


This category currently contains no pages or media.

Personal tools
Navigation