summaryrefslogtreecommitdiff
path: root/demos/icon-browser/iconbrowsericon.h
blob: 6bc520b1220a026ae93f5169b467f4de99abbf39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <gtk.h>

#define IB_TYPE_ICON (ib_icon_get_type ())
G_DECLARE_FINAL_TYPE (IbIcon, ib_icon, IB, ICON, GObject)

IbIcon *ib_icon_new                     (const char     *regular_name,
                                         const char     *symbolic_name,
                                         const char     *description,
                                         const char     *context);

const char *ib_icon_get_name            (IbIcon         *icon);
const char *ib_icon_get_regular_name    (IbIcon         *icon);
const char *ib_icon_get_symbolic_name   (IbIcon         *icon);
gboolean    ib_icon_get_use_symbolic    (IbIcon         *icon);
const char *ib_icon_get_description     (IbIcon         *icon);
const char *ib_icon_get_context         (IbIcon         *icon);