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 AppLaunchContext = AppLaunchContext (ForeignPtr AppLaunchContext)
- class GObject o => AppLaunchContextK o
- toAppLaunchContext :: AppLaunchContextK o => o -> IO AppLaunchContext
- noAppLaunchContext :: Maybe AppLaunchContext
- appLaunchContextGetDisplay :: (MonadIO m, AppLaunchContextK a, AppInfoK b, FileK c) => a -> b -> [c] -> m Text
- appLaunchContextGetEnvironment :: (MonadIO m, AppLaunchContextK a) => a -> m [Text]
- appLaunchContextGetStartupNotifyId :: (MonadIO m, AppLaunchContextK a, AppInfoK b, FileK c) => a -> b -> [c] -> m Text
- appLaunchContextLaunchFailed :: (MonadIO m, AppLaunchContextK a) => a -> Text -> m ()
- appLaunchContextNew :: MonadIO m => m AppLaunchContext
- appLaunchContextSetenv :: (MonadIO m, AppLaunchContextK a) => a -> Text -> Text -> m ()
- appLaunchContextUnsetenv :: (MonadIO m, AppLaunchContextK a) => a -> Text -> m ()
- type AppLaunchContextLaunchFailedCallback = Text -> IO ()
- type AppLaunchContextLaunchFailedCallbackC = Ptr () -> CString -> Ptr () -> IO ()
- data AppLaunchContextLaunchFailedSignalInfo
- afterAppLaunchContextLaunchFailed :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchFailedCallback -> m SignalHandlerId
- appLaunchContextLaunchFailedCallbackWrapper :: AppLaunchContextLaunchFailedCallback -> Ptr () -> CString -> Ptr () -> IO ()
- appLaunchContextLaunchFailedClosure :: AppLaunchContextLaunchFailedCallback -> IO Closure
- mkAppLaunchContextLaunchFailedCallback :: AppLaunchContextLaunchFailedCallbackC -> IO (FunPtr AppLaunchContextLaunchFailedCallbackC)
- noAppLaunchContextLaunchFailedCallback :: Maybe AppLaunchContextLaunchFailedCallback
- onAppLaunchContextLaunchFailed :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchFailedCallback -> m SignalHandlerId
- type AppLaunchContextLaunchedCallback = AppInfo -> GVariant -> IO ()
- type AppLaunchContextLaunchedCallbackC = Ptr () -> Ptr AppInfo -> Ptr GVariant -> Ptr () -> IO ()
- data AppLaunchContextLaunchedSignalInfo
- afterAppLaunchContextLaunched :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchedCallback -> m SignalHandlerId
- appLaunchContextLaunchedCallbackWrapper :: AppLaunchContextLaunchedCallback -> Ptr () -> Ptr AppInfo -> Ptr GVariant -> Ptr () -> IO ()
- appLaunchContextLaunchedClosure :: AppLaunchContextLaunchedCallback -> IO Closure
- mkAppLaunchContextLaunchedCallback :: AppLaunchContextLaunchedCallbackC -> IO (FunPtr AppLaunchContextLaunchedCallbackC)
- noAppLaunchContextLaunchedCallback :: Maybe AppLaunchContextLaunchedCallback
- onAppLaunchContextLaunched :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchedCallback -> m SignalHandlerId
Exported types
newtype AppLaunchContext Source
class GObject o => AppLaunchContextK o Source
(GObject o, IsDescendantOf AppLaunchContext o) => AppLaunchContextK o Source |
toAppLaunchContext :: AppLaunchContextK o => o -> IO AppLaunchContext Source
Methods
appLaunchContextGetDisplay
appLaunchContextGetDisplay :: (MonadIO m, AppLaunchContextK a, AppInfoK b, FileK c) => a -> b -> [c] -> m Text Source
appLaunchContextGetEnvironment
appLaunchContextGetEnvironment :: (MonadIO m, AppLaunchContextK a) => a -> m [Text] Source
appLaunchContextGetStartupNotifyId
appLaunchContextGetStartupNotifyId :: (MonadIO m, AppLaunchContextK a, AppInfoK b, FileK c) => a -> b -> [c] -> m Text Source
appLaunchContextLaunchFailed
appLaunchContextLaunchFailed :: (MonadIO m, AppLaunchContextK a) => a -> Text -> m () Source
appLaunchContextNew
appLaunchContextNew :: MonadIO m => m AppLaunchContext Source
appLaunchContextSetenv
appLaunchContextSetenv :: (MonadIO m, AppLaunchContextK a) => a -> Text -> Text -> m () Source
appLaunchContextUnsetenv
appLaunchContextUnsetenv :: (MonadIO m, AppLaunchContextK a) => a -> Text -> m () Source
Signals
LaunchFailed
type AppLaunchContextLaunchFailedCallback = Text -> IO () Source
afterAppLaunchContextLaunchFailed :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchFailedCallback -> m SignalHandlerId Source
appLaunchContextLaunchFailedCallbackWrapper :: AppLaunchContextLaunchFailedCallback -> Ptr () -> CString -> Ptr () -> IO () Source
mkAppLaunchContextLaunchFailedCallback :: AppLaunchContextLaunchFailedCallbackC -> IO (FunPtr AppLaunchContextLaunchFailedCallbackC) Source
onAppLaunchContextLaunchFailed :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchFailedCallback -> m SignalHandlerId Source
Launched
type AppLaunchContextLaunchedCallback = AppInfo -> GVariant -> IO () Source
type AppLaunchContextLaunchedCallbackC = Ptr () -> Ptr AppInfo -> Ptr GVariant -> Ptr () -> IO () Source
afterAppLaunchContextLaunched :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchedCallback -> m SignalHandlerId Source
appLaunchContextLaunchedCallbackWrapper :: AppLaunchContextLaunchedCallback -> Ptr () -> Ptr AppInfo -> Ptr GVariant -> Ptr () -> IO () Source
mkAppLaunchContextLaunchedCallback :: AppLaunchContextLaunchedCallbackC -> IO (FunPtr AppLaunchContextLaunchedCallbackC) Source
onAppLaunchContextLaunched :: (GObject a, MonadIO m) => a -> AppLaunchContextLaunchedCallback -> m SignalHandlerId Source