Download

Support

lib/ewl_button.c File Reference

#include "ewl_base.h"
#include "ewl_button.h"
#include "ewl_image.h"
#include "ewl_label.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Include dependency graph for ewl_button.c:


Functions

unsigned int ewl_button_alignment_get (Ewl_Button *b)
 Gets the alignment of the contents of the button.
void ewl_button_alignment_set (Ewl_Button *b, unsigned int align)
 Set the alignment of the contents of the button.
void ewl_button_cb_key_down (Ewl_Widget *w, void *ev, void *data)
unsigned int ewl_button_fill_policy_get (Ewl_Button *b)
 Retrieves the curernt file policy set on the button.
void ewl_button_fill_policy_set (Ewl_Button *b, unsigned int fill)
 Set the fill policy of the contents of the button.
const char * ewl_button_image_get (Ewl_Button *b)
 Get the image file used by the button.
void ewl_button_image_set (Ewl_Button *b, const char *file, const char *key)
 Set the image file file and the image key key to use.
void ewl_button_image_size_get (Ewl_Button *b, int *width, int *height)
 Get the size of the image inside the button.
void ewl_button_image_size_set (Ewl_Button *b, int width, int height)
 Set the size of the image inside the button.
int ewl_button_init (Ewl_Button *b)
 Initialize a button to starting values.
const char * ewl_button_label_get (Ewl_Button *b)
 Retrieve the label of the specified button.
void ewl_button_label_set (Ewl_Button *b, const char *l)
 Change the label of the specified button.
Ewl_Widgetewl_button_new (void)
 Allocate and initialize a new button.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sun Sep 27 01:48:55 2009