| 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 |
GI.Gtk.Interfaces.AppChooser
Contents
Description
- 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
Constructors
| AppChooser (ForeignPtr AppChooser) |
Instances
| 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
Instances
| (GObject o, IsDescendantOf AppChooser o) => AppChooserK o |
toAppChooser :: AppChooserK o => o -> IO AppChooser Source
Methods
appChooserGetAppInfo
data AppChooserGetAppInfoMethodInfo Source
Instances
| ((~) * signature (m AppInfo), MonadIO m, AppChooserK a) => MethodInfo * AppChooserGetAppInfoMethodInfo a signature |
appChooserGetAppInfo :: (MonadIO m, AppChooserK a) => a -> m AppInfo Source
appChooserGetContentType
data AppChooserGetContentTypeMethodInfo Source
Instances
| ((~) * signature (m Text), MonadIO m, AppChooserK a) => MethodInfo * AppChooserGetContentTypeMethodInfo a signature |
appChooserGetContentType :: (MonadIO m, AppChooserK a) => a -> m Text Source
appChooserRefresh
data AppChooserRefreshMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, AppChooserK a) => MethodInfo * AppChooserRefreshMethodInfo a signature |
appChooserRefresh :: (MonadIO m, AppChooserK a) => a -> m () Source
Properties
ContentType
data AppChooserContentTypePropertyInfo Source
Instances
| 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