Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Dazzle.Objects.ApplicationWindow
Description
No description available in the introspection data.
Synopsis
- newtype ApplicationWindow = ApplicationWindow (ManagedPtr ApplicationWindow)
- class (GObject o, IsDescendantOf ApplicationWindow o) => IsApplicationWindow o
- toApplicationWindow :: (MonadIO m, IsApplicationWindow o) => o -> m ApplicationWindow
- applicationWindowGetFullscreen :: (HasCallStack, MonadIO m, IsApplicationWindow a) => a -> m Bool
- applicationWindowGetTitlebar :: (HasCallStack, MonadIO m, IsApplicationWindow a) => a -> m Widget
- applicationWindowGetTitlebarAnimation :: (HasCallStack, MonadIO m, IsApplicationWindow a) => a -> m TitlebarAnimation
- applicationWindowSetFullscreen :: (HasCallStack, MonadIO m, IsApplicationWindow a) => a -> Bool -> m ()
- applicationWindowSetTitlebar :: (HasCallStack, MonadIO m, IsApplicationWindow a, IsWidget b) => a -> b -> m ()
- constructApplicationWindowFullscreen :: (IsApplicationWindow o, MonadIO m) => Bool -> m (GValueConstruct o)
- getApplicationWindowFullscreen :: (MonadIO m, IsApplicationWindow o) => o -> m Bool
- setApplicationWindowFullscreen :: (MonadIO m, IsApplicationWindow o) => o -> Bool -> m ()
- getApplicationWindowTitlebarAnimation :: (MonadIO m, IsApplicationWindow o) => o -> m TitlebarAnimation
Exported types
newtype ApplicationWindow Source #
Memory-managed wrapper type.
Constructors
ApplicationWindow (ManagedPtr ApplicationWindow) |
Instances
class (GObject o, IsDescendantOf ApplicationWindow o) => IsApplicationWindow o Source #
Type class for types which can be safely cast to ApplicationWindow
, for instance with toApplicationWindow
.
Instances
(GObject o, IsDescendantOf ApplicationWindow o) => IsApplicationWindow o Source # | |
Defined in GI.Dazzle.Objects.ApplicationWindow |
toApplicationWindow :: (MonadIO m, IsApplicationWindow o) => o -> m ApplicationWindow Source #
Cast to ApplicationWindow
, 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
Methods
actionAdded, actionEnabledChanged, actionRemoved, actionStateChanged, activate, activateAction, activateDefault, activateFocus, activateKey, add, addAccelGroup, addAccelerator, addAction, addActionEntries, addChild, addDeviceEvents, addEvents, addMnemonic, addMnemonicLabel, addTickCallback, beginMoveDrag, beginResizeDrag, bindProperty, bindPropertyFull, canActivateAccel, changeActionState, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, close, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, deiconify, destroy, destroyed, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, fullscreen, fullscreenOnMonitor, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasAction, hasDefault, hasFocus, hasGrab, hasGroup, hasRcStyle, hasScreen, hasToplevelFocus, hasVisibleFocus, hide, hideOnDelete, iconify, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isActive, isAncestor, isComposited, isDrawable, isFloating, isFocus, isMaximized, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listActions, listMnemonicLabels, lookupAction, map, maximize, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, move, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parseGeometry, parserFinished, path, present, presentWithTime, propagateDraw, propagateKeyEvent, queryAction, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelGroup, removeAccelerator, removeAction, removeActionEntries, removeMnemonic, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, reshowWithInitialSize, resize, resizeChildren, resizeGripIsVisible, resizeToGeometry, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, stick, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unfullscreen, unmap, unmaximize, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, unstick, watchClosure.
Getters
getAcceptFocus, getAccessible, getActionEnabled, getActionGroup, getActionParameterType, getActionState, getActionStateHint, getActionStateType, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getApplication, getAttachedTo, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocus, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusOnMap, getFocusVadjustment, getFocusVisible, getFontMap, getFontOptions, getFrameClock, getFullscreen, getGravity, getGroup, getHalign, getHasResizeGrip, getHasTooltip, getHasWindow, getHelpOverlay, getHexpand, getHexpandSet, getHideTitlebarWhenMaximized, getIcon, getIconList, getIconName, getId, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMnemonicModifier, getMnemonicsVisible, getModal, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPosition, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizable, getResizeGripArea, getResizeMode, getRole, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getShowMenubar, getSize, getSizeRequest, getSkipPagerHint, getSkipTaskbarHint, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTitle, getTitlebar, getTitlebarAnimation, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTransientFor, getTypeHint, getUrgencyHint, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow, getWindowType.
Setters
setAccelPath, setAcceptFocus, setAllocation, setAppPaintable, setApplication, setAttachedTo, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDecorated, setDefault, setDefaultGeometry, setDefaultSize, setDeletable, setDestroyWithParent, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocus, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusOnMap, setFocusVadjustment, setFocusVisible, setFontMap, setFontOptions, setFullscreen, setGeometryHints, setGravity, setHalign, setHasResizeGrip, setHasTooltip, setHasUserRefCount, setHasWindow, setHelpOverlay, setHexpand, setHexpandSet, setHideTitlebarWhenMaximized, setIcon, setIconFromFile, setIconList, setIconName, setKeepAbove, setKeepBelow, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMnemonicModifier, setMnemonicsVisible, setModal, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setPosition, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizable, setResizeMode, setRole, setScreen, setSensitive, setShowMenubar, setSizeRequest, setSkipPagerHint, setSkipTaskbarHint, setStartupId, setState, setStateFlags, setStyle, setSupportMultidevice, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransientFor, setTypeHint, setUrgencyHint, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow, setWmclass.
getFullscreen
applicationWindowGetFullscreen Source #
Arguments
:: (HasCallStack, MonadIO m, IsApplicationWindow a) | |
=> a |
|
-> m Bool |
Gets if the window is in the fullscreen state.
Since: 3.26
getTitlebar
applicationWindowGetTitlebar Source #
Arguments
:: (HasCallStack, MonadIO m, IsApplicationWindow a) | |
=> a |
|
-> m Widget |
Gets the titlebar for the window, if there is one.
Since: 3.26
getTitlebarAnimation
applicationWindowGetTitlebarAnimation :: (HasCallStack, MonadIO m, IsApplicationWindow a) => a -> m TitlebarAnimation Source #
No description available in the introspection data.
setFullscreen
applicationWindowSetFullscreen Source #
Arguments
:: (HasCallStack, MonadIO m, IsApplicationWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the ApplicationWindow
into either the fullscreen or unfullscreen
state based on fullscreen
.
The titlebar for the window is contained within a Revealer
which is
repurposed as a floating bar when the application is in fullscreen mode.
See applicationWindowGetFullscreen
to get the current fullscreen
state.
Since: 3.26
setTitlebar
applicationWindowSetTitlebar Source #
Arguments
:: (HasCallStack, MonadIO m, IsApplicationWindow a, IsWidget b) | |
=> a |
|
-> b | |
-> m () |
Sets the titlebar for the window.
Generally, you want to do this from your GTK ui template by setting the <child type="titlebar">
Since: 3.26
Properties
fullscreen
The "fullscreen" property denotes if the window is in the fullscreen
state. The titlebar of the ApplicationWindow
contains a revealer
which will be repurposed into a floating bar while the window is in
the fullscreen mode.
Set this property to False
to unfullscreen.
constructApplicationWindowFullscreen :: (IsApplicationWindow o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “fullscreen
” property. This is rarely needed directly, but it is used by new
.
getApplicationWindowFullscreen :: (MonadIO m, IsApplicationWindow o) => o -> m Bool Source #
Get the value of the “fullscreen
” property.
When overloading is enabled, this is equivalent to
get
applicationWindow #fullscreen
setApplicationWindowFullscreen :: (MonadIO m, IsApplicationWindow o) => o -> Bool -> m () Source #
Set the value of the “fullscreen
” property.
When overloading is enabled, this is equivalent to
set
applicationWindow [ #fullscreen:=
value ]
titlebarAnimation
No description available in the introspection data.
getApplicationWindowTitlebarAnimation :: (MonadIO m, IsApplicationWindow o) => o -> m TitlebarAnimation Source #
Get the value of the “titlebar-animation
” property.
When overloading is enabled, this is equivalent to
get
applicationWindow #titlebarAnimation