lib/ewl_icon.c File Reference
#include "ewl_base.h"
#include "ewl_icon.h"
#include "ewl_entry.h"
#include "ewl_image.h"
#include "ewl_icon_theme.h"
#include "ewl_label.h"
#include "ewl_menu.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
Include dependency graph for ewl_icon.c:

Defines | |
#define | EWL_ICON_COMPRESS_SIZE 10 |
Functions | |
const char * | ewl_icon_alt_text_get (Ewl_Icon *icon) |
Retrieves the alternate text set on the icon. | |
void | ewl_icon_alt_text_set (Ewl_Icon *icon, const char *txt) |
Sets the given text as the alternate text for the icon. | |
void | ewl_icon_cb_destroy (Ewl_Widget *w, void *ev, void *data) |
unsigned int | ewl_icon_constrain_get (Ewl_Icon *icon) |
Retrieve the constrain value set on the icon. | |
void | ewl_icon_constrain_set (Ewl_Icon *icon, unsigned int val) |
Set the constrain value on the icon. | |
unsigned int | ewl_icon_editable_get (Ewl_Icon *icon) |
Retrieve if the icon is editable or not. | |
void | ewl_icon_editable_set (Ewl_Icon *icon, unsigned int e) |
Set if the icon is editable or not. | |
Ewl_Widget * | ewl_icon_extended_data_get (Ewl_Icon *icon) |
Retrieve the extended data from the icon. | |
void | ewl_icon_extended_data_set (Ewl_Icon *icon, Ewl_Widget *ext) |
Set the extended data into the icon. | |
const char * | ewl_icon_image_file_get (Ewl_Icon *icon) |
Retrieve the image to used in the icon. | |
void | ewl_icon_image_set (Ewl_Icon *icon, const char *file, const char *key) |
set the image to use in the icon | |
int | ewl_icon_init (Ewl_Icon *icon) |
Initializes the given Ewl_Icon widget. | |
unsigned int | ewl_icon_label_complex_get (Ewl_Icon *icon) |
Retrieve if the icon has a complex label or not. | |
void | ewl_icon_label_complex_set (Ewl_Icon *icon, unsigned int c) |
Set if the icon use a label or a text widget for the label part. | |
unsigned int | ewl_icon_label_compressed_get (Ewl_Icon *icon) |
Retrieves the current compressiion setting for the icon. | |
void | ewl_icon_label_compressed_set (Ewl_Icon *icon, unsigned int compress) |
Sets the compressions setting for the icon to the given value. | |
const char * | ewl_icon_label_get (Ewl_Icon *icon) |
Retrieve the label from the icon. | |
void | ewl_icon_label_set (Ewl_Icon *icon, const char *label) |
Set the label of the icon. | |
Ewl_Widget * | ewl_icon_new (void) |
Creates and initializes a new Ewl_Icon widget. | |
void | ewl_icon_part_hide (Ewl_Icon *icon, Ewl_Icon_Part part) |
Hide the given part of the icon. Note: You can only hide one part. | |
Ewl_Widget * | ewl_icon_simple_new (void) |
Creates and initializes a new Ewl_Icon widget. | |
unsigned int | ewl_icon_thumbnailing_get (Ewl_Icon *icon) |
Retrieve if the icon use thumbnailing. | |
void | ewl_icon_thumbnailing_set (Ewl_Icon *icon, unsigned int t) |
Set if the icon thumbnailed the image or use it directly. | |
Ewl_Icon_Type | ewl_icon_type_get (Ewl_Icon *icon) |
Retrieve the type of the icon. | |
void | ewl_icon_type_set (Ewl_Icon *icon, Ewl_Icon_Type type) |
Set the type of the icon. |
Define Documentation
#define EWL_ICON_COMPRESS_SIZE 10 |