Blame docs/reference/gio/html/GEmblem.html

Packit ae235b
Packit ae235b
<html>
Packit ae235b
<head>
Packit ae235b
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit ae235b
<title>GEmblem: GIO Reference Manual</title>
Packit ae235b
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit ae235b
<link rel="home" href="index.html" title="GIO Reference Manual">
Packit ae235b
<link rel="up" href="icons.html" title="Icons">
Packit ae235b
<link rel="prev" href="GEmblemedIcon.html" title="GEmblemedIcon">
Packit ae235b
<link rel="next" href="failable_initialization.html" title="Failable Initialization">
Packit ae235b
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit ae235b
<link rel="stylesheet" href="style.css" type="text/css">
Packit ae235b
</head>
Packit ae235b
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit ae235b
Packit ae235b
Packit ae235b
Top  | 
Packit ae235b
                  Description  | 
Packit ae235b
                  Object Hierarchy  | 
Packit ae235b
                  Implemented Interfaces  | 
Packit ae235b
                  Properties
Packit ae235b
Packit ae235b
Home
Packit ae235b
Up
Packit ae235b
Prev
Packit ae235b
Next
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

GEmblem

Packit ae235b

GEmblem — An object for emblems

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GEmblem *
Packit ae235b
Packit ae235b
Packit ae235b
g_emblem_new ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GEmblem *
Packit ae235b
Packit ae235b
Packit ae235b
g_emblem_new_with_origin ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GIcon *
Packit ae235b
Packit ae235b
Packit ae235b
g_emblem_get_icon ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GEmblemOrigin
Packit ae235b
Packit ae235b
Packit ae235b
g_emblem_get_origin ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Properties

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GObject *
Packit ae235b
icon
Packit ae235b
Read / Write / Construct Only
Packit ae235b
Packit ae235b
Packit ae235b
GEmblemOrigin
Packit ae235b
origin
Packit ae235b
Read / Write / Construct Only
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
 
Packit ae235b
GEmblem
Packit ae235b
Packit ae235b
Packit ae235b
enum
Packit ae235b
GEmblemOrigin
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Object Hierarchy

Packit ae235b
    GObject
Packit ae235b
    ╰── GEmblem
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Implemented Interfaces

Packit ae235b

Packit ae235b
GEmblem implements
Packit ae235b
 GIcon.

Packit ae235b
Packit ae235b
Packit ae235b

Includes

Packit ae235b
#include <gio/gio.h>
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Description

Packit ae235b

GEmblem is an implementation of GIcon that supports

Packit ae235b
having an emblem, which is an icon with additional properties.
Packit ae235b
It can than be added to a GEmblemedIcon.

Packit ae235b

Currently, only metainformation about the emblem's origin is

Packit ae235b
supported. More may be added in the future.

Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b

g_emblem_new ()

Packit ae235b
GEmblem *
Packit ae235b
g_emblem_new (GIcon *icon);
Packit ae235b

Creates a new emblem for icon

Packit ae235b
.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

icon

Packit ae235b

a GIcon containing the icon.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

a new GEmblem.

Packit ae235b
Packit ae235b

Since: 2.18

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

g_emblem_new_with_origin ()

Packit ae235b
GEmblem *
Packit ae235b
g_emblem_new_with_origin (GIcon *icon,
Packit ae235b
                          GEmblemOrigin origin);
Packit ae235b

Creates a new emblem for icon

Packit ae235b
.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

icon

Packit ae235b

a GIcon containing the icon.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b

origin

Packit ae235b

a GEmblemOrigin enum defining the emblem's origin

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

a new GEmblem.

Packit ae235b
Packit ae235b

Since: 2.18

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

g_emblem_get_icon ()

Packit ae235b
GIcon *
Packit ae235b
g_emblem_get_icon (GEmblem *emblem);
Packit ae235b

Gives back the icon from emblem

Packit ae235b
.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

emblem

Packit ae235b

a GEmblem from which the icon should be extracted.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

a GIcon. The returned object belongs to

Packit ae235b
the emblem and should not be modified or freed. 

Packit ae235b

[transfer none]

Packit ae235b
Packit ae235b

Since: 2.18

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

g_emblem_get_origin ()

Packit ae235b
GEmblemOrigin
Packit ae235b
g_emblem_get_origin (GEmblem *emblem);
Packit ae235b

Gets the origin of the emblem.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

emblem

Packit ae235b

a GEmblem

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

the origin of the emblem.

Packit ae235b

[transfer none]

Packit ae235b
Packit ae235b

Since: 2.18

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b

GEmblem

Packit ae235b
typedef struct _GEmblem GEmblem;
Packit ae235b

An object for Emblems

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

enum GEmblemOrigin

Packit ae235b

GEmblemOrigin is used to add information about the origin of the emblem

Packit ae235b
to GEmblem.

Packit ae235b
Packit ae235b

Members

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

G_EMBLEM_ORIGIN_UNKNOWN

Packit ae235b
Packit ae235b

Emblem of unknown origin

Packit ae235b
Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b

G_EMBLEM_ORIGIN_DEVICE

Packit ae235b
Packit ae235b

Emblem adds device-specific information

Packit ae235b
Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b

G_EMBLEM_ORIGIN_LIVEMETADATA

Packit ae235b
Packit ae235b

Emblem depicts live metadata, such as "readonly"

Packit ae235b
Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b

G_EMBLEM_ORIGIN_TAG

Packit ae235b
Packit ae235b

Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)

Packit ae235b
Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Since: 2.18

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Property Details

Packit ae235b
Packit ae235b

The “icon” property

Packit ae235b
  “icon”                     GObject *
Packit ae235b

The actual icon of the emblem.

Packit ae235b

Flags: Read / Write / Construct Only

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

The “origin” property

Packit ae235b
  “origin”                   GEmblemOrigin
Packit ae235b

Tells which origin the emblem is derived from.

Packit ae235b

Flags: Read / Write / Construct Only

Packit ae235b

Default value: G_EMBLEM_ORIGIN_UNKNOWN

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

See Also

Packit ae235b

GIcon, GEmblemedIcon, GLoadableIcon, GThemedIcon

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Generated by GTK-Doc V1.27
Packit ae235b
</body>
Packit ae235b
</html>