Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
addPlugins :: MyGUI -> MyView -> IO () Source #
Usually, you don't want to overwrite this method. It
adds plugins from myplugins
and initializes the callbacks
automatically.
myplugins :: [(IO MenuItem, [Item] -> MyGUI -> MyView -> IO ())] Source #
A list of plugins to add to the right-click menu at position
insertPos
. The left part of the tuple is the menuitem, the right
part the callback.
Plugins are added in order of this list.
diffPlugin :: IO MenuItem Source #