Commit Graph

190 Commits

Author SHA1 Message Date
Davide Andreoli 5e8a644f24 New 1.12 API: elm_fileselector_current_name_set/get
With proper test
2014-11-22 15:11:23 +01:00
Davide Andreoli 3be938511f New 1.12 API: elm_panel_scrollable_set/get/content_size_set
Also improved the test for panel and added a new test for scrollable panel.
2014-11-22 14:33:47 +01:00
Kai Huuhko 953a77dcaf Examples: set hoversel text in a callback 2014-09-17 22:21:50 +03:00
Kai Huuhko 5543852d54 Examples: Add description to elm web exceptions, trivial updates to test 2014-09-13 18:16:17 +03:00
Davide Andreoli a4d321dacc Gengrid: new property reorder_type, with test for reorder mode 2014-08-01 18:14:55 +02:00
Davide Andreoli f5dd70b70f Gengrid: implemented search_by_text_item_get(), with a proper test 2014-08-01 17:31:09 +02:00
Davide Andreoli d8174aea3d Genlist: implemented search_by_text_item_get(), with a proper test 2014-08-01 16:31:24 +02:00
Davide Andreoli 401145f4fa Toolbar: new un/selected signals, with tests 2014-08-01 13:35:50 +02:00
Davide Andreoli a97e61dd4f Ctxpopup: new getters for items and the item_prepend method, with tests 2014-07-31 22:18:41 +02:00
Davide Andreoli 1af5adb8cd Panes: new content_[left/right]_min_[relative]_size properties 2014-07-31 17:01:53 +02:00
Davide Andreoli 4f1efb1ee1 Use a more eflish code style (still pep-8 compliant) 2014-06-02 20:37:15 +02:00
Kai Huuhko 3f0aea9cb6 Examples: Elementary test.py pep-8 (formatting) cleanup 2014-06-02 20:17:28 +03:00
Kai Huuhko 5045352434 Evas: Add NULL safety to SmartObject callbacks, exposes a BUG
Apparently the Python instance gets deleted before the smart hide/del
callbacks are called (by eo callback?).
2014-06-02 09:18:01 +03:00
Kai Huuhko 6431873fcd Elementary: Add more signals to web example 2014-05-29 19:43:12 +03:00
Kai Huuhko 9ba009c46a Elementary: Add an example for sys_notify 2014-05-29 01:39:09 +03:00
Kai Huuhko 1466ea7207 efl.ecore: Return of ecore.x (from python-ecore)
Made some corrections to make it compile and fixed doc formatting.
2014-05-13 17:59:48 +03:00
Kai Huuhko 451d49d731 Examples: Fixed elm.popup duplicate function names 2014-04-15 21:43:32 +03:00
Kai Huuhko 6408f8d318 Code cleanup: Print statements => functions 2014-04-14 02:32:16 +03:00
Kai Huuhko ae64f89ab5 Code cleanup: Trailing semicolon in the statement 2014-04-14 01:46:39 +03:00
Kai Huuhko 80f5bb3fa7 Code cleanup: List creation could be rewritten as a list literal 2014-04-14 01:40:22 +03:00
Kai Huuhko 6fc195858e Code cleanup: Assignment can be replaced with augmented assignment 2014-04-14 01:40:22 +03:00
Davide Andreoli de154b7930 Python-EFL: New 1.9 API: Naviframe.title_enabled (title_visible deprecated) 2014-03-01 16:35:20 +01:00
Davide Andreoli 9f6cf51f80 Python-EFL: new 1.9 API: Layout.content_swallow_list_get() 2014-03-01 14:23:42 +01:00
Davide Andreoli 32448918f6 Python-EFL: new 1.9 API Multibuttonentry.format_function_set()
Sadly this add 2 new points of reference leaks :(
2014-02-27 22:38:04 +01:00
Davide Andreoli c2a34f20ad Python-EFL: Colorselector new 1.9 API 2014-02-27 20:52:10 +01:00
Davide Andreoli 1bfb4d8922 Python-EFL: added 1.9 API: Colorselector.palette_items_get() 2014-02-26 23:20:04 +01:00
Davide Andreoli 684aee077e Python-EFL: Fileselector 1,9 API additions.
* added property thumbnail_size
* added function custom_filter_append
* splitted the 3 tests in 3 different files
* test rewritten to better match the C one.

NOTE: custom_filter_append is leaking...need to find a proper way to unref
          Added a note in the TODO for this issue.
2014-02-26 21:37:04 +01:00
Davide Andreoli dd3bc98c93 Python-EFL: add API Label.slide_speed. With tests 2014-02-23 16:29:31 +01:00
Davide Andreoli 04734af9f4 Python-EFL: added new tooltip movement freeze API
* tooltip_move_freeze_push()
* tooltip_move_freeze_pop()
* tooltip_move_freeze_get()
2014-02-23 14:18:19 +01:00
Davide Andreoli 9b78f1fc42 Python emotion test: port all the changes done recently in the C test.
* updated theme file
* new volume slider
* renamed speed slider to alpha slider
* fix alpha slider to work only on the video, not the whole frame
* fix calculation of displayed time
* new option: --position
* new option: --loop
* updated engines list
* new option: --reflex
2014-02-23 13:17:36 +01:00
Kai Huuhko b21fde2ba7 Silence warnings in Cython 0.20 2014-01-24 22:52:34 +02:00
Davide Andreoli 445211f369 add new Mapbuf.point_color_set/get functions (since 1.9) 2014-01-08 22:48:27 +01:00
Davide Andreoli bd063f0ece add new Filesector.sort_method property (since 1.9) 2014-01-08 22:06:29 +01:00
Davide Andreoli fdb66d75e6 add new Clock.pause property (since 1.9) 2014-01-08 21:17:57 +01:00
Davide Andreoli 44a5dd89c0 fix imports in elm tooltip example 2014-01-06 14:36:49 +01:00
Davide Andreoli cabc442195 Try to fix evas SmartObject
* implemented a test for smart obj
* remove comments from factories methods
* install the metaclass also for the Clipped one

Smart object implementation is still broken :(
Every object segfault on delete, the reason is
the eo del callback called BEFORE the smart
delete function. need to investigate better.
2014-01-06 12:40:59 +01:00
Davide Andreoli cacde3e38a unbroke the emotion example
* copy the theme edj in source, instead of searching for an installed
one from the c example, that is not installed by default enymore.
* fix usage/import of enums
* add the 'p' key to toggle pause state
2013-12-23 21:34:16 +01:00
Davide Andreoli 9089706286 Python-EFL: 5 new tests about Focus.
Also add some missed values to Elm_Object_Focus_Direction enum.
2013-12-16 21:42:27 +01:00
Kai Huuhko d84fc043ea Elementary: Fixed test.py mirror mode toggle 2013-12-07 15:59:59 +02:00
Kai Huuhko 7fbc6b83e6 Elementary: Removed use of deprecated methods in examples. 2013-12-07 10:28:08 +02:00
Kai Huuhko 0789bef048 Elementary: Convert the two remaining calendar examples. 2013-12-06 11:49:39 +02:00
Kai Huuhko ab036dd80b Elementary: Fix clock example 2013-12-06 11:47:28 +02:00
Kai Huuhko 2fdaaf2957 Elementary: Disable dnd example 2013-12-06 03:45:34 +02:00
Kai Huuhko 602d030137 Elementary: Fix mistakes in configuration example. 2013-12-05 11:32:42 +02:00
Davide Andreoli 0a03a272e7 Python-EFL: unify all the 3 map tests in one 2013-12-04 21:31:55 +01:00
Kai Huuhko c0ef792ca8 Elementary.slider: Add property step 2013-11-29 02:22:36 +02:00
Kai Huuhko 603476f176 Elementary.web: Add many things missing from API, not tested.
I won't be able to test this until I get Elm compiled with efl-webkit,
and for that I need a reasonably fresh source snapshot.

Latest one I could find was from August last year, I'm assuming it
won't match with current Elm.
2013-11-28 07:17:07 +02:00
Kai Huuhko 44ea5ef086 Elementary: Fix issues in examples, including segfault in config example
It seems socket image windows size and pos should not by manipulated
before calling socket_listen().

Removed several remaining uses of enums from package namespace.
2013-11-28 00:31:41 +02:00
Kai Huuhko cfd74a40e9 Elm: Update main test to be more like C test and add more table examples 2013-11-27 21:08:45 +02:00
Kai Huuhko 4e6d58301d Elementary: Fix Icon example to match the changes made C example.
Thanks SeoZ!
2013-11-26 17:34:39 +02:00
Kai Huuhko 75ee95a7d6 Elementary: Improve input event example.
- prevent focusing the log entry or the clear button widgets
 - move log entry widgets cursor to end when it changes
 - set weight size hints to allocate more space for log entry widget
 - clarify the output messages
2013-11-26 02:37:46 +02:00
Kai Huuhko feaeb7a468 Elementary: Use filter callback to handle the entry text in input example 2013-11-25 23:07:31 +02:00
Kai Huuhko 4b95a88618 Elementary.entry: Clean up the utf8 <-> markup API 2013-11-25 23:07:23 +02:00
Kai Huuhko d7cef5a697 Elementary: Add an example for input events. 2013-11-25 20:52:54 +02:00
Kai Huuhko 3a26675680 Elementary: Convert more of the C DnD examples to Python. 2013-11-19 21:42:24 +02:00
Kai Huuhko 738a377a78 Elementary: Fix a couple of issues in edje external examples.
Include the source file too. It would be best to get rid of the binary
edje file and automate compiling/cleaning it.
2013-11-19 21:21:03 +02:00
Davide Andreoli 012b89076d PythonEFL: new elm test for Theme 2013-11-16 13:15:18 +01:00
Nathan Jervis 7896899abc Elementary: Fix the number of seconds in a day in calendar examples. 2013-11-09 11:49:06 +02:00
Kai Huuhko 91f6ce7ea8 Elementary: Add a call to need_efreet to the map examples.
This is required for the proper cache path to be found.
Otherwise it's created under cwd/(null)
2013-11-08 06:03:15 +02:00
Kai Huuhko af72b465e2 Elementary: Fix small issues in examples 2013-11-07 13:05:14 +02:00
Kai Huuhko a261a2bb69 Elementary: Add Slider example, fixed minor issues in others 2013-11-04 07:07:17 +02:00
Kai Huuhko cf1f98bbf6 Elementary: Improve the rest of the examples.
Summary of changes:

 - Make use of constructor keyword args
 - Most scripts are now working directory agnostic
 - Enabled evas textgrid example
 - Printed messages are slightly better formatted
2013-11-03 10:42:50 +02:00
Kai Huuhko 1f74676a1b Elementary: Comment out couple more accessibility stuff 2013-11-02 16:39:18 +02:00
Kai Huuhko a2364dba2c Elementary: Examples, part N.
"We're doing it, we're doing it! Stop being so testy."

  - Vincent Price as The Sinister Man, addressing Satan.
2013-11-02 02:10:56 +02:00
Kai Huuhko 944234bccd Elementary: Examplifying examples. 2013-11-01 01:52:48 +02:00
Kai Huuhko 39598ed1f7 Elementary: More work on the examples. 2013-10-30 11:36:54 +02:00
Kai Huuhko b3f501b387 Elementary: Start making examples more examplary. 2013-10-30 04:28:55 +02:00
Kai Huuhko d6d440c3a6 Add support for loggers that have been initialized already.
This allows module initialization to be logged as well.

Changed add_logger to return the logger object instead of int.
2013-10-26 03:22:47 +03:00
Kai Huuhko 3d85286336 Add arguments 'version' and 'message' to DEPRECATED decorator.
The decorator will automatically add a directive to the docstring and
log a message when the function is called.
2013-10-25 02:09:29 +03:00
Kai Huuhko b981ce3840 New feature: Set properties using constructor keyword arguments.
Only applied to Elm Bubble for now as an example.
2013-10-20 14:34:53 +03:00
Kai Huuhko 87ee22d559 Elementary: DnD work
- Genlist default animation test functional
 - Some callbacks are still missing
2013-10-10 05:42:39 +03:00
Kai Huuhko afe11df636 Elementary: Beginnings of Drag and Drop support, very much work in progress. 2013-10-08 17:13:32 +03:00
Kai Huuhko 6299a6c8ae Elementary: Make inheriting from scrollable a responsibility for the user. 2013-10-08 09:11:12 +03:00
Kai Huuhko fa9e96dff9 Elementary: Add a test for Access.
Change internal only GenlistItem.itc to readonly item_class
2013-10-04 15:11:57 +03:00
Kai Huuhko 914c6ffd6b Elementary: Add various missing functions 2013-10-04 09:29:45 +03:00
Kai Huuhko 0004c58c9b Elementary: Fix tests config and spinner 2013-10-03 07:41:46 +03:00
Kai Huuhko 9413b157b9 Evas/Eo: Fix couple of crashes related to Canvas cb's and Eo 2013-10-03 06:19:04 +03:00
Kai Huuhko d4e5ea886c Elementary: Fix Gengrid item_cb crash 2013-10-02 23:38:31 +03:00
Kai Huuhko 29259e670e Elementary: Clean up cruft from the transit test and add it to test.py 2013-10-02 20:28:16 +03:00
Kai Huuhko d430807974 Elementary: Add custom effects for transit. 2013-10-02 19:34:47 +03:00
Kai Huuhko bef896b490 Elementary: Fix transit del_cb 2013-10-02 05:59:21 +03:00
Davide Andreoli f8c332d636 Python-EFL: add support for the "recording" style of ProgressBar 2013-09-16 21:10:45 +02:00
Davide Andreoli 7925fc7056 Python-EFL: some works on the photocam widget
* implemented a proper test
* implemented remote url feature
* fixed file_set error raise
* implemented all the missing legacy setter/getters
2013-08-12 20:56:45 +02:00
Davide Andreoli 66e7f00308 PythonEFL: change the way progressbar pulse mode work.
Prior to this commit you enable (and start) the pulsing animation by doing:
pb.pulse = True
pb.pulse(True)

Now you need to use the less-confusing syntax:
pb.pulse_mode = True
pb.pulse(True)

Sorry for braking the API but was really confusing before.
2013-08-12 16:50:50 +02:00
Kai Huuhko 478709be29 Examples/Elementary/Image: Fix rotation buttons. 2013-08-12 17:22:46 +03:00
Davide Andreoli 37d136fdbc PythonEFL: 2 small fix for the new image test 2013-08-12 15:38:51 +02:00
Davide Andreoli c1298443b3 PythonEFL: add support in Image for urls and a new test for the Image widget 2013-08-12 15:32:33 +02:00
Kai Huuhko 82a3131a5a elementary MultibuttonEntry: Add a print button to the example. 2013-08-02 13:15:42 +00:00
Davide Andreoli fd131a2b69 Python-EFL: @on_event(event_name) decorator for Emotion 2013-05-14 23:13:26 +02:00
Davide Andreoli 6e221b54c5 Python-EFL: espionage: more unicode fun 2013-05-09 20:18:57 +02:00
Davide Andreoli bee7a39575 Python-EFL: espionage: new option to prettify the returns of methods 2013-05-05 18:33:52 +02:00
Davide Andreoli 73d49c134a Python-EFL: espionage: add an option to hide the internal dbus introspection interfaces. 2013-05-05 18:00:12 +02:00
Davide Andreoli 294bbda78b Python-EFL: espionage: double-clink on a property to fetch the value 2013-05-05 17:39:19 +02:00
Davide Andreoli 1c261835d5 Python-EFL: espionage: can now execute methods, with arguments too. 2013-05-05 16:41:14 +02:00
Davide Andreoli 9b165b8b79 Python-EFL: test_dbus_spy.py (aka espionage) improvements
* Show the params and returns (with name and type) in methods and signals items
 * Show type and access (rw, ro) in properties items
 * Sort better the list of properties, methods and signals
2013-05-04 15:51:20 +02:00
Kai Huuhko 5a1180d1a0 Elementary: Initial support for copy & paste. selection_get/set/clear
works with Entry and has a test, the generic drop_cb is unfinished and
untested.
2013-05-01 15:49:57 +00:00
Kai Huuhko 75cfdd1db7 Elementary: Add GestureLayer test to the main list of tests. 2013-05-01 15:45:26 +00:00
Kai Huuhko 3072f93a83 Elementary: Add an incomplete scrolled entry test. Needs the filter cbs
implemented.
2013-05-01 15:45:26 +00:00
Kai Huuhko 6c89e84620 Elementary: Change the rest of the widgets to use the new item handling
style, and make the documentation more structured.
2013-05-01 15:45:26 +00:00
Kai Huuhko ab91f97961 Elementary: Add special methods that allow iterating natively over a Genlist
eg:

    for item in genlist:
        print(item)
2013-05-01 15:24:41 +00:00