class documentation

class TagCloudWidget(ConnectorMixin, Gtk.TextView): (source)

View In Hierarchy

Text-view based list of tags, where each tag is represented by a button inserted as a child in the textview.
Unknown Field: signal
selection-changed (): emitted when tag selection changes
sorting-changed (): emitted when tag sorting changes
Method __init__ Undocumented
Method connect_index Connect to an Index object
Method disconnect_index Stop the model from listening to the index. Used to unhook the model before reloading the index.
Method do_populate_popup Undocumented
Method get_tag_filter No summary
Method set_sorting Undocumented
Class Variable __gsignals__ Undocumented
Instance Variable index Undocumented
Method _clear Clears the cloud
Method _switch_sorting Undocumented
Method _update Update the cloud to show only tags that share a set of pages with the selected tags.
Instance Variable _alphabetically Undocumented

Inherited from ConnectorMixin:

Method connectto Connect to signals of another object E.g.:
Method connectto_all Convenience method to combine multiple calls to connectto().
Method disconnect_all Disconnect all signals that have been connected with connectto and friends. Typically called when you want to destroy this object.
Method disconnect_from Disc all signals that have been connected with connectto and friends to a specific object.
Method _disconnect_from Undocumented
Instance Variable _connected_signals Undocumented
def __init__(self, index, sorting='score'): (source)

Undocumented

def connect_index(self, index): (source)
Connect to an Index object
def disconnect_index(self): (source)
Stop the model from listening to the index. Used to unhook the model before reloading the index.
def do_populate_popup(self, menu): (source)

Undocumented

def get_tag_filter(self): (source)
Returns a tuple with two lists of tags; the first gives all tags that are selected, the second gives all tags shown in the cloud. By definition the first list is a subset of the second. If no tags are selected returns None instead.
def set_sorting(self, sorting): (source)

Undocumented

__gsignals__ = (source)

Undocumented

index = (source)

Undocumented

def _clear(self): (source)
Clears the cloud
def _switch_sorting(self, widget, *a): (source)

Undocumented

def _update(self, *a): (source)
Update the cloud to show only tags that share a set of pages with the selected tags.
_alphabetically = (source)

Undocumented