2013-11-28 16:20:12 -08:00
|
|
|
from efl.eina cimport Eina_Bool, const_Eina_List
|
|
|
|
from efl.evas cimport Evas_Object, const_Evas_Object
|
2014-01-08 13:06:29 -08:00
|
|
|
from enums cimport Elm_Fileselector_Mode, Elm_Fileselector_Sort
|
2013-10-20 13:45:47 -07:00
|
|
|
from libc.string cimport const_char
|
|
|
|
|
|
|
|
cdef extern from "Elementary.h":
|
|
|
|
Evas_Object * elm_fileselector_add(Evas_Object *parent)
|
|
|
|
void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save)
|
2013-11-28 16:20:12 -08:00
|
|
|
Eina_Bool elm_fileselector_is_save_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool value)
|
2013-11-28 16:20:12 -08:00
|
|
|
Eina_Bool elm_fileselector_folder_only_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool value)
|
2013-11-28 16:20:12 -08:00
|
|
|
Eina_Bool elm_fileselector_buttons_ok_cancel_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool value)
|
2013-11-28 16:20:12 -08:00
|
|
|
Eina_Bool elm_fileselector_expandable_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
void elm_fileselector_path_set(Evas_Object *obj, const_char *path)
|
2013-11-28 16:20:12 -08:00
|
|
|
const_char * elm_fileselector_path_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode)
|
2013-11-28 16:20:12 -08:00
|
|
|
Elm_Fileselector_Mode elm_fileselector_mode_get(const_Evas_Object *obj)
|
|
|
|
void elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi)
|
|
|
|
Eina_Bool elm_fileselector_multi_select_get(const_Evas_Object *obj)
|
|
|
|
Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const_char *path)
|
|
|
|
const_char * elm_fileselector_selected_get(const_Evas_Object *obj)
|
|
|
|
const_Eina_List * elm_fileselector_selected_paths_get(const_Evas_Object *obj)
|
2013-10-20 13:45:47 -07:00
|
|
|
Eina_Bool elm_fileselector_mime_types_filter_append(Evas_Object *obj, const_char *mime_types, const_char *filter_name)
|
|
|
|
void elm_fileselector_filters_clear(Evas_Object *obj)
|
2013-11-28 16:20:12 -08:00
|
|
|
void elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible)
|
|
|
|
Eina_Bool elm_fileselector_hidden_visible_get(const_Evas_Object *obj)
|
2014-01-08 13:06:29 -08:00
|
|
|
Elm_Fileselector_Sort elm_fileselector_sort_method_get(const_Evas_Object *obj)
|
|
|
|
void elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort method)
|