Ewl_Button Struct Reference
[Ewl_Button: The Basic Button]
#include <ewl_button.h>

Detailed Description
A simple Ewl_Widget to provide for a clickable button in the UI.Provides easy facilities for adding a Ewl_Label label to the button, and a Ewl_Image but allows for placing any number of Ewl_Widget's in the Ewl_Button.
Data Fields | |
Ewl_Widget * | body |
Ewl_Widget * | image_object |
Ewl_Widget * | label_object |
Ewl_Stock | stock |
Field Documentation
The body of the button
Referenced by ewl_button_alignment_get(), ewl_button_alignment_set(), ewl_button_fill_policy_get(), ewl_button_fill_policy_set(), ewl_button_image_set(), ewl_button_init(), and ewl_button_label_set().
Add an image to the button if needed
Referenced by ewl_button_image_get(), ewl_button_image_set(), ewl_button_image_size_get(), and ewl_button_image_size_set().
Labels are common, make it easy
Referenced by ewl_button_label_get(), ewl_button_label_set(), and ewl_checkbutton_label_position_set().
Inherit from the box for adding widgets
The documentation for this struct was generated from the following file:
- lib/ewl_button.h