gi-handy-1.0.2: libhandy bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Handy.Objects.PreferencesPage

Description

A page from [classpreferencesWindow].

The HdyPreferencesPage widget gathers preferences groups into a single page of a preferences window.

CSS nodes

HdyPreferencesPage has a single CSS node with name preferencespage.

Since: 1.0

Synopsis

Exported types

newtype PreferencesPage Source #

Memory-managed wrapper type.

Constructors

PreferencesPage (ManagedPtr PreferencesPage) 

Instances

Instances details
Eq PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

GObject PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

ManagedPtrNewtype PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

TypedObject PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

Methods

glibType :: IO GType

HasParentTypes PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

IsGValue (Maybe PreferencesPage) Source #

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

Instance details

Defined in GI.Handy.Objects.PreferencesPage

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe PreferencesPage -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe PreferencesPage)

type ParentTypes PreferencesPage Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

type ParentTypes PreferencesPage = '[Bin, Container, Widget, Object, ImplementorIface, Buildable]

class (GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o Source #

Type class for types which can be safely cast to PreferencesPage, for instance with toPreferencesPage.

Instances

Instances details
(GObject o, IsDescendantOf PreferencesPage o) => IsPreferencesPage o Source # 
Instance details

Defined in GI.Handy.Objects.PreferencesPage

toPreferencesPage :: (MonadIO m, IsPreferencesPage o) => o -> m PreferencesPage Source #

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

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, getIconName, 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, getTitle, 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, setIconName, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTitle, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.

getIconName

preferencesPageGetIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesPage a) 
=> a

self: a preferences page

-> m (Maybe Text)

Returns: the icon name for self

Gets the icon name for self.

Since: 1.0

getTitle

preferencesPageGetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesPage a) 
=> a

self: a preferences page

-> m (Maybe Text)

Returns: the title of the self

Gets the title of self.

Since: 1.0

new

preferencesPageNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m PreferencesPage

Returns: the newly created HdyPreferencesPage

Creates a new HdyPreferencesPage.

Since: 1.0

setIconName

preferencesPageSetIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesPage a) 
=> a

self: a preferences page

-> Maybe Text

iconName: the icon name

-> m () 

Sets the icon name for self.

Since: 1.0

setTitle

preferencesPageSetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesPage a) 
=> a

self: a preferences page

-> Maybe Text

title: the title of the page

-> m () 

Sets the title of self.

Since: 1.0

Properties

iconName

The icon name for this page of preferences.

Since: 1.0

clearPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m () Source #

Set the value of the “icon-name” property to Nothing. When overloading is enabled, this is equivalent to

clear #iconName

constructPreferencesPageIconName :: (IsPreferencesPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text) Source #

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

get preferencesPage #iconName

setPreferencesPageIconName :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m () Source #

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

set preferencesPage [ #iconName := value ]

title

The title for this page of preferences.

Since: 1.0

clearPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m () Source #

Set the value of the “title” property to Nothing. When overloading is enabled, this is equivalent to

clear #title

constructPreferencesPageTitle :: (IsPreferencesPage 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.

getPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> m (Maybe Text) Source #

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

get preferencesPage #title

setPreferencesPageTitle :: (MonadIO m, IsPreferencesPage o) => o -> Text -> m () Source #

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

set preferencesPage [ #title := value ]