gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Objects.Application

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Application Source #

Memory-managed wrapper type.

Constructors

Application (ManagedPtr Application) 

Instances

Instances details
Eq Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

GObject Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

ManagedPtrNewtype Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

Methods

toManagedPtr :: Application -> ManagedPtr Application

TypedObject Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

Methods

glibType :: IO GType

HasParentTypes Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

IsGValue (Maybe Application) Source #

Convert Application to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Dazzle.Objects.Application

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Application -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Application)

type ParentTypes Application Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

type ParentTypes Application = '[Application, Application, Object, ActionGroup, ActionMap]

class (GObject o, IsDescendantOf Application o) => IsApplication o Source #

Type class for types which can be safely cast to Application, for instance with toApplication.

Instances

Instances details
(GObject o, IsDescendantOf Application o) => IsApplication o Source # 
Instance details

Defined in GI.Dazzle.Objects.Application

toApplication :: (MonadIO m, IsApplication o) => o -> m Application Source #

Cast to Application, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

actionAdded, actionEnabledChanged, actionRemoved, actionStateChanged, activate, activateAction, addAccelerator, addAction, addActionEntries, addMainOption, addMainOptionEntries, addOptionGroup, addResources, addWindow, bindBusyProperty, bindProperty, bindPropertyFull, changeActionState, forceFloating, freezeNotify, getv, hasAction, hold, inhibit, isFloating, isInhibited, listActionDescriptions, listActions, lookupAction, markBusy, notify, notifyByPspec, open, prefersAppMenu, queryAction, quit, ref, refSink, register, release, removeAccelerator, removeAction, removeActionEntries, removeResources, removeWindow, run, runDispose, sendNotification, stealData, stealQdata, thawNotify, unbindBusyProperty, uninhibit, unmarkBusy, unref, watchClosure, withdrawNotification.

Getters

getAccelsForAction, getActionEnabled, getActionParameterType, getActionState, getActionStateHint, getActionStateType, getActionsForAccel, getActiveWindow, getAppMenu, getApplicationId, getData, getDbusConnection, getDbusObjectPath, getFlags, getInactivityTimeout, getIsBusy, getIsRegistered, getIsRemote, getMenuById, getMenuManager, getMenubar, getProperty, getQdata, getResourceBasePath, getShortcutManager, getThemeManager, getVersion, getWindowById, getWindows.

Setters

setAccelsForAction, setActionGroup, setAppMenu, setApplicationId, setData, setDataFull, setDefault, setFlags, setInactivityTimeout, setMenubar, setOptionContextDescription, setOptionContextParameterString, setOptionContextSummary, setProperty, setResourceBasePath, setVersion.

addResources

applicationAddResources Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> Text

resourcePath: the location of the resources.

-> m () 

This adds resourcePath to the list of "automatic resources".

If resourcePath starts with "resource://", then the corresponding GResources path will be searched for resources. Otherwise, resourcePath should be a path to a location on disk.

The Application will locate resources such as CSS themes, icons, and keyboard shortcuts using resourcePath.

getMenuById

applicationGetMenuById Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> Text

menuId: the id of the menu to locate

-> m Menu

Returns: A Menu

Similar to applicationGetMenuById but takes into account menu merging which could have occurred upon loading plugins.

getMenuManager

applicationGetMenuManager Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> m MenuManager

Returns: A MenuManager

Gets the menu manager for the application.

getShortcutManager

applicationGetShortcutManager Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> m ShortcutManager

Returns: A ShortcutManager

Gets the ShortcutManager for the application.

getThemeManager

applicationGetThemeManager Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> m ThemeManager

Returns: A ThemeManager

Get the theme manager for the application.

new

applicationNew :: (HasCallStack, MonadIO m) => Text -> [ApplicationFlags] -> m Application Source #

No description available in the introspection data.

removeResources

applicationRemoveResources Source #

Arguments

:: (HasCallStack, MonadIO m, IsApplication a) 
=> a

self: a Application

-> Text

resourcePath: the location of the resources.

-> m () 

This attempts to undo as many side-effects as possible from a call to applicationAddResources.

Properties

menuManager

No description available in the introspection data.

getApplicationMenuManager :: (MonadIO m, IsApplication o) => o -> m MenuManager Source #

Get the value of the “menu-manager” property. When overloading is enabled, this is equivalent to

get application #menuManager

shortcutManager

No description available in the introspection data.

getApplicationShortcutManager :: (MonadIO m, IsApplication o) => o -> m ShortcutManager Source #

Get the value of the “shortcut-manager” property. When overloading is enabled, this is equivalent to

get application #shortcutManager

themeManager

No description available in the introspection data.

getApplicationThemeManager :: (MonadIO m, IsApplication o) => o -> m ThemeManager Source #

Get the value of the “theme-manager” property. When overloading is enabled, this is equivalent to

get application #themeManager