Download

Support

lib/ewl_icon.h File Reference

#include "ewl_stock.h"

Include dependency graph for ewl_icon.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Ewl_Icon
 Inherits from Ewl_Stock and extends to provide for an icon layout. More...

Defines

#define EWL_ICON(icon)   ((Ewl_Icon *)icon)
#define EWL_ICON_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_ICON_TYPE))
#define EWL_ICON_TYPE   "icon"

Typedefs

typedef struct Ewl_Icon Ewl_Icon

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_Widgetewl_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 complex_label)
 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_Widgetewl_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_Widgetewl_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 thumb)
 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.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:04 2008