Main Page
Object Hierarchy
Data Structures
Related Pages
etk_tool_button.h File Reference
Detailed Description
Data Structures
struct
Etk_Tool_Button
[Widget]
The structure of a tool button
More...
struct
Etk_Tool_Toggle_Button
[Widget]
The structure of a tool toggle button
More...
Defines
#define
ETK_TOOL_BUTTON_TYPE
(etk_tool_button_type_get())
#define
ETK_TOOL_BUTTON
(obj) (ETK_OBJECT_CAST((obj), ETK_TOOL_BUTTON_TYPE,
Etk_Tool_Button
))
#define
ETK_IS_TOOL_BUTTON
(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_TOOL_BUTTON_TYPE))
#define
ETK_TOOL_TOGGLE_BUTTON_TYPE
(etk_tool_toggle_button_type_get())
#define
ETK_TOOL_TOGGLE_BUTTON
(obj) (ETK_OBJECT_CAST((obj), ETK_TOOL_TOGGLE_BUTTON_TYPE,
Etk_Tool_Toggle_Button
))
#define
ETK_IS_TOOL_TOGGLE_BUTTON
(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_TOOL_TOGGLE_BUTTON_TYPE))
Functions
Etk_Type
*
etk_tool_button_type_get
()
Gets the type of an
Etk_Tool_Button
.
Etk_Widget
*
etk_tool_button_new
()
Creates a new tool button.
Etk_Widget
*
etk_tool_button_new_with_label
(const char *label)
Creates a new tool button with a label.
Etk_Widget
*
etk_tool_button_new_from_stock
(
Etk_Stock_Id
stock_id)
Creates a new tool toggle button with a label and an icon defined by a stock id.
Etk_Type
*
etk_tool_toggle_button_type_get
()
Gets the type of an
Etk_Tool_Toggle_Button
.
Etk_Widget
*
etk_tool_toggle_button_new
()
Creates a new tool toggle button.
Etk_Widget
*
etk_tool_toggle_button_new_with_label
(const char *label)
Creates a new tool toggle button with a label.
Etk_Widget
*
etk_tool_toggle_button_new_from_stock
(
Etk_Stock_Id
stock_id)
Creates a new tool toggle button with a label and an icon defined by a stock id.