# druid.widget.property_checkbox API > at /druid/widget/properties_panel/properties/property_checkbox.lua ## Functions - [init](#init) - [set_value](#set_value) - [get_value](#get_value) - [on_click](#on_click) - [set_text_property](#set_text_property) - [on_change](#on_change) ## Fields - [root](#root) - [druid](#druid) - [text_name](#text_name) - [button](#button) - [selected](#selected) - [icon](#icon) - [container](#container) - [on_change_value](#on_change_value) ### init --- ```lua property_checkbox:init() ``` ### set_value --- ```lua property_checkbox:set_value(value, [is_instant]) ``` - **Parameters:** - `value` *(boolean)*: - `[is_instant]` *(any)*: ### get_value --- ```lua property_checkbox:get_value() ``` - **Returns:** - `` *(boolean)*: ### on_click --- ```lua property_checkbox:on_click() ``` ### set_text_property --- ```lua property_checkbox:set_text_property(text) ``` Set the text property of the checkbox - **Parameters:** - `text` *(string)*: ### on_change --- ```lua property_checkbox:on_change(callback) ``` Set the callback function for when the checkbox value changes - **Parameters:** - `callback` *(function)*: ## Fields - **root** (_node_) - **druid** (_druid.instance_): The Druid Factory used to create components - **text_name** (_druid.text_): Basic Druid text component. Text components by default have the text size adjusting. - **button** (_druid.button_): Basic Druid input component. Handle input on node and provide different callbacks on touch events. - **selected** (_node_) - **icon** (_node_) - **container** (_druid.container_): Druid component to manage the size and positions with other containers relations to create a adaptable layouts. - **on_change_value** (_unknown_)