~vcs-imports/mayanna/trunk

« back to all changes in this revision

Viewing changes to mayanna/iconentry/ephy-icon-entry.h

  • Committer: seiflotfy
  • Date: 2008-04-09 23:20:00 UTC
  • Revision ID: vcs-imports@canonical.com-20080409232000-qpgm81uu4kucnvs6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2003, 2004, 2005  Christian Persch
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
18
 *
 
19
 *  Adapted and modified from gtk+ code:
 
20
 *
 
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/. 
 
26
 *
 
27
 *  $Id: ephy-icon-entry.h 27 2006-02-10 19:19:43Z orph $
 
28
 */
 
29
 
 
30
#ifndef EPHY_ICON_ENTRY_H
 
31
#define EPHY_ICON_ENTRY_H
 
32
 
 
33
#include <gtk/gtkbin.h>
 
34
 
 
35
G_BEGIN_DECLS
 
36
 
 
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))
 
43
 
 
44
typedef struct _EphyIconEntryClass      EphyIconEntryClass;
 
45
typedef struct _EphyIconEntry           EphyIconEntry;
 
46
typedef struct _EphyIconEntryPrivate    EphyIconEntryPrivate;
 
47
 
 
48
struct _EphyIconEntryClass
 
49
{
 
50
        GtkBinClass parent_class;
 
51
};
 
52
 
 
53
struct _EphyIconEntry
 
54
{
 
55
        GtkBin parent_object;
 
56
 
 
57
        /*< public >*/
 
58
        GtkWidget *entry;
 
59
 
 
60
        /*< private >*/
 
61
        EphyIconEntryPrivate *priv;
 
62
};
 
63
 
 
64
GType           ephy_icon_entry_get_type        (void);
 
65
 
 
66
GtkWidget      *ephy_icon_entry_new             (void);
 
67
 
 
68
void            ephy_icon_entry_pack_widget     (EphyIconEntry *entry,
 
69
                                                 GtkWidget *widget,
 
70
                                                 gboolean start);
 
71
 
 
72
GtkWidget      *ephy_icon_entry_get_entry       (EphyIconEntry *entry);
 
73
 
 
74
G_END_DECLS
 
75
 
 
76
#endif