Exemplo n.º 1
0
 def _createTags(self, parent, row, col, padx, pady):
     Label(parent, text="Tags: ").grid(row=row,
                                       column=col,
                                       sticky='nw',
                                       padx=padx,
                                       pady=pady)
     col += 1
     tags = TextEntry(parent)
     tags.grid(row=row, column=col, sticky='nwe', padx=padx, pady=pady)
     tags.bind('<Control-s>', self._onCtrlS)
     ToolTip(tags, "Enter as many comma-separated tags as you want")
     return tags
Exemplo n.º 2
0
 def _createTitle(self, parent, row, col, padx, pady) -> TextEntry:
     Label(parent, text="Caption: ").grid(row=row,
                                          column=col,
                                          sticky='nw',
                                          padx=padx,
                                          pady=pady)
     col += 1
     title = TextEntry(parent)
     title.grid(row=row, column=col, sticky='nwe', padx=padx, pady=pady)
     title.bind('<Control-s>', self._onCtrlS)
     ToolTip(title,
             "This caption will be used to display this note in the tree")
     return title