gi-gio-2.0.14: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.EmblemedIcon

Contents

Description

EmblemedIcon is an implementation of Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via emblemedIconAddEmblem.

Note that EmblemedIcon allows no control over the position of the emblems. See also Emblem for more information.

Synopsis

Exported types

Methods

addEmblem

emblemedIconAddEmblem Source #

Arguments

:: (HasCallStack, MonadIO m, IsEmblemedIcon a, IsEmblem b) 
=> a

emblemed: a EmblemedIcon

-> b

emblem: a Emblem

-> m () 

Adds emblem to the List of GEmblems.

Since: 2.18

clearEmblems

emblemedIconClearEmblems Source #

Arguments

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

emblemed: a EmblemedIcon

-> m () 

Removes all the emblems from icon.

Since: 2.28

getEmblems

emblemedIconGetEmblems Source #

Arguments

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

emblemed: a EmblemedIcon

-> m [Emblem]

Returns: a List of GEmblems that is owned by emblemed

Gets the list of emblems for the icon.

Since: 2.18

getIcon

emblemedIconGetIcon Source #

Arguments

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

emblemed: a EmblemedIcon

-> m Icon

Returns: a Icon that is owned by emblemed

Gets the main icon for emblemed.

Since: 2.18

new

emblemedIconNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsIcon a, IsEmblem b) 
=> a

icon: a Icon

-> Maybe b

emblem: a Emblem, or Nothing

-> m EmblemedIcon

Returns: a new Icon

Creates a new emblemed icon for icon with the emblem emblem.

Since: 2.18

Properties

gicon