class documentation

class ToCWidget(ConnectorMixin, Gtk.ScrolledWindow): (source)

Known subclasses: zim.plugins.tableofcontents.SidePaneToC

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method can_demote Undocumented
Method can_promote Undocumented
Method load_page Undocumented
Method on_demote Undocumented
Method on_heading_activated Undocumented
Method on_page_changed Undocumented
Method on_populate_popup Undocumented
Method on_promote Undocumented
Method on_store_page Undocumented
Method select_heading Returns a Gtk.TextIter for a Gtk.TreePath pointing to a heading or None.
Method select_section Select all text between two headings @param buffer: the Gtk.TextBuffer to select in @param path: the Gtk.TreePath for the heading of the section
Method set_preferences Undocumented
Class Variable __gsignals__ Undocumented
Instance Variable fontsize Undocumented
Instance Variable include_hr Undocumented
Instance Variable pageview Undocumented
Instance Variable show_h1 Undocumented
Instance Variable treeview Undocumented
Method _format 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, pageview, ellipsis, show_h1=False, include_hr=True, fontsize=0): (source)

Undocumented

def can_demote(self, paths): (source)

Undocumented

def can_promote(self, paths): (source)

Undocumented

def load_page(self, page): (source)

Undocumented

def on_demote(self, *a): (source)

Undocumented

def on_heading_activated(self, treeview, path, column): (source)

Undocumented

def on_page_changed(self, pageview, page): (source)

Undocumented

def on_populate_popup(self, treeview, menu): (source)

Undocumented

def on_promote(self, *a): (source)

Undocumented

def on_store_page(self, notebook, page): (source)

Undocumented

def select_heading(self, path): (source)
Returns a Gtk.TextIter for a Gtk.TreePath pointing to a heading or None.
def select_section(self, buffer, path): (source)
Select all text between two headings
Parameters
bufferthe Gtk.TextBuffer to select in
paththe Gtk.TreePath for the heading of the section
def set_preferences(self, show_h1, include_hr, fontsize): (source)

Undocumented

__gsignals__ = (source)

Undocumented

fontsize = (source)

Undocumented

include_hr = (source)

Undocumented

pageview = (source)

Undocumented

show_h1 = (source)

Undocumented

treeview = (source)

Undocumented

def _format(self, path, level): (source)

Undocumented