Jeff Pittman
|
eb6463a368
|
Added explanation of how the default args converter is used in the kv example.
|
2012-08-01 11:08:00 -05:00 |
Jeff Pittman
|
7da7432600
|
Added a list_kv.py example, and copied the code to the ListView docs header for the kv section.
|
2012-08-01 11:01:09 -05:00 |
Jeff Pittman
|
cd0f045b75
|
Fixed call to DetailView().
|
2012-08-01 08:59:07 -05:00 |
Jeff Pittman
|
50d7ac1b2e
|
Added call to touch_selection() in test for observer call_count.
|
2012-08-01 07:46:13 -05:00 |
Jeff Pittman
|
8ea1783045
|
Split DetailView and the fruit data out into their own .py files and added/cleaned up imports.
|
2012-08-01 07:29:11 -05:00 |
Jeff Pittman
|
91f66e2f1a
|
Moved list examples to a lists directory, because there are quite a few, and because some code is shared between them.
|
2012-08-01 07:09:46 -05:00 |
Jeff Pittman
|
634aabbcf6
|
Added forced dispatch of on_selection_change after instantiation of DetailView in examples.
|
2012-08-01 07:04:36 -05:00 |
Qua-non
|
965abf4b12
|
Atlas: pass CoreImage instead of just TextureRegion
|
2012-08-01 16:43:24 +05:30 |
Jeff Pittman
|
672b7a223c
|
Changed the default list adapter used for ListView, when only a list of item_strings is provided, to use plain Button as the cls, not ListItemButton, because selection support is not needed.
|
2012-08-01 06:11:31 -05:00 |
Jeff Pittman
|
03c45541ab
|
Added check for whether the adapter for the list view supports selection, guarding the call to check_for_empty_selection().
|
2012-08-01 06:08:46 -05:00 |
Jeff Pittman
|
86e03d4648
|
Moved check_for_empty_selection() up to ListAdapter. Added owning_view property to ListAdapter, for access to AbstractView.get_item_view() in check_for_empty_selection(). Added the set of adapter.owning_view in ListView __init__(), and added the all-important call to check_for_empty_selection() at the bottom of that __init__(). All of this makes initial selection work now, given the present arrangement of things.
|
2012-08-01 06:01:32 -05:00 |
Jeff Pittman
|
04549413c9
|
Put the branch todo list back at the top of listview.py.
|
2012-08-01 05:28:02 -05:00 |
Jeff Pittman
|
03e031d663
|
Added item_strings= to ListView call.
|
2012-07-31 23:33:04 -05:00 |
Edwin Marshall (aspidites)
|
fe39496f2d
|
- updated documentation
- eos excepts 3 arguments now
|
2012-07-31 22:15:58 -05:00 |
Edwin Marshall (aspidites)
|
474e71b63a
|
- remomved unused attributes, rewrote __init__, fixed default values
|
2012-07-31 22:15:58 -05:00 |
Edwin Marshall (aspidites)
|
a2e531051f
|
- updated example to use new API; still issues
|
2012-07-31 22:15:58 -05:00 |
Edwin Marshall (aspidites)
|
95b626cdae
|
- reimplemented pause feature in video and videoplayer
|
2012-07-31 22:15:58 -05:00 |
Edwin Marshall (aspidites)
|
ccd3f06625
|
- almost done with rewrite
|
2012-07-31 22:15:11 -05:00 |
Edwin Marshall (aspidites)
|
27b36c3935
|
- started rewriting pause feature
|
2012-07-31 22:15:11 -05:00 |
Jeff Pittman
|
44bc041cbf
|
Added missing list adapter bindings to tests.
|
2012-07-31 21:34:42 -05:00 |
Mathieu Virbel
|
cf01022a63
|
Merge pull request #603 from aspidites/dropdown_tweak
-More tweaks
|
2012-07-31 19:11:07 -07:00 |
Jeff Pittman
|
96aa693b43
|
Removed now defunct comment about atomic.
|
2012-07-31 20:44:48 -05:00 |
Edwin Marshall (aspidites)
|
4a4449204f
|
- removed extra arguments left in for debugging...
|
2012-07-31 20:40:09 -05:00 |
Edwin Marshall (aspidites)
|
a709aa4954
|
- removed debug imports
- updated dropdown documentation
- updated spinner to use lambda instead of partial
|
2012-07-31 20:29:06 -05:00 |
Mathieu Virbel
|
3db568670f
|
Merge pull request #602 from aspidites/dropdown_tweak
Simplified select method signature
|
2012-07-31 18:27:50 -07:00 |
Edwin Marshall (aspidites)
|
c8ac7ade8b
|
- removed 'ignored' argument from select
- replaced partial with lambda
|
2012-07-31 20:09:23 -05:00 |
Jeff Pittman
|
fceb0b7453
|
Removed duplicate declation of lists_dict.
|
2012-07-31 20:00:10 -05:00 |
Mathieu Virbel
|
f9dfb393dd
|
scrollview: always accept scrolling event in touch up. closes #601
|
2012-08-01 02:50:06 +02:00 |
Jeff Pittman
|
0641a9a572
|
Import fixes for tests. Added listview adapter checks.
|
2012-07-31 19:28:02 -05:00 |
Jeff Pittman
|
67c03f102d
|
Whitespace and import fixes.
|
2012-07-31 19:19:37 -05:00 |
Jeff Pittman
|
1533b2cf62
|
Updated references for using kwargs. Fixed import.
|
2012-07-31 19:15:29 -05:00 |
Jeff Pittman
|
397619e58d
|
Added SimpleListAdapter to be the bare-bones, no selection, list adapter. ListAdapter now uses SimpleListAdapter if no adapter is provided. ListAdapter implements SelectionSupport, as before, but now subclasses SimpleListAdapter. Renamed SelectableListsAdapter to ListsAdapter. Updated examples and tests accordingly. Updated and fixed code examples in the docs for ListView.
|
2012-07-31 17:44:37 -05:00 |
Qua-non
|
9299f0d62e
|
loader.py revert to corect path of non-atlas based image
using atlas for image-missing has issues with AsyncImage
|
2012-08-01 03:57:21 +05:30 |
Qua-non
|
45eef0702c
|
loader.py fix path for image-missing.png
|
2012-08-01 03:14:57 +05:30 |
Jeff Pittman
|
b27adda021
|
Removed required arguments in ListAdapter. Fixed examples and tests accordingly.
|
2012-07-31 16:13:17 -05:00 |
Jeff Pittman
|
58dae9eb4e
|
Removed the mixin SelectionObserver classes, and went back to explicit bindings done at the time of widget creation (just after). Updated examples and tests accordingly. The selection handler method is now called on_selection_change. The SelectionSupport mixin was changed to register the on_selection_change event, and was modified to dispatch in a more atomic fashion.
|
2012-07-31 14:08:00 -05:00 |
Jeff Pittman
|
4a0b2232ee
|
Replaced usage of raise NotImplementedError() with pass.
|
2012-07-31 11:11:04 -05:00 |
Jeff Pittman
|
65d96ef45d
|
Changed observed_selection_changed() to on_selection_change() in preparation for redoing with a Kivy event.
|
2012-07-31 11:02:57 -05:00 |
Jeff Pittman
|
fa7009d79d
|
Added a simple example for listview, that only takes a list of strings.
|
2012-07-31 10:02:21 -05:00 |
Jeff Pittman
|
867061fe4a
|
Removed the custom CompositeListItem from the example, and made a general CompositeListItem class in listview.py. This required a change to ListView to check for a provided adapter, and to handle its set for AbstractView, which as not __init().
|
2012-07-31 10:00:04 -05:00 |
Mathieu Virbel
|
0167a5e4ca
|
spinner: add spinner in the showcase example
|
2012-07-31 16:28:43 +02:00 |
Mathieu Virbel
|
82eb0051f4
|
spinner: introduce new Spinner widget: A view that displays one child at a time and lets the user pick among them. Made only for text.
(this replace the combobox pull request, and its based on the dropdown widget.)
|
2012-07-31 16:02:51 +02:00 |
Mathieu Virbel
|
ed82a8fab8
|
Merge pull request #600 from kivy/uix-dropdown
dropdown: first implementation of a dropdown widget.
|
2012-07-31 02:57:24 -07:00 |
Mathieu Virbel
|
2a802a096c
|
fix selection->data doc
|
2012-07-31 11:56:31 +02:00 |
Jeff Pittman
|
608ca35951
|
Found a less distracting name for the main view of the list_composite.py example.
|
2012-07-31 00:03:08 -05:00 |
Jeff Pittman
|
5ef9a77c50
|
Added a list_composite.py list example, based on testing of the one started in the docs in widgets/listview.py.
|
2012-07-30 23:56:29 -05:00 |
Jeff Pittman
|
b530e42850
|
Started writing formal examples for ListView in its doc header, which prompted several clean-ups. ListItemButton and ListItemLabel were added to listview.py, so that various custom ListItem classes made for the examples and tests could be removed. The todo list for this uix-listview branch was moved to a gist. A new adapters/util.py file was added, containing only list_item_args_adapter(). ListAdapter was modified to check for an args_converter argument, and if not present, to use the default one in adapters/util.py.
|
2012-07-30 22:39:15 -05:00 |
Mathieu Virbel
|
0da37fc8a5
|
remove debug
|
2012-07-31 01:59:05 +02:00 |
Mathieu Virbel
|
82d3595859
|
dropdown: first implementation of a dropdown widget.
|
2012-07-31 01:58:04 +02:00 |
Jeff Pittman
|
f292049d4c
|
Added back call_count check.
|
2012-07-30 17:14:19 -05:00 |