hsfm-gtk

Safe HaskellNone
LanguageHaskell2010

HSFM.GUI.Gtk.Plugins

Synopsis

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.

insertPos :: Int Source

Where to start inserting plugins.

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