本文整理汇总了C++中e_widget_data_get函数的典型用法代码示例。如果您正苦于以下问题:C++ e_widget_data_get函数的具体用法?C++ e_widget_data_get怎么用?C++ e_widget_data_get使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了e_widget_data_get函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: e_widget_button_icon_set
EAPI void
e_widget_button_icon_set(Evas_Object *obj, Evas_Object *icon)
{
E_Widget_Data *wd;
int mw, mh;
wd = e_widget_data_get(obj);
if (wd->o_icon)
{
e_widget_sub_object_del(obj, wd->o_icon);
evas_object_hide(wd->o_icon);
edje_object_part_unswallow(wd->o_button, wd->o_icon);
evas_object_del(wd->o_icon);
wd->o_icon = NULL;
}
if (icon)
{
wd->o_icon = icon;
edje_object_part_swallow(wd->o_button, "e.swallow.icon", icon);
evas_object_pass_events_set(icon, 1);
evas_object_show(icon);
e_widget_sub_object_add(obj, icon);
wd->type |= E_WIDGET_BUTTON_ICON;
}
else
wd->type = ~(wd->type & E_WIDGET_BUTTON_ICON);
_e_wid_button_state_send(wd);
edje_object_size_min_calc(wd->o_button, &mw, &mh);
e_widget_size_min_set(obj, mw, mh);
}
开发者ID:amitesh-singh,项目名称:Enlightenment,代码行数:30,代码来源:e_widget_button.c
示例2: e_widget_frametable_object_append
EAPI void
e_widget_frametable_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h)
{
E_Widget_Data *wd;
Evas_Coord mw = 0, mh = 0;
wd = e_widget_data_get(obj);
e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
e_widget_size_min_get(sobj, &mw, &mh);
e_table_pack_options_set(sobj,
fill_w, fill_h, /* fill */
expand_w, expand_h, /* expand */
0.5, 0.5, /* align */
mw, mh, /* min */
99999, 99999 /* max */
);
e_table_size_min_get(wd->o_table, &mw, &mh);
edje_extern_object_min_size_set(wd->o_table, mw, mh);
edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->o_table);
edje_object_size_min_calc(wd->o_frame, &mw, &mh);
e_widget_size_min_set(obj, mw, mh);
e_widget_sub_object_add(obj, sobj);
evas_object_show(sobj);
}
开发者ID:jordemort,项目名称:e17,代码行数:25,代码来源:e_widget_frametable.c
示例3: e_widget_preview_thumb_set
E_API int
e_widget_preview_thumb_set(Evas_Object *obj, const char *file, const char *key, int w, int h)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
if (wd->o_thumb) evas_object_del(wd->o_thumb);
wd->o_thumb = e_thumb_icon_add(e_livethumb_evas_get(wd->img));
if (eina_str_has_extension(file, "edj"))
{
if (key)
e_thumb_icon_file_set(wd->o_thumb, file, key);
else
/* FIXME: There is probably a quicker way of doing this. */
if (edje_file_group_exists(file, "icon"))
e_thumb_icon_file_set(wd->o_thumb, file, "icon");
else if (edje_file_group_exists(file, "e/desktop/background"))
e_thumb_icon_file_set(wd->o_thumb, file, "e/desktop/background");
else if (edje_file_group_exists(file, "e/init/splash"))
e_thumb_icon_file_set(wd->o_thumb, file, "e/init/splash");
}
else
e_thumb_icon_file_set(wd->o_thumb, file, NULL);
evas_object_smart_callback_add(wd->o_thumb, "e_thumb_gen",
_e_wid_preview_thumb_gen, wd);
e_thumb_icon_size_set(wd->o_thumb, w, h);
e_thumb_icon_begin(wd->o_thumb);
e_livethumb_thumb_set(wd->img, wd->o_thumb);
e_widget_change(obj);
return 1;
}
开发者ID:FlorentRevest,项目名称:Enlightenment,代码行数:33,代码来源:e_widget_preview.c
示例4: e_widget_frametable_label_set
EAPI void
e_widget_frametable_label_set(Evas_Object *obj, const char *label)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
edje_object_part_text_set(wd->o_frame, "e.text.label", label);
}
开发者ID:jordemort,项目名称:e17,代码行数:8,代码来源:e_widget_frametable.c
示例5: e_widget_frametable_content_align_set
EAPI void
e_widget_frametable_content_align_set(Evas_Object *obj, double halign, double valign)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
e_table_align_set(wd->o_table, halign, valign);
}
开发者ID:jordemort,项目名称:e17,代码行数:8,代码来源:e_widget_frametable.c
示例6: e_widget_slider_special_value_add
EAPI void
e_widget_slider_special_value_add(Evas_Object *obj, double value, double error, const char *label)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
e_slider_special_value_add(wd->o_slider, value, error, label);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_slider.c
示例7: e_widget_slider_value_step_size_set
EAPI void
e_widget_slider_value_step_size_set(Evas_Object *slider, double step_size)
{
E_Widget_Data *wd;
wd = e_widget_data_get(slider);
e_slider_value_step_size_set(wd->o_slider, step_size);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_slider.c
示例8: e_widget_flist_file_show
EAPI void
e_widget_flist_file_show(Evas_Object *obj, const char *file)
{
E_Widget_Data *wd = NULL;
wd = e_widget_data_get(obj);
e_fm2_file_show(wd->o_fm, file);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_flist.c
示例9: e_widget_flist_has_parent_get
EAPI int
e_widget_flist_has_parent_get(Evas_Object *obj)
{
E_Widget_Data *wd = NULL;
wd = e_widget_data_get(obj);
return e_fm2_has_parent_get(wd->o_fm);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_flist.c
示例10: e_widget_table_freeze
EAPI void
e_widget_table_freeze(Evas_Object *obj)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
e_table_freeze(wd->o_table);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_table.c
示例11: _e_wid_activate_hook
static void
_e_wid_activate_hook(Evas_Object *obj)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
if (wd->func) wd->func(wd->data, wd->data2);
}
开发者ID:amitesh-singh,项目名称:Enlightenment,代码行数:8,代码来源:e_widget_button.c
示例12: e_widget_preview_evas_get
EAPI Evas *
e_widget_preview_evas_get(Evas_Object *obj)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
return e_livethumb_evas_get(wd->img);
}
开发者ID:Limsik,项目名称:e17,代码行数:8,代码来源:e_widget_preview.c
示例13: e_widget_preview_vsize_set
EAPI void
e_widget_preview_vsize_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
e_livethumb_vsize_set(wd->img, w, h);
}
开发者ID:Limsik,项目名称:e17,代码行数:8,代码来源:e_widget_preview.c
示例14: e_widget_config_list_count
EAPI int
e_widget_config_list_count(Evas_Object *obj)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
return e_widget_ilist_count(wd->gui.list);
}
开发者ID:maikodaraine,项目名称:EnlightenmentUbuntu,代码行数:8,代码来源:e_widget_config_list.c
示例15: e_widget_config_list_nth_get
EAPI const char *
e_widget_config_list_nth_get(Evas_Object *obj, int n)
{
E_Widget_Data *wd;
wd = e_widget_data_get(obj);
return e_widget_ilist_nth_label_get(wd->gui.list, n);
}
开发者ID:maikodaraine,项目名称:EnlightenmentUbuntu,代码行数:8,代码来源:e_widget_config_list.c
示例16: e_widget_flist_real_path_get
EAPI const char *
e_widget_flist_real_path_get(Evas_Object *obj)
{
E_Widget_Data *wd = NULL;
wd = e_widget_data_get(obj);
return e_fm2_real_path_get(wd->o_fm);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_flist.c
示例17: e_widget_slider_value_format_display_set
EAPI void
e_widget_slider_value_format_display_set(Evas_Object *slider, const char *format)
{
E_Widget_Data *wd;
wd = e_widget_data_get(slider);
e_slider_value_format_display_set(wd->o_slider, format);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_slider.c
示例18: e_widget_flist_select_set
EAPI void
e_widget_flist_select_set(Evas_Object *obj, const char *file, int s)
{
E_Widget_Data *wd = NULL;
wd = e_widget_data_get(obj);
e_fm2_select_set(wd->o_fm, file, s);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_flist.c
示例19: e_widget_slider_value_range_set
EAPI void
e_widget_slider_value_range_set(Evas_Object *slider, double min, double max)
{
E_Widget_Data *wd;
wd = e_widget_data_get(slider);
e_slider_value_range_set(wd->o_slider, min, max);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_slider.c
示例20: e_widget_flist_selected_list_get
EAPI Eina_List *
e_widget_flist_selected_list_get(Evas_Object *obj)
{
E_Widget_Data *wd = NULL;
wd = e_widget_data_get(obj);
return e_fm2_selected_list_get(wd->o_fm);
}
开发者ID:Deepspeed,项目名称:moksha,代码行数:8,代码来源:e_widget_flist.c
注:本文中的e_widget_data_get函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论