Garry's Mod Wiki

RadioButton

Description

This is used internally - although you're able to use it you probably shouldn't.
We advise against using this. It may be changed or removed in a future update.

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

Parent

Derives from Panel.

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

Page Links


Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 4
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 6