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 |
- Exported types
- Methods
- applicationCommandLineCreateFileForArg
- applicationCommandLineGetArguments
- applicationCommandLineGetCwd
- applicationCommandLineGetEnviron
- applicationCommandLineGetExitStatus
- applicationCommandLineGetIsRemote
- applicationCommandLineGetOptionsDict
- applicationCommandLineGetPlatformData
- applicationCommandLineGetStdin
- applicationCommandLineGetenv
- applicationCommandLineSetExitStatus
- Properties
- newtype ApplicationCommandLine = ApplicationCommandLine (ForeignPtr ApplicationCommandLine)
- class GObject o => ApplicationCommandLineK o
- toApplicationCommandLine :: ApplicationCommandLineK o => o -> IO ApplicationCommandLine
- noApplicationCommandLine :: Maybe ApplicationCommandLine
- applicationCommandLineCreateFileForArg :: (MonadIO m, ApplicationCommandLineK a) => a -> Text -> m File
- applicationCommandLineGetArguments :: (MonadIO m, ApplicationCommandLineK a) => a -> m [Text]
- applicationCommandLineGetCwd :: (MonadIO m, ApplicationCommandLineK a) => a -> m Text
- applicationCommandLineGetEnviron :: (MonadIO m, ApplicationCommandLineK a) => a -> m [Text]
- applicationCommandLineGetExitStatus :: (MonadIO m, ApplicationCommandLineK a) => a -> m Int32
- applicationCommandLineGetIsRemote :: (MonadIO m, ApplicationCommandLineK a) => a -> m Bool
- applicationCommandLineGetOptionsDict :: (MonadIO m, ApplicationCommandLineK a) => a -> m VariantDict
- applicationCommandLineGetPlatformData :: (MonadIO m, ApplicationCommandLineK a) => a -> m GVariant
- applicationCommandLineGetStdin :: (MonadIO m, ApplicationCommandLineK a) => a -> m InputStream
- applicationCommandLineGetenv :: (MonadIO m, ApplicationCommandLineK a) => a -> Text -> m Text
- applicationCommandLineSetExitStatus :: (MonadIO m, ApplicationCommandLineK a) => a -> Int32 -> m ()
- data ApplicationCommandLineArgumentsPropertyInfo
- constructApplicationCommandLineArguments :: GVariant -> IO ([Char], GValue)
- data ApplicationCommandLineIsRemotePropertyInfo
- getApplicationCommandLineIsRemote :: (MonadIO m, ApplicationCommandLineK o) => o -> m Bool
- data ApplicationCommandLineOptionsPropertyInfo
- constructApplicationCommandLineOptions :: GVariant -> IO ([Char], GValue)
- data ApplicationCommandLinePlatformDataPropertyInfo
- constructApplicationCommandLinePlatformData :: GVariant -> IO ([Char], GValue)
Exported types
newtype ApplicationCommandLine Source
class GObject o => ApplicationCommandLineK o Source
Methods
applicationCommandLineCreateFileForArg
applicationCommandLineCreateFileForArg :: (MonadIO m, ApplicationCommandLineK a) => a -> Text -> m File Source
applicationCommandLineGetArguments
applicationCommandLineGetArguments :: (MonadIO m, ApplicationCommandLineK a) => a -> m [Text] Source
applicationCommandLineGetCwd
applicationCommandLineGetCwd :: (MonadIO m, ApplicationCommandLineK a) => a -> m Text Source
applicationCommandLineGetEnviron
applicationCommandLineGetEnviron :: (MonadIO m, ApplicationCommandLineK a) => a -> m [Text] Source
applicationCommandLineGetExitStatus
applicationCommandLineGetExitStatus :: (MonadIO m, ApplicationCommandLineK a) => a -> m Int32 Source
applicationCommandLineGetIsRemote
applicationCommandLineGetIsRemote :: (MonadIO m, ApplicationCommandLineK a) => a -> m Bool Source
applicationCommandLineGetOptionsDict
applicationCommandLineGetOptionsDict :: (MonadIO m, ApplicationCommandLineK a) => a -> m VariantDict Source
applicationCommandLineGetPlatformData
applicationCommandLineGetPlatformData :: (MonadIO m, ApplicationCommandLineK a) => a -> m GVariant Source
applicationCommandLineGetStdin
applicationCommandLineGetStdin :: (MonadIO m, ApplicationCommandLineK a) => a -> m InputStream Source
applicationCommandLineGetenv
applicationCommandLineGetenv :: (MonadIO m, ApplicationCommandLineK a) => a -> Text -> m Text Source
applicationCommandLineSetExitStatus
applicationCommandLineSetExitStatus :: (MonadIO m, ApplicationCommandLineK a) => a -> Int32 -> m () Source
Properties
Arguments
data ApplicationCommandLineArgumentsPropertyInfo Source
AttrInfo ApplicationCommandLineArgumentsPropertyInfo | |
type AttrLabel ApplicationCommandLineArgumentsPropertyInfo = "ApplicationCommandLine::arguments" | |
type AttrGetType ApplicationCommandLineArgumentsPropertyInfo = () | |
type AttrBaseTypeConstraint ApplicationCommandLineArgumentsPropertyInfo = ApplicationCommandLineK | |
type AttrSetTypeConstraint ApplicationCommandLineArgumentsPropertyInfo = * ~ GVariant | |
type AttrAllowedOps ApplicationCommandLineArgumentsPropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) |
IsRemote
data ApplicationCommandLineIsRemotePropertyInfo Source
AttrInfo ApplicationCommandLineIsRemotePropertyInfo | |
type AttrLabel ApplicationCommandLineIsRemotePropertyInfo = "ApplicationCommandLine::is-remote" | |
type AttrGetType ApplicationCommandLineIsRemotePropertyInfo = Bool | |
type AttrBaseTypeConstraint ApplicationCommandLineIsRemotePropertyInfo = ApplicationCommandLineK | |
type AttrSetTypeConstraint ApplicationCommandLineIsRemotePropertyInfo = * ~ () | |
type AttrAllowedOps ApplicationCommandLineIsRemotePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getApplicationCommandLineIsRemote :: (MonadIO m, ApplicationCommandLineK o) => o -> m Bool Source
Options
data ApplicationCommandLineOptionsPropertyInfo Source
AttrInfo ApplicationCommandLineOptionsPropertyInfo | |
type AttrLabel ApplicationCommandLineOptionsPropertyInfo = "ApplicationCommandLine::options" | |
type AttrGetType ApplicationCommandLineOptionsPropertyInfo = () | |
type AttrBaseTypeConstraint ApplicationCommandLineOptionsPropertyInfo = ApplicationCommandLineK | |
type AttrSetTypeConstraint ApplicationCommandLineOptionsPropertyInfo = * ~ GVariant | |
type AttrAllowedOps ApplicationCommandLineOptionsPropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) |
PlatformData
data ApplicationCommandLinePlatformDataPropertyInfo Source
AttrInfo ApplicationCommandLinePlatformDataPropertyInfo | |
type AttrLabel ApplicationCommandLinePlatformDataPropertyInfo = "ApplicationCommandLine::platform-data" | |
type AttrGetType ApplicationCommandLinePlatformDataPropertyInfo = () | |
type AttrBaseTypeConstraint ApplicationCommandLinePlatformDataPropertyInfo = ApplicationCommandLineK | |
type AttrSetTypeConstraint ApplicationCommandLinePlatformDataPropertyInfo = * ~ GVariant | |
type AttrAllowedOps ApplicationCommandLinePlatformDataPropertyInfo = (:) AttrOpTag AttrConstruct ([] AttrOpTag) |