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
- appLaunchContextNew :: MonadIO m => m AppLaunchContext
- appLaunchContextSetDesktop :: (MonadIO m, AppLaunchContextK a) => a -> Int32 -> m ()
- appLaunchContextSetDisplay :: (MonadIO m, AppLaunchContextK a, DisplayK b) => a -> b -> m ()
- appLaunchContextSetIcon :: (MonadIO m, AppLaunchContextK a, IconK b) => a -> Maybe b -> m ()
- appLaunchContextSetIconName :: (MonadIO m, AppLaunchContextK a) => a -> Maybe Text -> m ()
- appLaunchContextSetScreen :: (MonadIO m, AppLaunchContextK a, ScreenK b) => a -> b -> m ()
- appLaunchContextSetTimestamp :: (MonadIO m, AppLaunchContextK a) => a -> Word32 -> m ()
- data AppLaunchContextDisplayPropertyInfo
- constructAppLaunchContextDisplay :: DisplayK a => a -> IO ([Char], GValue)
- getAppLaunchContextDisplay :: (MonadIO m, AppLaunchContextK o) => o -> m Display
Exported types
newtype AppLaunchContext Source
class GObject o => AppLaunchContextK o Source
(GObject o, IsDescendantOf AppLaunchContext o) => AppLaunchContextK o |
toAppLaunchContext :: AppLaunchContextK o => o -> IO AppLaunchContext Source
Methods
appLaunchContextNew
appLaunchContextNew :: MonadIO m => m AppLaunchContext Source
Deprecated: (Since version 3.0)Use gdk_display_get_app_launch_context() instead
appLaunchContextSetDesktop
appLaunchContextSetDesktop :: (MonadIO m, AppLaunchContextK a) => a -> Int32 -> m () Source
appLaunchContextSetDisplay
appLaunchContextSetDisplay :: (MonadIO m, AppLaunchContextK a, DisplayK b) => a -> b -> m () Source
Deprecated: (Since version 3.0)Use gdk_display_get_app_launch_context() instead
appLaunchContextSetIcon
appLaunchContextSetIcon :: (MonadIO m, AppLaunchContextK a, IconK b) => a -> Maybe b -> m () Source
appLaunchContextSetIconName
appLaunchContextSetIconName :: (MonadIO m, AppLaunchContextK a) => a -> Maybe Text -> m () Source
appLaunchContextSetScreen
appLaunchContextSetScreen :: (MonadIO m, AppLaunchContextK a, ScreenK b) => a -> b -> m () Source
appLaunchContextSetTimestamp
appLaunchContextSetTimestamp :: (MonadIO m, AppLaunchContextK a) => a -> Word32 -> m () Source
Properties
Display
data AppLaunchContextDisplayPropertyInfo Source
AttrInfo AppLaunchContextDisplayPropertyInfo | |
type AttrLabel AppLaunchContextDisplayPropertyInfo = "AppLaunchContext::display" | |
type AttrGetType AppLaunchContextDisplayPropertyInfo = Display | |
type AttrBaseTypeConstraint AppLaunchContextDisplayPropertyInfo = AppLaunchContextK | |
type AttrSetTypeConstraint AppLaunchContextDisplayPropertyInfo = DisplayK | |
type AttrAllowedOps AppLaunchContextDisplayPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getAppLaunchContextDisplay :: (MonadIO m, AppLaunchContextK o) => o -> m Display Source