gi-gtk-4.0.6: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.ColorChooserDialog

Description

A dialog for choosing a color.

GtkColorChooserDialog implements the ColorChooser interface and does not provide much API of its own.

To create a GtkColorChooserDialog, use colorChooserDialogNew.

To change the initially selected color, use colorChooserSetRgba. To get the selected color use colorChooserGetRgba.

Synopsis

Exported types

newtype ColorChooserDialog Source #

Memory-managed wrapper type.

Constructors

ColorChooserDialog (ManagedPtr ColorChooserDialog) 

Instances

Instances details
Eq ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

GObject ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

ManagedPtrNewtype ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

TypedObject ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

Methods

glibType :: IO GType

HasParentTypes ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

IsGValue (Maybe ColorChooserDialog) Source #

Convert ColorChooserDialog to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

type ParentTypes ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

class (GObject o, IsDescendantOf ColorChooserDialog o) => IsColorChooserDialog o Source #

Type class for types which can be safely cast to ColorChooserDialog, for instance with toColorChooserDialog.

Instances

Instances details
(GObject o, IsDescendantOf ColorChooserDialog o) => IsColorChooserDialog o Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

toColorChooserDialog :: (MonadIO m, IsColorChooserDialog o) => o -> m ColorChooserDialog Source #

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

actionSetEnabled, activate, activateAction, activateDefault, addActionWidget, addButton, addController, addCssClass, addMnemonicLabel, addPalette, addTickCallback, allocate, 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, 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, updateProperty, updateRelation, updateState, watchClosure.

Getters

getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getApplication, getBuildableId, getCanFocus, getCanTarget, getChild, getChildVisible, getClipboard, getContentArea, getCssClasses, getCssName, getCursor, getData, getDecorated, getDefaultSize, getDefaultWidget, getDeletable, getDestroyWithParent, getDirection, getDisplay, getFirstChild, getFocus, getFocusChild, getFocusOnClick, getFocusVisible, getFocusable, getFontMap, getFontOptions, getFrameClock, getGroup, getHalign, getHandleMenubarAccel, getHasTooltip, getHeaderBar, getHeight, getHexpand, getHexpandSet, getHideOnClose, getIconName, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getMnemonicsVisible, getModal, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRenderer, getRequestMode, getResizable, getResponseForWidget, getRgba, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getSurface, getSurfaceTransform, getTemplateChild, getTitle, getTitlebar, getTooltipMarkup, getTooltipText, getTransientFor, getUseAlpha, getValign, getVexpand, getVexpandSet, getVisible, getWidgetForResponse, getWidth.

Setters

setApplication, setCanFocus, setCanTarget, setChild, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDecorated, setDefaultResponse, setDefaultSize, setDefaultWidget, setDeletable, setDestroyWithParent, setDirection, setDisplay, setFocus, setFocusChild, setFocusOnClick, setFocusVisible, setFocusable, setFontMap, setFontOptions, setHalign, setHandleMenubarAccel, setHasTooltip, setHexpand, setHexpandSet, setHideOnClose, setIconName, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setMnemonicsVisible, setModal, setName, setOpacity, setOverflow, setParent, setProperty, setReceivesDefault, setResizable, setResponseSensitive, setRgba, setSensitive, setSizeRequest, setStartupId, setStateFlags, setTitle, setTitlebar, setTooltipMarkup, setTooltipText, setTransientFor, setUseAlpha, setValign, setVexpand, setVexpandSet, setVisible.

new

colorChooserDialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe Text

title: Title of the dialog

-> Maybe a

parent: Transient parent of the dialog

-> m ColorChooserDialog

Returns: a new GtkColorChooserDialog

Creates a new GtkColorChooserDialog.

Properties

showEditor

No description available in the introspection data.

constructColorChooserDialogShowEditor :: (IsColorChooserDialog o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> m Bool Source #

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

get colorChooserDialog #showEditor

setColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> Bool -> m () Source #

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

set colorChooserDialog [ #showEditor := value ]