From: Enlightenment S. <no-...@en...> - 2010-02-03 00:52:09
|
Log: pyelm: remove deprecated api at widget level: style_set. It now uses style_set from elm_object Author: billiob Date: 2010-02-02 16:14:13 -0800 (Tue, 02 Feb 2010) New Revision: 45826 Modified: trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi trunk/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd Modified: trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi =================================================================== --- trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi 2010-02-03 00:13:47 UTC (rev 45825) +++ trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi 2010-02-03 00:14:13 UTC (rev 45826) @@ -52,6 +52,3 @@ icon = elm_button_icon_get(self.obj) return evas.c_evas._Object_from_instance(<long> icon) - def style_set(self, style): - elm_button_style_set(self.obj, style) - Modified: trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi =================================================================== --- trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi 2010-02-03 00:13:47 UTC (rev 45825) +++ trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi 2010-02-03 00:14:13 UTC (rev 45826) @@ -27,9 +27,6 @@ def content_set(self, c_evas.Object content): elm_frame_content_set(self.obj, content.obj) - def style_set(self, style): - elm_frame_style_set(self.obj, style) - def best_content_location_get(self, axis): elm_hover_best_content_location_get(self.obj, axis) Modified: trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi =================================================================== --- trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi 2010-02-03 00:13:47 UTC (rev 45825) +++ trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi 2010-02-03 00:14:13 UTC (rev 45826) @@ -39,9 +39,6 @@ def content_set(self, swallow, c_evas.Object content): elm_hover_content_set(self.obj, swallow, content.obj) - def style_set(self, style): - elm_hover_style_set(self.obj, style) - def best_content_location_get(self, axis): cdef char* string string = elm_hover_best_content_location_get(self.obj, axis) Modified: trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi =================================================================== --- trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi 2010-02-03 00:13:47 UTC (rev 45825) +++ trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi 2010-02-03 00:14:13 UTC (rev 45826) @@ -30,17 +30,6 @@ """ elm_win_inwin_activate(self.obj) - def style_set(self, style): - """ - Set the style for the inner window. Available styles are - - default - - minimal - - minimal_vertical - - @parm: B{style} style for the inner window - """ - elm_win_inwin_style_set(self.obj, style) - def content_set(self, c_evas.Object content): elm_win_inwin_content_set(self.obj, content.obj) Modified: trunk/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd =================================================================== --- trunk/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd 2010-02-03 00:13:47 UTC (rev 45825) +++ trunk/BINDINGS/python/python-elementary/include/elementary/c_elementary.pxd 2010-02-03 00:14:13 UTC (rev 45826) @@ -248,8 +248,7 @@ evas.c_evas.Evas_Object *elm_win_inwin_add(evas.c_evas.Evas_Object *obj) void elm_win_inwin_activate(evas.c_evas.Evas_Object *obj) - void elm_win_inwin_style_set(evas.c_evas.Evas_Object *obj, char *style) - void elm_win_inwin_content_set(evas.c_evas.Evas_Object *obj, evas.c_evas.Evas_Object *content) + void elm_win_inwin_content_set(evas.c_evas.Evas_Object *obj, evas.c_evas.Evas_Object *content) # Background object evas.c_evas.Evas_Object *elm_bg_add(evas.c_evas.Evas_Object *parent) @@ -292,7 +291,6 @@ void elm_button_label_set(evas.c_evas.Evas_Object *obj, char *label) void elm_button_icon_set(evas.c_evas.Evas_Object *obj, evas.c_evas.Evas_Object *icon) evas.c_evas.Evas_Object *elm_button_icon_get(evas.c_evas.Evas_Object *obj) - void elm_button_style_set(evas.c_evas.Evas_Object *obj, char *style) char* elm_button_label_get(evas.c_evas.Evas_Object *obj) # Scroller object @@ -325,7 +323,6 @@ evas.c_evas.Evas_Object* elm_frame_add(evas.c_evas.Evas_Object *parent) void elm_frame_label_set(evas.c_evas.Evas_Object *obj, char *label) void elm_frame_content_set(evas.c_evas.Evas_Object *obj, evas.c_evas.Evas_Object *content) - void elm_frame_style_set(evas.c_evas.Evas_Object *obj, char *style) # Table object evas.c_evas.Evas_Object *elm_table_add(evas.c_evas.Evas_Object *parent) |