legacy/experimental/ecdb/trunk/src/ecdb_widgets.h

54 lines
2.5 KiB
C
Raw Normal View History

/* vim: set sw=3 ts=3 sts=3 expandtab: */
#ifndef ECDB_WIDGETS_H
#define ECDB_WIDGETS_H
void ecdb_widget_focus_callback_add(Evas_Object *o, const char *name);
Evas_Object *ecdb_widget_add(Evas_Object *parent, const char *name);
Evas_Object *ecdb_button_add(Evas_Object *parent, const char *name);
void ecdb_button_label_set(Evas_Object *b, const char *label);
void ecdb_button_icon_set(Evas_Object *b, const char *group);
const char *ecdb_button_label_get(Evas_Object *b);
Evas_Object *ecdb_combo_item_add(Evas_Object *parent, const char *name);
void ecdb_combo_item_label_set(Evas_Object *ci, const char *label);
void ecdb_combo_item_icon_set(Evas_Object *ci, const char *group);
const char *ecdb_combo_item_label_get(Evas_Object *ci);
Evas_Object *ecdb_check_add(Evas_Object *parent, const char *name);
void ecdb_check_label_set(Evas_Object *c, const char *label);
void ecdb_check_states_set(Evas_Object *c, const char *ystate,
const char *nstate);
void ecdb_check_checked_set(Evas_Object *c, int state);
int ecdb_check_checked_get(Evas_Object *c);
Evas_Object *ecdb_entry_add(Evas_Object *parent, const char *name);
void ecdb_entry_text_set(Evas_Object *e, const char *text);
char *ecdb_entry_text_get(Evas_Object *e);
/* Combo todo list:
* separate hover from combo
* able to set whether combo collapses on child click
* better theme
*/
2008-12-19 05:48:23 +00:00
Evas_Object *ecdb_combo_add(Evas_Object *parent, const char *name);
void ecdb_combo_header_set(Evas_Object *c, const char *text);
void ecdb_combo_append(Evas_Object *c, Evas_Object *o);
void ecdb_combo_expand(Evas_Object *c);
void ecdb_combo_collapse(Evas_Object *c);
void ecdb_combo_header_create_set(Evas_Object *c, Evas_Object *
(*func)(Evas_Object *c,
const char *name,
void *data,
Evas_Object *clicked,
int idx));
2008-12-21 00:09:07 +00:00
int ecdb_combo_selected_get(Evas_Object *c);
void ecdb_combo_data_set(Evas_Object *c, void *data);
void ecdb_combo_clear(Evas_Object *c);
Evas_Object *ecdb_label_add(Evas_Object *parent, const char *name);
void ecdb_label_text_set(Evas_Object *l, const char *text);
2008-12-19 05:48:23 +00:00
#endif