|
Revision 36
(checked in by pvanhoof, 1 year ago)
|
- Attempt to have a custom header-view widget (for now, failed)
|
| Line | |
|---|
| 1 |
#ifndef TMUT_HEADER_VIEW_H |
|---|
| 2 |
#define TMUT_HEADER_VIEW_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <gtk/gtk.h> |
|---|
| 24 |
#include <glib-object.h> |
|---|
| 25 |
#include <tny-shared.h> |
|---|
| 26 |
|
|---|
| 27 |
#include <tny-gtk-header-view.h> |
|---|
| 28 |
|
|---|
| 29 |
G_BEGIN_DECLS |
|---|
| 30 |
|
|---|
| 31 |
#define TMUT_TYPE_HEADER_VIEW (tmut_header_view_get_type ()) |
|---|
| 32 |
#define TMUT_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_HEADER_VIEW, TMutHeaderView)) |
|---|
| 33 |
#define TMUT_HEADER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_HEADER_VIEW, TMutHeaderViewClass)) |
|---|
| 34 |
#define TMUT_IS_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_HEADER_VIEW)) |
|---|
| 35 |
#define TMUT_IS_HEADER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_HEADER_VIEW)) |
|---|
| 36 |
#define TMUT_HEADER_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_HEADER_VIEW, TMutHeaderViewClass)) |
|---|
| 37 |
|
|---|
| 38 |
typedef struct _TMutHeaderView TMutHeaderView; |
|---|
| 39 |
typedef struct _TMutHeaderViewClass TMutHeaderViewClass; |
|---|
| 40 |
|
|---|
| 41 |
struct _TMutHeaderView |
|---|
| 42 |
{ |
|---|
| 43 |
GtkVBox parent; |
|---|
| 44 |
}; |
|---|
| 45 |
|
|---|
| 46 |
struct _TMutHeaderViewClass |
|---|
| 47 |
{ |
|---|
| 48 |
GtkVBoxClass parent_class; |
|---|
| 49 |
}; |
|---|
| 50 |
|
|---|
| 51 |
GType tmut_header_view_get_type (void); |
|---|
| 52 |
TnyHeaderView* tmut_header_view_new (void); |
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
G_END_DECLS |
|---|
| 56 |
|
|---|
| 57 |
#endif |
|---|