Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype AppChooser = AppChooser (ForeignPtr AppChooser)
- noAppChooser :: Maybe AppChooser
- class GObject o => AppChooserK o
- toAppChooser :: AppChooserK o => o -> IO AppChooser
- appChooserGetAppInfo :: (MonadIO m, AppChooserK a) => a -> m AppInfo
- appChooserGetContentType :: (MonadIO m, AppChooserK a) => a -> m Text
- appChooserRefresh :: (MonadIO m, AppChooserK a) => a -> m ()
- data AppChooserContentTypePropertyInfo
- constructAppChooserContentType :: Text -> IO ([Char], GValue)
- getAppChooserContentType :: (MonadIO m, AppChooserK o) => o -> m Text
Exported types
newtype AppChooser Source
class GObject o => AppChooserK o Source
(GObject o, IsDescendantOf AppChooser o) => AppChooserK o Source |
toAppChooser :: AppChooserK o => o -> IO AppChooser Source
Methods
appChooserGetAppInfo
appChooserGetAppInfo :: (MonadIO m, AppChooserK a) => a -> m AppInfo Source
appChooserGetContentType
appChooserGetContentType :: (MonadIO m, AppChooserK a) => a -> m Text Source
appChooserRefresh
appChooserRefresh :: (MonadIO m, AppChooserK a) => a -> m () Source
Properties
ContentType
data AppChooserContentTypePropertyInfo Source
AttrInfo AppChooserContentTypePropertyInfo Source | |
type AttrLabel AppChooserContentTypePropertyInfo = "AppChooser::content-type" Source | |
type AttrGetType AppChooserContentTypePropertyInfo = Text Source | |
type AttrBaseTypeConstraint AppChooserContentTypePropertyInfo = AppChooserK Source | |
type AttrSetTypeConstraint AppChooserContentTypePropertyInfo = * ~ Text Source | |
type AttrAllowedOps AppChooserContentTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getAppChooserContentType :: (MonadIO m, AppChooserK o) => o -> m Text Source