summaryrefslogtreecommitdiff
path: root/efl/elementary/ctxpopup_cdef.pxi
blob: bf8916e32e06d87e30fd870952725a1ef199235e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from efl.elementary.enums cimport Elm_Ctxpopup_Direction

cdef extern from "Elementary.h":
    Evas_Object             *elm_ctxpopup_add(Evas_Object *parent)
    void                     elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
    Evas_Object             *elm_ctxpopup_hover_parent_get(const Evas_Object *obj)
    void                     elm_ctxpopup_clear(Evas_Object *obj)
    void                     elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
    Eina_Bool                elm_ctxpopup_horizontal_get(const Evas_Object *obj)
    Elm_Object_Item         *elm_ctxpopup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, void *data)
    Elm_Object_Item         *elm_ctxpopup_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, void *data)
    void                     elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth)
    void                     elm_ctxpopup_direction_priority_get(const Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth)
    Elm_Ctxpopup_Direction   elm_ctxpopup_direction_get(const Evas_Object *obj)
    void                     elm_ctxpopup_dismiss(Evas_Object *obj)
    void                     elm_ctxpopup_auto_hide_disabled_set(Evas_Object *obj, Eina_Bool disabled)
    Eina_Bool                elm_ctxpopup_auto_hide_disabled_get(const Evas_Object *obj)
    Eina_List               *elm_ctxpopup_items_get(const Evas_Object *obj)
    Elm_Object_Item         *elm_ctxpopup_first_item_get(const Evas_Object *obj)
    Elm_Object_Item         *elm_ctxpopup_last_item_get(const Evas_Object *obj)
    Elm_Object_Item         *elm_ctxpopup_item_prev_get(const Elm_Object_Item *it)
    Elm_Object_Item         *elm_ctxpopup_item_next_get(const Elm_Object_Item *it)