gi-handy-1.0.1: libhandy bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Handy.Objects.ViewSwitcherTitle

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf ViewSwitcherTitle o) => IsViewSwitcherTitle o Source #

Type class for types which can be safely cast to ViewSwitcherTitle, for instance with toViewSwitcherTitle.

Instances

Instances details
(GObject o, IsDescendantOf ViewSwitcherTitle o) => IsViewSwitcherTitle o Source # 
Instance details

Defined in GI.Handy.Objects.ViewSwitcherTitle

toViewSwitcherTitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> m ViewSwitcherTitle Source #

Cast to ViewSwitcherTitle, 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

activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, 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, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.

Getters

getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPolicy, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getStack, getState, getStateFlags, getStyle, getStyleContext, getSubtitle, getSupportMultidevice, getTemplateChild, getTitle, getTitleVisible, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getViewSwitcherEnabled, getVisible, getVisual, getWindow.

Setters

setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setPolicy, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setStack, setState, setStateFlags, setStyle, setSubtitle, setSupportMultidevice, setTitle, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setViewSwitcherEnabled, setVisible, setVisual, setWindow.

getPolicy

viewSwitcherTitleGetPolicy Source #

Arguments

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

self: a ViewSwitcherTitle

-> m ViewSwitcherPolicy

Returns: the policy of self

Gets the policy of self.

Since: 1.0

getStack

viewSwitcherTitleGetStack Source #

Arguments

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

self: a ViewSwitcherTitle

-> m (Maybe Stack)

Returns: the Stack, or Nothing if none has been set

Get the Stack being controlled by the ViewSwitcher.

Since: 1.0

getSubtitle

viewSwitcherTitleGetSubtitle Source #

Arguments

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

self: a ViewSwitcherTitle

-> m (Maybe Text)

Returns: the subtitle of self, or Nothing.

Gets the subtitle of self. See viewSwitcherTitleSetSubtitle.

Since: 1.0

getTitle

viewSwitcherTitleGetTitle Source #

Arguments

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

self: a ViewSwitcherTitle

-> m (Maybe Text)

Returns: the title of self, or Nothing.

Gets the title of self. See viewSwitcherTitleSetTitle.

Since: 1.0

getTitleVisible

viewSwitcherTitleGetTitleVisible Source #

Arguments

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

self: a ViewSwitcherTitle

-> m Bool

Returns: True if the title label of self is visible, False if not.

Get whether the title label of self is visible.

Since: 1.0

getViewSwitcherEnabled

viewSwitcherTitleGetViewSwitcherEnabled Source #

Arguments

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

self: a ViewSwitcherTitle

-> m Bool

Returns: True if the view switcher is enabled, False otherwise.

Gets whether self's view switcher is enabled.

See viewSwitcherTitleSetViewSwitcherEnabled.

Since: 1.0

new

viewSwitcherTitleNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m ViewSwitcherTitle

Returns: a new ViewSwitcherTitle

Creates a new ViewSwitcherTitle widget.

Since: 1.0

setPolicy

viewSwitcherTitleSetPolicy Source #

Arguments

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

self: a ViewSwitcherTitle

-> ViewSwitcherPolicy

policy: the new policy

-> m () 

Sets the policy of self.

Since: 1.0

setStack

viewSwitcherTitleSetStack Source #

Arguments

:: (HasCallStack, MonadIO m, IsViewSwitcherTitle a, IsStack b) 
=> a

self: a ViewSwitcherTitle

-> Maybe b

stack: a Stack

-> m () 

Sets the Stack to control.

Since: 1.0

setSubtitle

viewSwitcherTitleSetSubtitle Source #

Arguments

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

self: a ViewSwitcherTitle

-> Maybe Text

subtitle: a subtitle, or Nothing

-> m () 

Sets the subtitle of self. The subtitle should give a user additional details.

Since: 1.0

setTitle

viewSwitcherTitleSetTitle Source #

Arguments

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

self: a ViewSwitcherTitle

-> Maybe Text

title: a title, or Nothing

-> m () 

Sets the title of self. The title should give a user additional details. A good title should not include the application name.

Since: 1.0

setViewSwitcherEnabled

viewSwitcherTitleSetViewSwitcherEnabled Source #

Arguments

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

self: a ViewSwitcherTitle

-> Bool

enabled: True to enable the view switcher, False to disable it

-> m () 

Make self enable or disable its view switcher. If it is disabled, the title will be displayed instead. This allows to programmatically and prematurely hide the view switcher of self even if it fits in the available space.

This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.

Since: 1.0

Properties

policy

The ViewSwitcherPolicy the ViewSwitcher should use to determine which mode to use.

Since: 1.0

constructViewSwitcherTitlePolicy :: (IsViewSwitcherTitle o, MonadIO m) => ViewSwitcherPolicy -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “policy” property. This is rarely needed directly, but it is used by new.

getViewSwitcherTitlePolicy :: (MonadIO m, IsViewSwitcherTitle o) => o -> m ViewSwitcherPolicy Source #

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

get viewSwitcherTitle #policy

setViewSwitcherTitlePolicy :: (MonadIO m, IsViewSwitcherTitle o) => o -> ViewSwitcherPolicy -> m () Source #

Set the value of the “policy” property. When overloading is enabled, this is equivalent to

set viewSwitcherTitle [ #policy := value ]

stack

The Stack the ViewSwitcher controls.

Since: 1.0

clearViewSwitcherTitleStack :: (MonadIO m, IsViewSwitcherTitle o) => o -> m () Source #

Set the value of the “stack” property to Nothing. When overloading is enabled, this is equivalent to

clear #stack

constructViewSwitcherTitleStack :: (IsViewSwitcherTitle o, MonadIO m, IsStack a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “stack” property. This is rarely needed directly, but it is used by new.

getViewSwitcherTitleStack :: (MonadIO m, IsViewSwitcherTitle o) => o -> m (Maybe Stack) Source #

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

get viewSwitcherTitle #stack

setViewSwitcherTitleStack :: (MonadIO m, IsViewSwitcherTitle o, IsStack a) => o -> a -> m () Source #

Set the value of the “stack” property. When overloading is enabled, this is equivalent to

set viewSwitcherTitle [ #stack := value ]

subtitle

The subtitle of the ViewSwitcher.

Since: 1.0

clearViewSwitcherTitleSubtitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> m () Source #

Set the value of the “subtitle” property to Nothing. When overloading is enabled, this is equivalent to

clear #subtitle

constructViewSwitcherTitleSubtitle :: (IsViewSwitcherTitle o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “subtitle” property. This is rarely needed directly, but it is used by new.

getViewSwitcherTitleSubtitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> m (Maybe Text) Source #

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

get viewSwitcherTitle #subtitle

setViewSwitcherTitleSubtitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> Text -> m () Source #

Set the value of the “subtitle” property. When overloading is enabled, this is equivalent to

set viewSwitcherTitle [ #subtitle := value ]

title

The title of the ViewSwitcher.

Since: 1.0

clearViewSwitcherTitleTitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> m () Source #

Set the value of the “title” property to Nothing. When overloading is enabled, this is equivalent to

clear #title

constructViewSwitcherTitleTitle :: (IsViewSwitcherTitle o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “title” property. This is rarely needed directly, but it is used by new.

getViewSwitcherTitleTitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> m (Maybe Text) Source #

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

get viewSwitcherTitle #title

setViewSwitcherTitleTitle :: (MonadIO m, IsViewSwitcherTitle o) => o -> Text -> m () Source #

Set the value of the “title” property. When overloading is enabled, this is equivalent to

set viewSwitcherTitle [ #title := value ]

titleVisible

Whether the bar should be revealed or hidden.

Since: 1.0

getViewSwitcherTitleTitleVisible :: (MonadIO m, IsViewSwitcherTitle o) => o -> m Bool Source #

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

get viewSwitcherTitle #titleVisible

viewSwitcherEnabled

Whether the bar should be revealed or hidden.

Since: 1.0

constructViewSwitcherTitleViewSwitcherEnabled :: (IsViewSwitcherTitle o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “view-switcher-enabled” property. This is rarely needed directly, but it is used by new.

getViewSwitcherTitleViewSwitcherEnabled :: (MonadIO m, IsViewSwitcherTitle o) => o -> m Bool Source #

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

get viewSwitcherTitle #viewSwitcherEnabled

setViewSwitcherTitleViewSwitcherEnabled :: (MonadIO m, IsViewSwitcherTitle o) => o -> Bool -> m () Source #

Set the value of the “view-switcher-enabled” property. When overloading is enabled, this is equivalent to

set viewSwitcherTitle [ #viewSwitcherEnabled := value ]