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
ToolButton
chevron_left
Editor Classes
class
ToolButton
search
Constructors
functions
ToolButton
Properties
data_object
Checked
data_object
Icon
data_object
IconChecked
data_object
IsToggle
Methods
lock
DoLayout
lock
OnMousePress
lock
OnPaint
ToolButton
A button that shows as an icon and tries to keep itself square.
class
Editor
.
account_tree
extends
Widget
Sandbox.Tools
build
Constructors
1
ToolButton
(
name
,
icon
,
parent
)
data_object
Properties
4
Checked
bool
Whether the tool button is currently checked or not.
Icon
string
Icon for the tool button.
IconChecked
string
Icon to display when the Editor.ToolButton.Checked is
.
IsToggle
bool
Whether the button is toggle-able or not.
functions
Methods
3
DoLayout
(
)
OnMousePress
(
e
)
OnPaint
(
)
Inheritance
QObject
Widget
ToolButton
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.