1
/* Fixed tooltip routine */
4
* Copyright (C) 2001 Havoc Pennington, 2002 Red Hat Inc.
5
* Copyright (C) 2003-2006 Vincent Untz
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License as
9
* published by the Free Software Foundation; either version 2 of the
10
* License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
30
#define NA_TYPE_FIXED_TIP (na_fixed_tip_get_type ())
31
#define NA_FIXED_TIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NA_TYPE_FIXED_TIP, NaFixedTip))
32
#define NA_FIXED_TIP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NA_TYPE_FIXED_TIP, NaFixedTipClass))
33
#define NA_IS_FIXED_TIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NA_TYPE_FIXED_TIP))
34
#define NA_IS_FIXED_TIP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NA_TYPE_FIXED_TIP))
35
#define NA_FIXED_TIP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NA_TYPE_FIXED_TIP, NaFixedTipClass))
37
typedef struct _NaFixedTip NaFixedTip;
38
typedef struct _NaFixedTipPrivate NaFixedTipPrivate;
39
typedef struct _NaFixedTipClass NaFixedTipClass;
43
GtkWindow parent_instance;
45
NaFixedTipPrivate *priv;
48
struct _NaFixedTipClass
50
GtkWindowClass parent_class;
52
void (* clicked) (NaFixedTip *fixedtip);
55
GType na_fixed_tip_get_type (void);
57
GtkWidget *na_fixed_tip_new (GtkWidget *parent,
58
GtkOrientation orientation);
60
void na_fixed_tip_set_markup (GtkWidget *widget,
61
const char *markup_text);
63
void na_fixed_tip_set_orientation (GtkWidget *widget,
64
GtkOrientation orientation);
68
#endif /* FIXED_TIP_H */