gi-adwaita-1.0.1: Adwaita bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Adw.Objects.PreferencesGroup

Description

A group of preference rows.

An AdwPreferencesGroup represents a group or tightly related preferences, which in turn are represented by PreferencesRow.

To summarize the role of the preferences it gathers, a group can have both a title and a description. The title will be used by PreferencesWindow to let the user look for a preference.

CSS nodes

AdwPreferencesGroup has a single CSS node with name preferencesgroup.

Since: 1.0

Synopsis

Exported types

class (GObject o, IsDescendantOf PreferencesGroup o) => IsPreferencesGroup o Source #

Type class for types which can be safely cast to PreferencesGroup, for instance with toPreferencesGroup.

Instances

Instances details
(GObject o, IsDescendantOf PreferencesGroup o) => IsPreferencesGroup o Source # 
Instance details

Defined in GI.Adw.Objects.PreferencesGroup

toPreferencesGroup :: (MonadIO m, IsPreferencesGroup o) => o -> m PreferencesGroup Source #

Cast to PreferencesGroup, 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, add, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, remove, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateProperty, updateRelation, updateState, watchClosure.

Getters

getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDescription, getDirection, getDisplay, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTitle, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.

Setters

setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDescription, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTitle, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.

add

preferencesGroupAdd Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesGroup a, IsWidget b) 
=> a

self: a AdwPreferencesGroup

-> b

child: the widget to add

-> m () 

Adds a child to self.

Since: 1.0

getDescription

preferencesGroupGetDescription Source #

Arguments

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

self: a AdwPreferencesGroup

-> m (Maybe Text)

Returns: the description of self

Gets the description of self.

Since: 1.0

getTitle

preferencesGroupGetTitle Source #

Arguments

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

self: a AdwPreferencesGroup

-> m Text

Returns: the title of self

Gets the title of self.

Since: 1.0

new

preferencesGroupNew Source #

Arguments

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

Returns: the newly created AdwPreferencesGroup

Creates a new AdwPreferencesGroup.

Since: 1.0

remove

preferencesGroupRemove Source #

Arguments

:: (HasCallStack, MonadIO m, IsPreferencesGroup a, IsWidget b) 
=> a

self: a AdwPreferencesGroup

-> b

child: the child to remove

-> m () 

Removes a child from self.

Since: 1.0

setDescription

preferencesGroupSetDescription Source #

Arguments

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

self: a AdwPreferencesGroup

-> Maybe Text

description: the description

-> m () 

Sets the description for self.

Since: 1.0

setTitle

preferencesGroupSetTitle Source #

Arguments

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

self: a AdwPreferencesGroup

-> Text

title: the title

-> m () 

Sets the title for self.

Since: 1.0

Properties

description

The description for this group of preferences.

Since: 1.0

clearPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> m () Source #

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

clear #description

constructPreferencesGroupDescription :: (IsPreferencesGroup o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> m (Maybe Text) Source #

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

get preferencesGroup #description

setPreferencesGroupDescription :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m () Source #

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

set preferencesGroup [ #description := value ]

title

The title for this group of preferences.

Since: 1.0

constructPreferencesGroupTitle :: (IsPreferencesGroup 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.

getPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> m Text Source #

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

get preferencesGroup #title

setPreferencesGroupTitle :: (MonadIO m, IsPreferencesGroup o) => o -> Text -> m () Source #

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

set preferencesGroup [ #title := value ]