Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | None |
A StockItem is a resource that is know throughout Gtk.
- data StockItem = StockItem {
- siStockId :: StockId
- siLabel :: String
- siModifier :: [Modifier]
- siKeyval :: KeyVal
- siTransDom :: String
- type StockId = String
- stockAddItem :: [StockItem] -> IO ()
- stockLookupItem :: StockId -> IO (Maybe StockItem)
- stockListIds :: IO [StockId]
- stockAbout :: StockId
- stockAdd :: StockId
- stockApply :: StockId
- stockBold :: StockId
- stockCancel :: StockId
- stockCapsLockWarning :: StockId
- stockCDROM :: StockId
- stockClear :: StockId
- stockClose :: StockId
- stockColorPicker :: StockId
- stockConvert :: StockId
- stockConnect :: StockId
- stockCopy :: StockId
- stockCut :: StockId
- stockDelete :: StockId
- stockDialogAuthentication :: StockId
- stockDialogError :: StockId
- stockDialogInfo :: StockId
- stockDialogQuestion :: StockId
- stockDialogWarning :: StockId
- stockDirectory :: StockId
- stockDiscard :: StockId
- stockDisconnect :: StockId
- stockDnd :: StockId
- stockDndMultiple :: StockId
- stockEdit :: StockId
- stockExecute :: StockId
- stockFile :: StockId
- stockFind :: StockId
- stockFindAndRelpace :: StockId
- stockFloppy :: StockId
- stockFullscreen :: StockId
- stockGotoBottom :: StockId
- stockGotoFirst :: StockId
- stockGotoLast :: StockId
- stockGotoTop :: StockId
- stockGoBack :: StockId
- stockGoDown :: StockId
- stockGoForward :: StockId
- stockGoUp :: StockId
- stockHarddisk :: StockId
- stockHelp :: StockId
- stockHome :: StockId
- stockIndent :: StockId
- stockIndex :: StockId
- stockInfo :: StockId
- stockItalic :: StockId
- stockJumpTo :: StockId
- stockJustifyCenter :: StockId
- stockJustifyFill :: StockId
- stockJustifyLeft :: StockId
- stockJustifyRight :: StockId
- stockLeaveFullscreen :: StockId
- stockMediaForward :: StockId
- stockMediaNext :: StockId
- stockMediaPause :: StockId
- stockMediaPlay :: StockId
- stockMediaPrevious :: StockId
- stockMediaRecord :: StockId
- stockMediaRewind :: StockId
- stockMediaStop :: StockId
- stockMissingImage :: StockId
- stockNetwork :: StockId
- stockNew :: StockId
- stockNo :: StockId
- stockOk :: StockId
- stockOpen :: StockId
- stockOrientationLandscape :: StockId
- stockOrientationReverseLandscape :: StockId
- stockOrientationPortrait :: StockId
- stockOrientationReversePortrait :: StockId
- stockPageSetup :: StockId
- stockPaste :: StockId
- stockPreferences :: StockId
- stockPrint :: StockId
- stockPrintError :: StockId
- stockPrintPaused :: StockId
- stockPrintReport :: StockId
- stockPrintWarning :: StockId
- stockPrintPreview :: StockId
- stockProperties :: StockId
- stockQuit :: StockId
- stockRedo :: StockId
- stockRefresh :: StockId
- stockRemove :: StockId
- stockRevertToSaved :: StockId
- stockSave :: StockId
- stockSaveAs :: StockId
- stockSelectAll :: StockId
- stockSelectColor :: StockId
- stockSelectFont :: StockId
- stockSortAscending :: StockId
- stockSortDescending :: StockId
- stockSpellCheck :: StockId
- stockStop :: StockId
- stockStrikethrough :: StockId
- stockUndelete :: StockId
- stockUnderline :: StockId
- stockUndo :: StockId
- stockUnindent :: StockId
- stockYes :: StockId
- stockZoom100 :: StockId
- stockZoomFit :: StockId
- stockZoomIn :: StockId
- stockZoomOut :: StockId
Documentation
The description of a stock item.
stockAddItem :: [StockItem] -> IO ()Source
Add new stock items to Gtk.
stockListIds :: IO [StockId]Source
Produce a list of all known stock identifiers.
- Retrieve a list of all known stock identifiers. These can either be
added by
stockAddItem
or by adding items to aIconFactory
. - The list is sorted alphabetically (sorting is not Unicode aware).