def __init__(self, reader): self.reader = reader self.plugin_attrs = {} cmds = {"fetch": (self.cmd_fetch_link, ["link-list"], "Fetch link")} register_commands(reader, cmds) reader.bind("f", "fetch")
def __init__(self, taglist): self.taglist = taglist self.plugin_attrs = {} cmds = {"fetch": (self.cmd_fetch_link, ["item-list"], "Fetch link")} register_commands(taglist, cmds) taglist.bind("f", "fetch")
def __init__(self, taglist): self.plugin_attrs = {} cmds = { "yank-link" : (self.cmd_yank_link, ["item-list"], "Yank link"), "yank-title" : (self.cmd_yank_title, ["item-list"], "Yank title"), } register_commands(taglist, cmds) taglist.bind('y', 'yank-link') taglist.bind('Y', 'yank-title')
def __init__(self, taglist): self.plugin_attrs = {} cmds = { "favorite" : (self.cmd_favorite, ["item-list"], "Favorite items."), } register_commands(taglist, cmds) self.taglist = taglist taglist.bind('*', 'favorite')
def __init__(self, reader): self.reader = reader self.plugin_attrs = {} cmds = { "fetch" : (self.cmd_fetch_link, ["link-list"], "Fetch link"), } register_commands(reader, cmds) reader.bind('f', 'fetch')
def __init__(self, taglist): self.taglist = taglist self.plugin_attrs = {} cmds = { "fetch" : (self.cmd_fetch_link, ["item-list"], "Fetch link"), } register_commands(taglist, cmds) taglist.bind('f', 'fetch')
def __init__(self, taglist): self.plugin_attrs = {} cmds = { "yank-link": (self.cmd_yank_link, ["item-list"], "Yank link"), "yank-title": (self.cmd_yank_title, ["item-list"], "Yank title"), } register_commands(taglist, cmds) taglist.bind('y', 'yank-link') taglist.bind('Y', 'yank-title')