Commit Graph

86 Commits

Author SHA1 Message Date
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
Davide Andreoli 9d167fdf66 PythonEFL: my py2.7 dont like the exec() inside a lambda. 2013-04-23 22:35:52 +02:00
Kai Huuhko e0e2cb81ce Elementary: Fix Toolbar states. 2013-04-22 20:20:21 +03:00
Kai Huuhko 1753d43b7d Elementary: Add some magic to examples so it imports the individual
tests on demand.
2013-04-22 20:20:21 +03:00
Kai Huuhko e164c111a2 Elementary: Implement Toolbar item states, which create an issue with
the item data making the item_del_cb crash.
2013-04-22 20:20:21 +03:00