| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef FIXED_TIP_H |
| 24 |
#define FIXED_TIP_H |
| 25 |
|
| 26 |
#include <gtk/gtk.h> |
| 27 |
|
| 28 |
G_BEGIN_DECLS |
| 29 |
|
| 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)) |
| 36 |
|
| 37 |
typedef struct _NaFixedTip NaFixedTip; |
| 38 |
typedef struct _NaFixedTipPrivate NaFixedTipPrivate; |
| 39 |
typedef struct _NaFixedTipClass NaFixedTipClass; |
| 40 |
|
| 41 |
struct _NaFixedTip |
| 42 |
{ |
| 43 |
GtkWindow parent_instance; |
| 44 |
|
| 45 |
NaFixedTipPrivate *priv; |
| 46 |
}; |
| 47 |
|
| 48 |
struct _NaFixedTipClass |
| 49 |
{ |
| 50 |
GtkWindowClass parent_class; |
| 51 |
|
| 52 |
void (* clicked) (NaFixedTip *fixedtip); |
| 53 |
}; |
| 54 |
|
| 55 |
GType na_fixed_tip_get_type (void); |
| 56 |
|
| 57 |
GtkWidget *na_fixed_tip_new (GtkWidget *parent, |
| 58 |
GtkOrientation orientation); |
| 59 |
|
| 60 |
void na_fixed_tip_set_markup (GtkWidget *widget, |
| 61 |
const char *markup_text); |
| 62 |
|
| 63 |
void na_fixed_tip_set_orientation (GtkWidget *widget, |
| 64 |
GtkOrientation orientation); |
| 65 |
|
| 66 |
G_END_DECLS |
| 67 |
|
| 68 |
#endif |