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.Gtk.Objects.FontChooserDialog
Contents
Description
The GtkFontChooserDialog
widget is a dialog for selecting a font.
GtkFontChooserDialog
implements the FontChooser
interface
and does not provide much API of its own.
To create a GtkFontChooserDialog
, use fontChooserDialogNew
.
GtkFontChooserDialog as GtkBuildable
The GtkFontChooserDialog
implementation of the GtkBuildable
interface exposes the buttons with the names “select_button”
and “cancel_button”.
CSS nodes
GtkFontChooserDialog
has a single CSS node with the name window
and style
class .fontchooser
.
Synopsis
- newtype FontChooserDialog = FontChooserDialog (ManagedPtr FontChooserDialog)
- class (GObject o, IsDescendantOf FontChooserDialog o) => IsFontChooserDialog o
- toFontChooserDialog :: (MonadIO m, IsFontChooserDialog o) => o -> m FontChooserDialog
- fontChooserDialogNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe Text -> Maybe a -> m FontChooserDialog
Exported types
newtype FontChooserDialog Source #
Memory-managed wrapper type.
Constructors
FontChooserDialog (ManagedPtr FontChooserDialog) |
Instances
class (GObject o, IsDescendantOf FontChooserDialog o) => IsFontChooserDialog o Source #
Type class for types which can be safely cast to FontChooserDialog
, for instance with toFontChooserDialog
.
Instances
(GObject o, IsDescendantOf FontChooserDialog o) => IsFontChooserDialog o Source # | |
Defined in GI.Gtk.Objects.FontChooserDialog |
toFontChooserDialog :: (MonadIO m, IsFontChooserDialog o) => o -> m FontChooserDialog Source #
Cast to FontChooserDialog
, 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
actionSetEnabled, activate, activateAction, activateDefault, addActionWidget, addButton, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, announce, bindProperty, bindPropertyFull, childFocus, close, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, destroy, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, fullscreen, fullscreenOnMonitor, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasGroup, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isActive, isAncestor, isDrawable, isFloating, isFocus, isFullscreen, isMaximized, isSensitive, isSuspended, isVisible, keynavFailed, listMnemonicLabels, map, maximize, measure, minimize, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, present, presentWithTime, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, response, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unfullscreen, unmap, unmaximize, unminimize, unparent, unrealize, unref, unsetStateFlags, updateNextAccessibleSibling, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleParent, getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getApplication, getAtContext, getBaseline, getBounds, getBuildableId, getCanFocus, getCanTarget, getChild, getChildVisible, getClipboard, getColor, getContentArea, getCssClasses, getCssName, getCursor, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDirection, getDisplay, getFirstAccessibleChild, getFirstChild, getFocus, getFocusChild, getFocusOnClick, getFocusVisible, getFocusable, getFont, getFontDesc, getFontFace, getFontFamily, getFontFeatures, getFontMap, getFontOptions, getFontSize, getFrameClock, getGroup, getHalign, getHandleMenubarAccel, getHasTooltip, getHeaderBar, getHeight, getHexpand, getHexpandSet, getHideOnClose, getIconName, getLanguage, getLastChild, getLayoutManager, getLevel, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getMnemonicsVisible, getModal, getName, getNative, getNextAccessibleSibling, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPlatformState, getPreferredSize, getPrevSibling, getPreviewText, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRenderer, getRequestMode, getResizable, getResponseForWidget, getRoot, getScaleFactor, getSensitive, getSettings, getShowPreviewEntry, getSize, getSizeRequest, getStateFlags, getStyleContext, getSurface, getSurfaceTransform, getTemplateChild, getTitle, getTitlebar, getTooltipMarkup, getTooltipText, getTransientFor, getValign, getVexpand, getVexpandSet, getVisible, getWidgetForResponse, getWidth.
Setters
setAccessibleParent, setApplication, setCanFocus, setCanTarget, setChild, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDecorated, setDefaultResponse, setDefaultSize, setDefaultWidget, setDeletable, setDestroyWithParent, setDirection, setDisplay, setFilterFunc, setFocus, setFocusChild, setFocusOnClick, setFocusVisible, setFocusable, setFont, setFontDesc, setFontMap, setFontOptions, setHalign, setHandleMenubarAccel, setHasTooltip, setHexpand, setHexpandSet, setHideOnClose, setIconName, setLanguage, setLayoutManager, setLevel, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setMnemonicsVisible, setModal, setName, setOpacity, setOverflow, setParent, setPreviewText, setProperty, setReceivesDefault, setResizable, setResponseSensitive, setSensitive, setShowPreviewEntry, setSizeRequest, setStartupId, setStateFlags, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTransientFor, setValign, setVexpand, setVexpandSet, setVisible.
new
Arguments
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> Maybe Text |
|
-> Maybe a |
|
-> m FontChooserDialog | Returns: a new |
Deprecated: (Since version 4.10)Use FontDialog
instead
Creates a new GtkFontChooserDialog
.