| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Termonad.Gtk
Synopsis
- objFromBuildUnsafe :: GObject o => Builder -> Text -> (ManagedPtr o -> o) -> IO o
- appNew :: (HasCallStack, MonadIO m, MonadFail m) => Maybe Text -> [ApplicationFlags] -> m Application
- widgetEq :: (MonadIO m, IsWidget a, IsWidget b) => a -> b -> m Bool
Documentation
objFromBuildUnsafe :: GObject o => Builder -> Text -> (ManagedPtr o -> o) -> IO o Source #
Arguments
| :: (HasCallStack, MonadIO m, MonadFail m) | |
| => Maybe Text | The application name. Must have a period in it if specified. If passed
as |
| -> [ApplicationFlags] | |
| -> m Application |
Unsafely creates a new Application. This calls fail if it cannot
create the Application for some reason.
This can fail for different reasons, one of which being that application name does not have a period in it.