Basics
Guides
API Reference
Basics
Guides
API Reference
[182:14] static extends: object
Generated metadata helpers for EmblemedIcon class surfaces.
properties ()
Returns property metadata for
EmblemedIcon.
A list.[16:7] extends: object
GEmblemedIcon is an implementation of [iface@Gio.Icon] that supports adding
an emblem to an icon. Adding multiple emblems to an icon is ensured via
[method@Gio.EmblemedIcon.add_emblem]. Note that GEmblemedIcon allows no
control over the position of the emblems. See also [class@Gio.Emblem] for
more information.
EmblemedIcon (icon = null, emblem = null)
Creates a new emblemed icon for @icon with the emblem @emblem.
icon is a #GIcon.emblem is a #GEmblem, or %NULL.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asIcon ()
Wraps this handle as
Icon.
A Icon object.add_emblem (object emblem)
Adds @emblem to the #GList of #GEmblems.
emblem is a #GEmblem.None.clear_emblems ()
Removes all the emblems from @icon.
None.get_emblems ()
Gets the list of emblems for the @icon.
get_icon ()
Gets the main icon for @emblemed.
emblems ()
Returns
get_emblemsas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_emblems()when lazy or change-notify access is required.
An Aussom list of elements.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.