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
- data AppChooserGetAppInfoMethodInfo
- appChooserGetAppInfo :: (MonadIO m, AppChooserK a) => a -> m AppInfo
- data AppChooserGetContentTypeMethodInfo
- appChooserGetContentType :: (MonadIO m, AppChooserK a) => a -> m Text
- data AppChooserRefreshMethodInfo
- appChooserRefresh :: (MonadIO m, AppChooserK a) => a -> m ()
- data AppChooserContentTypePropertyInfo
- appChooserContentType :: AttrLabelProxy "contentType"
- constructAppChooserContentType :: Text -> IO ([Char], GValue)
- getAppChooserContentType :: (MonadIO m, AppChooserK o) => o -> m (Maybe Text)
Exported types
newtype AppChooser Source
GObject AppChooser | |
((~) * info (ResolveAppChooserMethod t AppChooser), MethodInfo * info AppChooser p) => IsLabelProxy t (AppChooser -> p) | |
type ParentTypes AppChooser | |
type AttributeList AppChooser | |
type SignalList AppChooser |
class GObject o => AppChooserK o Source
(GObject o, IsDescendantOf AppChooser o) => AppChooserK o |
toAppChooser :: AppChooserK o => o -> IO AppChooser Source
Methods
appChooserGetAppInfo
data AppChooserGetAppInfoMethodInfo Source
((~) * signature (m AppInfo), MonadIO m, AppChooserK a) => MethodInfo * AppChooserGetAppInfoMethodInfo a signature |
appChooserGetAppInfo :: (MonadIO m, AppChooserK a) => a -> m AppInfo Source
appChooserGetContentType
data AppChooserGetContentTypeMethodInfo Source
((~) * signature (m Text), MonadIO m, AppChooserK a) => MethodInfo * AppChooserGetContentTypeMethodInfo a signature |
appChooserGetContentType :: (MonadIO m, AppChooserK a) => a -> m Text Source
appChooserRefresh
data AppChooserRefreshMethodInfo Source
((~) * signature (m ()), MonadIO m, AppChooserK a) => MethodInfo * AppChooserRefreshMethodInfo a signature |
appChooserRefresh :: (MonadIO m, AppChooserK a) => a -> m () Source
Properties
ContentType
data AppChooserContentTypePropertyInfo Source
AttrInfo AppChooserContentTypePropertyInfo | |
type AttrLabel AppChooserContentTypePropertyInfo = "content-type" | |
type AttrGetType AppChooserContentTypePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint AppChooserContentTypePropertyInfo = AppChooserK | |
type AttrSetTypeConstraint AppChooserContentTypePropertyInfo = * ~ Text | |
type AttrAllowedOps AppChooserContentTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
appChooserContentType :: AttrLabelProxy "contentType" Source
getAppChooserContentType :: (MonadIO m, AppChooserK o) => o -> m (Maybe Text) Source