Constructor
GioEmblemnew_with_origin
since: 2.18
Declaration [src]
GEmblem*
g_emblem_new_with_origin (
GIcon* icon,
GEmblemOrigin origin
)
Parameters
icon
-
Type:
GIcon
A GIcon containing the icon.
The data is owned by the caller of the function. origin
-
Type:
GEmblemOrigin
A GEmblemOrigin enum defining the emblem’s origin.
Return value
Type: GEmblem
A new GEmblem
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |