gi-gio-2.0.11: 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.Emblem

Contents

Description

Emblem is an implementation of Icon that supports having an emblem, which is an icon with additional properties. It can than be added to a EmblemedIcon.

Currently, only metainformation about the emblem's origin is supported. More may be added in the future.

Synopsis

Exported types

newtype Emblem Source #

Constructors

Emblem (ManagedPtr Emblem) 

Instances

GObject Emblem Source # 

Methods

gobjectType :: Emblem -> IO GType #

IsObject Emblem Source # 
IsEmblem Emblem Source # 
IsIcon Emblem Source # 
((~) * info (ResolveEmblemMethod t Emblem), MethodInfo * info Emblem p) => IsLabel t (Emblem -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Emblem -> p #

((~) * info (ResolveEmblemMethod t Emblem), MethodInfo * info Emblem p) => IsLabelProxy t (Emblem -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Emblem -> p #

HasAttributeList * Emblem Source # 
type AttributeList Emblem Source # 
type SignalList Emblem Source # 

Methods

getIcon

data EmblemGetIconMethodInfo Source #

Instances

((~) * signature (m Icon), MonadIO m, IsEmblem a) => MethodInfo * EmblemGetIconMethodInfo a signature Source # 

emblemGetIcon Source #

Arguments

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

emblem: a Emblem from which the icon should be extracted.

-> m Icon

Returns: a Icon. The returned object belongs to the emblem and should not be modified or freed.

Gives back the icon from emblem.

Since: 2.18

getOrigin

emblemGetOrigin Source #

Arguments

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

emblem: a Emblem

-> m EmblemOrigin

Returns: the origin of the emblem

Gets the origin of the emblem.

Since: 2.18

new

emblemNew Source #

Arguments

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

icon: a GIcon containing the icon.

-> m Emblem

Returns: a new Emblem.

Creates a new emblem for icon.

Since: 2.18

newWithOrigin

emblemNewWithOrigin Source #

Arguments

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

icon: a GIcon containing the icon.

-> EmblemOrigin

origin: a GEmblemOrigin enum defining the emblem's origin

-> m Emblem

Returns: a new Emblem.

Creates a new emblem for icon.

Since: 2.18

Properties

icon

data EmblemIconPropertyInfo Source #

Instances

AttrInfo EmblemIconPropertyInfo Source # 
type AttrOrigin EmblemIconPropertyInfo Source # 
type AttrLabel EmblemIconPropertyInfo Source # 
type AttrGetType EmblemIconPropertyInfo Source # 
type AttrBaseTypeConstraint EmblemIconPropertyInfo Source # 
type AttrSetTypeConstraint EmblemIconPropertyInfo Source # 
type AttrAllowedOps EmblemIconPropertyInfo Source # 

origin

data EmblemOriginPropertyInfo Source #

Instances

AttrInfo EmblemOriginPropertyInfo Source # 
type AttrOrigin EmblemOriginPropertyInfo Source # 
type AttrLabel EmblemOriginPropertyInfo Source # 
type AttrGetType EmblemOriginPropertyInfo Source # 
type AttrBaseTypeConstraint EmblemOriginPropertyInfo Source # 
type AttrSetTypeConstraint EmblemOriginPropertyInfo Source # 
type AttrAllowedOps EmblemOriginPropertyInfo Source #