2
* Copyright (C) 2003, 2004, 2005 Christian Persch
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
19
* Adapted and modified from gtk+ code:
21
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
22
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
23
* file in the gtk+ distribution for a list of people on the GTK+ Team.
24
* See the ChangeLog in the gtk+ distribution files for a list of changes.
25
* These files are distributed with GTK+ at ftp://ftp.gtk.org/pub/gtk/.
27
* $Id: ephy-icon-entry.h 27 2006-02-10 19:19:43Z orph $
30
#ifndef EPHY_ICON_ENTRY_H
31
#define EPHY_ICON_ENTRY_H
33
#include <gtk/gtkbin.h>
37
#define EPHY_TYPE_ICON_ENTRY (ephy_icon_entry_get_type())
38
#define EPHY_ICON_ENTRY(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_ICON_ENTRY, EphyIconEntry))
39
#define EPHY_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_ICON_ENTRY, EphyIconEntryClass))
40
#define EPHY_IS_ICON_ENTRY(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_ICON_ENTRY))
41
#define EPHY_IS_ICON_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_ICON_ENTRY))
42
#define EPHY_ICON_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_ICON_ENTRY, EphyIconEntryClass))
44
typedef struct _EphyIconEntryClass EphyIconEntryClass;
45
typedef struct _EphyIconEntry EphyIconEntry;
46
typedef struct _EphyIconEntryPrivate EphyIconEntryPrivate;
48
struct _EphyIconEntryClass
50
GtkBinClass parent_class;
61
EphyIconEntryPrivate *priv;
64
GType ephy_icon_entry_get_type (void);
66
GtkWidget *ephy_icon_entry_new (void);
68
void ephy_icon_entry_pack_widget (EphyIconEntry *entry,
72
GtkWidget *ephy_icon_entry_get_entry (EphyIconEntry *entry);