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 |
No description available in the introspection data.
Synopsis
- newtype SimplePopover = SimplePopover (ManagedPtr SimplePopover)
- class (GObject o, IsDescendantOf SimplePopover o) => IsSimplePopover o
- toSimplePopover :: (MonadIO m, IsSimplePopover o) => o -> m SimplePopover
- simplePopoverGetButtonText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text
- simplePopoverGetMessage :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text
- simplePopoverGetReady :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Bool
- simplePopoverGetText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text
- simplePopoverGetTitle :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text
- simplePopoverNew :: (HasCallStack, MonadIO m) => m SimplePopover
- simplePopoverSetButtonText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m ()
- simplePopoverSetMessage :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m ()
- simplePopoverSetReady :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Bool -> m ()
- simplePopoverSetText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m ()
- simplePopoverSetTitle :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m ()
- constructSimplePopoverButtonText :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o)
- getSimplePopoverButtonText :: (MonadIO m, IsSimplePopover o) => o -> m Text
- setSimplePopoverButtonText :: (MonadIO m, IsSimplePopover o) => o -> Text -> m ()
- constructSimplePopoverMessage :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o)
- getSimplePopoverMessage :: (MonadIO m, IsSimplePopover o) => o -> m Text
- setSimplePopoverMessage :: (MonadIO m, IsSimplePopover o) => o -> Text -> m ()
- constructSimplePopoverReady :: (IsSimplePopover o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSimplePopoverReady :: (MonadIO m, IsSimplePopover o) => o -> m Bool
- setSimplePopoverReady :: (MonadIO m, IsSimplePopover o) => o -> Bool -> m ()
- constructSimplePopoverText :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o)
- getSimplePopoverText :: (MonadIO m, IsSimplePopover o) => o -> m Text
- setSimplePopoverText :: (MonadIO m, IsSimplePopover o) => o -> Text -> m ()
- constructSimplePopoverTitle :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o)
- getSimplePopoverTitle :: (MonadIO m, IsSimplePopover o) => o -> m Text
- setSimplePopoverTitle :: (MonadIO m, IsSimplePopover o) => o -> Text -> m ()
- type SimplePopoverActivateCallback = Text -> IO ()
- afterSimplePopoverActivate :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverActivateCallback) -> m SignalHandlerId
- onSimplePopoverActivate :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverActivateCallback) -> m SignalHandlerId
- type SimplePopoverChangedCallback = IO ()
- afterSimplePopoverChanged :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverChangedCallback) -> m SignalHandlerId
- onSimplePopoverChanged :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverChangedCallback) -> m SignalHandlerId
- type SimplePopoverInsertTextCallback = Word32 -> Text -> Word32 -> IO Bool
- afterSimplePopoverInsertText :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverInsertTextCallback) -> m SignalHandlerId
- onSimplePopoverInsertText :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverInsertTextCallback) -> m SignalHandlerId
Exported types
newtype SimplePopover Source #
Memory-managed wrapper type.
SimplePopover (ManagedPtr SimplePopover) |
Instances
class (GObject o, IsDescendantOf SimplePopover o) => IsSimplePopover o Source #
Type class for types which can be safely cast to SimplePopover
, for instance with toSimplePopover
.
Instances
(GObject o, IsDescendantOf SimplePopover o) => IsSimplePopover o Source # | |
Defined in GI.Dazzle.Objects.SimplePopover |
toSimplePopover :: (MonadIO m, IsSimplePopover o) => o -> m SimplePopover Source #
Cast to SimplePopover
, 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, bindModel, 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, popdown, popup, 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, getButtonText, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getConstrainTo, getData, getDefaultWidget, 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, getMessage, getModal, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPointingTo, getPosition, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getReady, getRealized, getReceivesDefault, getRelativeTo, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getText, getTitle, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTransitionsEnabled, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setButtonText, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setConstrainTo, setData, setDataFull, setDefaultWidget, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMessage, setModal, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setPointingTo, setPosition, setProperty, setReady, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setRelativeTo, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setText, setTitle, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransitionsEnabled, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getButtonText
simplePopoverGetButtonText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text Source #
No description available in the introspection data.
getMessage
simplePopoverGetMessage :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text Source #
No description available in the introspection data.
getReady
simplePopoverGetReady :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Bool Source #
No description available in the introspection data.
getText
simplePopoverGetText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text Source #
No description available in the introspection data.
getTitle
simplePopoverGetTitle :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> m Text Source #
No description available in the introspection data.
new
simplePopoverNew :: (HasCallStack, MonadIO m) => m SimplePopover Source #
No description available in the introspection data.
setButtonText
simplePopoverSetButtonText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m () Source #
No description available in the introspection data.
setMessage
simplePopoverSetMessage :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m () Source #
No description available in the introspection data.
setReady
simplePopoverSetReady :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Bool -> m () Source #
No description available in the introspection data.
setText
simplePopoverSetText :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m () Source #
No description available in the introspection data.
setTitle
simplePopoverSetTitle :: (HasCallStack, MonadIO m, IsSimplePopover a) => a -> Text -> m () Source #
No description available in the introspection data.
Properties
buttonText
No description available in the introspection data.
constructSimplePopoverButtonText :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “button-text
” property. This is rarely needed directly, but it is used by new
.
getSimplePopoverButtonText :: (MonadIO m, IsSimplePopover o) => o -> m Text Source #
Get the value of the “button-text
” property.
When overloading is enabled, this is equivalent to
get
simplePopover #buttonText
setSimplePopoverButtonText :: (MonadIO m, IsSimplePopover o) => o -> Text -> m () Source #
Set the value of the “button-text
” property.
When overloading is enabled, this is equivalent to
set
simplePopover [ #buttonText:=
value ]
message
No description available in the introspection data.
constructSimplePopoverMessage :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “message
” property. This is rarely needed directly, but it is used by new
.
getSimplePopoverMessage :: (MonadIO m, IsSimplePopover o) => o -> m Text Source #
Get the value of the “message
” property.
When overloading is enabled, this is equivalent to
get
simplePopover #message
setSimplePopoverMessage :: (MonadIO m, IsSimplePopover o) => o -> Text -> m () Source #
Set the value of the “message
” property.
When overloading is enabled, this is equivalent to
set
simplePopover [ #message:=
value ]
ready
No description available in the introspection data.
constructSimplePopoverReady :: (IsSimplePopover o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ready
” property. This is rarely needed directly, but it is used by new
.
getSimplePopoverReady :: (MonadIO m, IsSimplePopover o) => o -> m Bool Source #
Get the value of the “ready
” property.
When overloading is enabled, this is equivalent to
get
simplePopover #ready
setSimplePopoverReady :: (MonadIO m, IsSimplePopover o) => o -> Bool -> m () Source #
Set the value of the “ready
” property.
When overloading is enabled, this is equivalent to
set
simplePopover [ #ready:=
value ]
text
No description available in the introspection data.
constructSimplePopoverText :: (IsSimplePopover o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “text
” property. This is rarely needed directly, but it is used by new
.
getSimplePopoverText :: (MonadIO m, IsSimplePopover o) => o -> m Text Source #
Get the value of the “text
” property.
When overloading is enabled, this is equivalent to
get
simplePopover #text
setSimplePopoverText :: (MonadIO m, IsSimplePopover o) => o -> Text -> m () Source #
Set the value of the “text
” property.
When overloading is enabled, this is equivalent to
set
simplePopover [ #text:=
value ]
title
No description available in the introspection data.
constructSimplePopoverTitle :: (IsSimplePopover 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
.
getSimplePopoverTitle :: (MonadIO m, IsSimplePopover o) => o -> m Text Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
simplePopover #title
setSimplePopoverTitle :: (MonadIO m, IsSimplePopover o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
simplePopover [ #title:=
value ]
Signals
activate
type SimplePopoverActivateCallback Source #
This signal is emitted when the popover's forward button is activated. Connect to this signal to perform your forward progress.
afterSimplePopoverActivate :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverActivateCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activate signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
simplePopover #activate 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.
onSimplePopoverActivate :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverActivateCallback) -> m SignalHandlerId Source #
Connect a signal handler for the activate signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
simplePopover #activate callback
changed
type SimplePopoverChangedCallback = IO () Source #
This signal is emitted when the entry text changes.
afterSimplePopoverChanged :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
simplePopover #changed 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.
onSimplePopoverChanged :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
simplePopover #changed callback
insertText
type SimplePopoverInsertTextCallback Source #
= Word32 |
|
-> Text |
|
-> Word32 |
|
-> IO Bool |
Use this signal to determine if text should be allowed to be inserted into the text buffer. Return GDK_EVENT_STOP to prevent the text from being inserted.
afterSimplePopoverInsertText :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverInsertTextCallback) -> m SignalHandlerId Source #
Connect a signal handler for the insertText signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
simplePopover #insertText 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.
onSimplePopoverInsertText :: (IsSimplePopover a, MonadIO m) => a -> ((?self :: a) => SimplePopoverInsertTextCallback) -> m SignalHandlerId Source #
Connect a signal handler for the insertText signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
simplePopover #insertText callback