3
* Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
5
* This program is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License as published by the Free
7
* Software Foundation; either version 2 of the License, or (at your option)
10
* This program is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15
* You should have received a copy of the GNU General Public License along with
16
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17
* Place, Suite 330, Boston, MA 02111-1307 USA
20
#ifndef __FRAP_ICON_ENTRY_H__
21
#define __FRAP_ICON_ENTRY_H__
27
typedef struct _FrapIconEntryPrivate FrapIconEntryPrivate;
28
typedef struct _FrapIconEntryClass FrapIconEntryClass;
29
typedef struct _FrapIconEntry FrapIconEntry;
31
#define FRAP_TYPE_ICON_ENTRY (frap_icon_entry_get_type ())
32
#define FRAP_ICON_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FRAP_TYPE_ICON_ENTRY, FrapIconEntry))
33
#define FRAP_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FRAP_TYPE_ICON_ENTRY, FrapIconEntryClass))
34
#define FRAP_IS_ICON_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FRAP_TYPE_ICON_ENTRY))
35
#define FRAP_IS_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FRAP_TYPE_ICON_ENTRY))
36
#define FRAP_ICON_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FRAP_TYPE_ICON_ENTRY, FrapIconEntryClass))
38
struct _FrapIconEntryClass
40
GtkEntryClass __parent__;
47
FrapIconEntryPrivate *priv;
50
GType frap_icon_entry_get_type (void) G_GNUC_CONST;
52
GtkWidget *frap_icon_entry_new (void) G_GNUC_MALLOC;
54
GtkIconSize frap_icon_entry_get_size (FrapIconEntry *icon_entry);
55
void frap_icon_entry_set_size (FrapIconEntry *icon_entry,
58
const gchar *frap_icon_entry_get_stock_id (FrapIconEntry *icon_entry);
59
void frap_icon_entry_set_stock_id (FrapIconEntry *icon_entry,
60
const gchar *stock_id);
64
#endif /* !__FRAP_ICON_ENTRY_H__ */