pycrossword
0.3
Pure-Python implementation of a crossword puzzle generator and editor
|
Context menu for crossword grid: contains core actions for ease of use. More...
Public Member Functions | |
def | __init__ (self, mainwindow, on_triggered=None, parent=None) |
Constructor. More... | |
def | initActions (self) |
Adds actions to context menu. More... | |
Public Attributes | |
mainwindow | |
Context menu for crossword grid: contains core actions for ease of use.
def pycross.forms.CrosswordMenu.__init__ | ( | self, | |
mainwindow, | |||
on_triggered = None , |
|||
parent = None |
|||
) |
Constructor.
mainwindow | QtWidgets.QMainWindow pointer to gui::MainWindow instance |
on_triggered | callable callback for the triggered signal (when an action is triggered) |
parent | QtWidgets.QWidget parent widget (default = None , i.e. no parent) |
def pycross.forms.CrosswordMenu.initActions | ( | self | ) |
Adds actions to context menu.
pycross.forms.CrosswordMenu.mainwindow |