lib/ewl_stock.h File Reference
#include "ewl_box.h"
Include dependency graph for ewl_stock.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | Ewl_Stock |
Inherits from Ewl_Box and provides the base for the other stock icons. More... | |
struct | Ewl_Stock_Funcs |
The function callbacks that an inheriting widget needs to implement. More... | |
Defines | |
#define | EWL_STOCK(stock) ((Ewl_Stock *) stock) |
#define | EWL_STOCK_IMAGE_SET(f) ((Ewl_Stock_Image_Set)f) |
#define | EWL_STOCK_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_STOCK_TYPE)) |
#define | EWL_STOCK_LABEL_SET(f) ((Ewl_Stock_Label_Set)f) |
#define | EWL_STOCK_TYPE "stock" |
Typedefs | |
typedef Ewl_Stock | Ewl_Stock |
typedef Ewl_Stock_Funcs | Ewl_Stock_Funcs |
typedef void(*) | Ewl_Stock_Image_Set (Ewl_Stock *s, const char *file, const char *key) |
typedef void(*) | Ewl_Stock_Label_Set (Ewl_Stock *s, const char *txt) |
Functions | |
void | ewl_stock_functions_set (Ewl_Stock *s, const Ewl_Stock_Funcs *const funcs) |
int | ewl_stock_init (Ewl_Stock *s) |
Initialize the stock widget and inherited fields. | |
Ewl_Stock_Type | ewl_stock_type_get (Ewl_Stock *s) |
Get the stock type in use. | |
void | ewl_stock_type_set (Ewl_Stock *s, Ewl_Stock_Type stock) |
Set the type of the stock to use. |