# Copyright 2012 Kai Huuhko # # This file is part of python-elementary. # # python-elementary is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # python-elementary is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with python-elementary. If not, see . # from efl.evas cimport Eina_Bool, Eina_List from libc.string cimport const_char cdef extern from "Elementary.h": ctypedef struct Elm_Theme Elm_Theme *elm_theme_new() void elm_theme_free(Elm_Theme *th) void elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst) void elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref) Elm_Theme *elm_theme_ref_get(Elm_Theme *th) Elm_Theme *elm_theme_default_get() void elm_theme_overlay_add(Elm_Theme *th, const_char *item) void elm_theme_overlay_del(Elm_Theme *th, const_char *item) Eina_List *elm_theme_overlay_list_get(Elm_Theme *th) void elm_theme_extension_add(Elm_Theme *th, const_char *item) void elm_theme_extension_del(Elm_Theme *th, const_char *item) Eina_List *elm_theme_extension_list_get(Elm_Theme *th) void elm_theme_set(Elm_Theme *th, const_char *theme) char *elm_theme_get(Elm_Theme *th) Eina_List *elm_theme_list_get(Elm_Theme *th) char *elm_theme_list_item_path_get(const_char *f, Eina_Bool *in_search_path) void elm_theme_flush(Elm_Theme *th) void elm_theme_full_flush() Eina_List *elm_theme_name_available_list_new() void elm_theme_name_available_list_free(Eina_List *list) char *elm_theme_data_get(Elm_Theme *th, const_char *key) cdef class Theme(object): cdef Elm_Theme *th