Push.browser_model¶
Classes¶
class VirtualBrowserItem(object)¶
Bases: object
Attributes¶
source = ''is_device = Falseis_loadable = False
__init__(self, name, children_query, is_folder)¶
children(self)¶
is_selected(self)¶
__str__(self)¶
class BrowserListItem(ActionListItem)¶
Bases: ActionListItem
Attributes¶
URI_TO_NAME_FALLBACK
__str__(self)¶
_item_name(self)¶
action(self)¶
preview(self)¶
supports_action(self)¶
class BrowserList(ActionList)¶
Bases: ActionList
Attributes¶
browser = Noneitem_type
__init__(self, browser, *a, **k)¶
class BrowserModel(EventObject)¶
Bases: EventObject
Attributes¶
empty_list_messages
__init__(self, browser, *a, **k)¶
can_be_exchanged(self, model)¶
exchange_model(self, model)¶
content_lists(self)¶
update_content(self)¶
update_selection(self)¶
browser(self)¶
make_content_list(self)¶
class EmptyBrowserModel(BrowserModel)¶
Bases: BrowserModel
Attributes¶
empty_list_messages
content_lists(self)¶
update_content(self)¶
update_selection(self)¶
can_be_exchanged(self, model)¶
class FullBrowserModel(BrowserModel)¶
Bases: BrowserModel
Attributes¶
empty_list_messages
__init__(self, *a, **k)¶
get_root_children(self)¶
get_children(self, item, level)¶
content_lists(self)¶
can_be_exchanged(self, model)¶
update_content(self)¶
update_selection(self)¶
_push_content_list(self)¶
_pop_content_list(self)¶
_fit_content_lists(self, requested_lists)¶
_finalize_content_lists_change(self)¶
_on_item_activated(self, level)¶
class QueryingBrowserModel(FullBrowserModel)¶
Bases: FullBrowserModel
Attributes¶
empty_list_messages