Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
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 FontSelectionDialog = FontSelectionDialog (ManagedPtr FontSelectionDialog)
- class (GObject o, IsDescendantOf FontSelectionDialog o) => IsFontSelectionDialog o
- toFontSelectionDialog :: (MonadIO m, IsFontSelectionDialog o) => o -> m FontSelectionDialog
- fontSelectionDialogGetCancelButton :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- fontSelectionDialogGetFontName :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Text
- fontSelectionDialogGetFontSelection :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- fontSelectionDialogGetOkButton :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- fontSelectionDialogGetPreviewText :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Text
- fontSelectionDialogNew :: (HasCallStack, MonadIO m) => Text -> m FontSelectionDialog
- fontSelectionDialogSetFontName :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> Text -> m Bool
- fontSelectionDialogSetPreviewText :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> Text -> m ()
Exported types
newtype FontSelectionDialog Source #
Memory-managed wrapper type.
FontSelectionDialog (ManagedPtr FontSelectionDialog) |
Instances
class (GObject o, IsDescendantOf FontSelectionDialog o) => IsFontSelectionDialog o Source #
Type class for types which can be safely cast to FontSelectionDialog
, for instance with toFontSelectionDialog
.
Instances
(GObject o, IsDescendantOf FontSelectionDialog o) => IsFontSelectionDialog o Source # | |
Defined in GI.Gtk.Objects.FontSelectionDialog |
toFontSelectionDialog :: (MonadIO m, IsFontSelectionDialog o) => o -> m FontSelectionDialog Source #
Cast to FontSelectionDialog
, 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, activateDefault, activateFocus, activateKey, add, addAccelGroup, addAccelerator, addActionWidget, addButton, addChild, addDeviceEvents, addEvents, addMnemonic, addMnemonicLabel, addTickCallback, beginMoveDrag, beginResizeDrag, bindProperty, bindPropertyFull, canActivateAccel, 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, 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, listMnemonicLabels, 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, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelGroup, removeAccelerator, removeMnemonic, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, reshowWithInitialSize, resize, resizeChildren, resizeGripIsVisible, resizeToGeometry, response, run, 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, getActionArea, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getApplication, getAttachedTo, getBorderWidth, getCanDefault, getCanFocus, getCancelButton, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getContentArea, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocus, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusOnMap, getFocusVadjustment, getFocusVisible, getFontMap, getFontName, getFontOptions, getFontSelection, getFrameClock, getGravity, getGroup, getHalign, getHasResizeGrip, getHasTooltip, getHasWindow, getHeaderBar, getHexpand, getHexpandSet, getHideTitlebarWhenMaximized, getIcon, getIconList, getIconName, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMnemonicModifier, getMnemonicsVisible, getModal, getModifierMask, getModifierStyle, getName, getNoShowAll, getOkButton, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPosition, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getPreviewText, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizable, getResizeGripArea, getResizeMode, getResponseForWidget, getRole, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSize, getSizeRequest, getSkipPagerHint, getSkipTaskbarHint, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTitle, getTitlebar, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTransientFor, getTypeHint, getUrgencyHint, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWidgetForResponse, getWindow, getWindowType.
Setters
setAccelPath, setAcceptFocus, setAllocation, setAlternativeButtonOrderFromArray, setAppPaintable, setApplication, setAttachedTo, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDecorated, setDefault, setDefaultGeometry, setDefaultResponse, setDefaultSize, setDeletable, setDestroyWithParent, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocus, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusOnMap, setFocusVadjustment, setFocusVisible, setFontMap, setFontName, setFontOptions, setGeometryHints, setGravity, setHalign, setHasResizeGrip, setHasTooltip, setHasUserRefCount, setHasWindow, 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, setPreviewText, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizable, setResizeMode, setResponseSensitive, setRole, setScreen, setSensitive, setSizeRequest, setSkipPagerHint, setSkipTaskbarHint, setStartupId, setState, setStateFlags, setStyle, setSupportMultidevice, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransientFor, setTypeHint, setUrgencyHint, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow, setWmclass.
getCancelButton
fontSelectionDialogGetCancelButton Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the |
getFontName
fontSelectionDialogGetFontName Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Text | Returns: A string with the name of the current font, or |
Deprecated: (Since version 3.2)Use FontChooserDialog
Gets the currently-selected font name.
Note that this can be a different string than what you set with
fontSelectionDialogSetFontName
, as the font selection widget
may normalize font names and thus return a string with a different
structure. For example, “Helvetica Italic Bold 12” could be normalized
to “Helvetica Bold Italic 12”. Use fontDescriptionEqual
if you want to compare two font descriptions.
getFontSelection
fontSelectionDialogGetFontSelection Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the embedded |
Deprecated: (Since version 3.2)Use FontChooserDialog
Retrieves the FontSelection
widget embedded in the dialog.
Since: 2.22
getOkButton
fontSelectionDialogGetOkButton Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the |
getPreviewText
fontSelectionDialogGetPreviewText Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Text | Returns: the text displayed in the preview area. This string is owned by the widget and should not be modified or freed |
Deprecated: (Since version 3.2)Use FontChooserDialog
Gets the text displayed in the preview area.
new
fontSelectionDialogNew Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m FontSelectionDialog | Returns: a new |
Deprecated: (Since version 3.2)Use FontChooserDialog
Creates a new FontSelectionDialog
.
setFontName
fontSelectionDialogSetFontName Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Deprecated: (Since version 3.2)Use FontChooserDialog
Sets the currently selected font.
setPreviewText
fontSelectionDialogSetPreviewText Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> Text |
|
-> m () |
Deprecated: (Since version 3.2)Use FontChooserDialog
Sets the text displayed in the preview area.