| 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
- 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
Constructors
| AppChooser (ForeignPtr AppChooser) |
Instances
| GObject AppChooser | |
| 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
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
Instances
| AttrInfo AppChooserContentTypePropertyInfo | |
| type AttrLabel AppChooserContentTypePropertyInfo = "AppChooser::content-type" | |
| type AttrGetType AppChooserContentTypePropertyInfo = Text | |
| type AttrBaseTypeConstraint AppChooserContentTypePropertyInfo = AppChooserK | |
| type AttrSetTypeConstraint AppChooserContentTypePropertyInfo = * ~ Text | |
| type AttrAllowedOps AppChooserContentTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getAppChooserContentType :: (MonadIO m, AppChooserK o) => o -> m Text Source