s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
IconButton
chevron_left
Editor Classes
class
IconButton
search
Constructors
functions
IconButton
Properties
data_object
Background
data_object
BackgroundActive
data_object
Foreground
data_object
ForegroundActive
data_object
Icon
data_object
IconSize
data_object
IsActive
data_object
IsToggle
data_object
OnClick
data_object
OnToggled
Methods
lock
OnMouseClick
lock
OnPaint
lock
SizeHint
IconButton
class
Editor
.
account_tree
extends
Widget
Sandbox.Tools
build
Constructors
1
IconButton
(
icon
,
onClick
,
parent
)
data_object
Properties
10
Background
Color
BackgroundActive
Color
Foreground
Color
ForegroundActive
Color
Icon
string
IconSize
float
IsActive
bool
If IsToggle is true, this is toggled on press
IsToggle
bool
If true we will toggle IsActive automatically
OnClick
Action
OnToggled
Action`1
functions
Methods
3
OnMouseClick
(
e
)
OnPaint
(
)
SizeHint
(
)
Vector2
Inheritance
QObject
Widget
IconButton
WithCornerIcon
WithNumber
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.