tasn pushed a commit to branch master.
commit 73a3b7ace02b469e04b991956d7594f587b4fa90
Author: Simon Busch <[email protected]>
Date: Tue Mar 10 21:19:52 2009 +0000
Publish new widgets
SVN revision: 39439
---
elementary/__init__.py | 2 +-
elementary/elementary.c_elementary.pyx | 17 +++--------------
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/elementary/__init__.py b/elementary/__init__.py
index 3e34f6e..cdb137f 100644
--- a/elementary/__init__.py
+++ b/elementary/__init__.py
@@ -22,7 +22,7 @@ from c_elementary import Object, Window, Background, Icon, \
Box, Button, Scroller, Label, Toggle, Frame, Table, \
Clock, Layout, Hover, Entry, AnchorView, AnchorBlock, Bubble, \
Photo, Hoversel, Toolbar, ToolbarItem, List, ListItem, Slider, \
- init, shutdown, run, exit
+ Radio, Check, Pager, init, shutdown, run, exit
ELM_WIN_BASIC = 0
ELM_WIN_DIALOG_BASIC = 1
diff --git a/elementary/elementary.c_elementary.pyx
b/elementary/elementary.c_elementary.pyx
index 66f70ad..edbb860 100644
--- a/elementary/elementary.c_elementary.pyx
+++ b/elementary/elementary.c_elementary.pyx
@@ -47,21 +47,7 @@ def exit():
flag = False
-cdef object _callback_mappings
-_callback_mappings = dict()
-cdef void _object_callback(void *data, c_evas.Evas_Object *obj, void
*event_info):
- try:
- mapping = _callback_mappings.get(<long>obj,None)
- if mapping is not None:
- func = mapping.get(<char*>data,None)
-
- if not callable(func):
- raise TypeError("func is not callable")
-
- func(mapping["__class__"],<char*>data)
- except Exception, e:
- traceback.print_exc()
include "elementary.c_elementary_object.pxi"
@@ -88,3 +74,6 @@ include "elementary.c_elementary_hoversel.pxi"
include "elementary.c_elementary_toolbar.pxi"
include "elementary.c_elementary_list.pxi"
include "elementary.c_elementary_slider.pxi"
+include "elementary.c_elementary_pager.pxi"
+include "elementary.c_elementary_radio.pxi"
+include "elementary.c_elementary_check.pxi"
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar