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.PreferencesSwitch
Description
No description available in the introspection data.
Synopsis
- newtype PreferencesSwitch = PreferencesSwitch (ManagedPtr PreferencesSwitch)
- class (GObject o, IsDescendantOf PreferencesSwitch o) => IsPreferencesSwitch o
- toPreferencesSwitch :: (MonadIO m, IsPreferencesSwitch o) => o -> m PreferencesSwitch
- constructPreferencesSwitchIsRadio :: (IsPreferencesSwitch o, MonadIO m) => Bool -> m (GValueConstruct o)
- getPreferencesSwitchIsRadio :: (MonadIO m, IsPreferencesSwitch o) => o -> m Bool
- constructPreferencesSwitchKey :: (IsPreferencesSwitch o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesSwitchKey :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text)
- clearPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m ()
- constructPreferencesSwitchSubtitle :: (IsPreferencesSwitch o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text)
- setPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> Text -> m ()
- constructPreferencesSwitchTarget :: (IsPreferencesSwitch o, MonadIO m) => GVariant -> m (GValueConstruct o)
- getPreferencesSwitchTarget :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe GVariant)
- clearPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m ()
- constructPreferencesSwitchTitle :: (IsPreferencesSwitch o, MonadIO m) => Text -> m (GValueConstruct o)
- getPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text)
- setPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> Text -> m ()
- type PreferencesSwitchActivatedCallback = IO ()
- afterPreferencesSwitchActivated :: (IsPreferencesSwitch a, MonadIO m) => a -> ((?self :: a) => PreferencesSwitchActivatedCallback) -> m SignalHandlerId
- onPreferencesSwitchActivated :: (IsPreferencesSwitch a, MonadIO m) => a -> ((?self :: a) => PreferencesSwitchActivatedCallback) -> m SignalHandlerId
Exported types
newtype PreferencesSwitch Source #
Memory-managed wrapper type.
Constructors
PreferencesSwitch (ManagedPtr PreferencesSwitch) |
Instances
class (GObject o, IsDescendantOf PreferencesSwitch o) => IsPreferencesSwitch o Source #
Type class for types which can be safely cast to PreferencesSwitch
, for instance with toPreferencesSwitch
.
Instances
(GObject o, IsDescendantOf PreferencesSwitch o) => IsPreferencesSwitch o Source # | |
Defined in GI.Dazzle.Objects.PreferencesSwitch |
toPreferencesSwitch :: (MonadIO m, IsPreferencesSwitch o) => o -> m PreferencesSwitch Source #
Cast to PreferencesSwitch
, 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
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, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, 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, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
Properties
isRadio
No description available in the introspection data.
constructPreferencesSwitchIsRadio :: (IsPreferencesSwitch o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-radio
” property. This is rarely needed directly, but it is used by new
.
getPreferencesSwitchIsRadio :: (MonadIO m, IsPreferencesSwitch o) => o -> m Bool Source #
Get the value of the “is-radio
” property.
When overloading is enabled, this is equivalent to
get
preferencesSwitch #isRadio
key
No description available in the introspection data.
constructPreferencesSwitchKey :: (IsPreferencesSwitch o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “key
” property. This is rarely needed directly, but it is used by new
.
getPreferencesSwitchKey :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text) Source #
Get the value of the “key
” property.
When overloading is enabled, this is equivalent to
get
preferencesSwitch #key
subtitle
No description available in the introspection data.
clearPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m () Source #
Set the value of the “subtitle
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#subtitle
constructPreferencesSwitchSubtitle :: (IsPreferencesSwitch 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
.
getPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text) Source #
Get the value of the “subtitle
” property.
When overloading is enabled, this is equivalent to
get
preferencesSwitch #subtitle
setPreferencesSwitchSubtitle :: (MonadIO m, IsPreferencesSwitch o) => o -> Text -> m () Source #
Set the value of the “subtitle
” property.
When overloading is enabled, this is equivalent to
set
preferencesSwitch [ #subtitle:=
value ]
target
No description available in the introspection data.
constructPreferencesSwitchTarget :: (IsPreferencesSwitch o, MonadIO m) => GVariant -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “target
” property. This is rarely needed directly, but it is used by new
.
getPreferencesSwitchTarget :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe GVariant) Source #
Get the value of the “target
” property.
When overloading is enabled, this is equivalent to
get
preferencesSwitch #target
title
No description available in the introspection data.
clearPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m () Source #
Set the value of the “title
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#title
constructPreferencesSwitchTitle :: (IsPreferencesSwitch 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
.
getPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> m (Maybe Text) Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
preferencesSwitch #title
setPreferencesSwitchTitle :: (MonadIO m, IsPreferencesSwitch o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
preferencesSwitch [ #title:=
value ]
Signals
activated
type PreferencesSwitchActivatedCallback = IO () Source #
No description available in the introspection data.
afterPreferencesSwitchActivated :: (IsPreferencesSwitch a, MonadIO m) => a -> ((?self :: a) => PreferencesSwitchActivatedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activated signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
preferencesSwitch #activated callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onPreferencesSwitchActivated :: (IsPreferencesSwitch a, MonadIO m) => a -> ((?self :: a) => PreferencesSwitchActivatedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activated signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
preferencesSwitch #activated callback