![]() |
![]() |
![]() |
Reference Manual of the tinymail framework | ![]() |
---|---|---|---|---|
TnyHeaderView; TnyHeaderViewIface; void tny_header_view_set_header (TnyHeaderView *self, TnyHeader *header); void tny_header_view_clear (TnyHeaderView *self);
A type for showing a TnyHeader to the user. This type is often used in a composition with a TnyMsgView implementation.
typedef struct _TnyHeaderView TnyHeaderView;
A view for a TnyHeader
free-function: g_object_unref
typedef struct { GTypeInterface parent; void (*set_header) (TnyHeaderView *self, TnyHeader *header); void (*clear) (TnyHeaderView *self); } TnyHeaderViewIface;
void tny_header_view_set_header (TnyHeaderView *self, TnyHeader *header);
Set self
to display header
Note that the TnyHeaderView type is often used in a composition with a TnyMsgView type (the TnyMsgView implementation contains or aggregates a TnyHeaderView).
self : |
A TnyHeaderView |
header : |
A TnyHeader |
Since 1.0 audience: application-developer, type-implementer
void tny_header_view_clear (TnyHeaderView *self);
Clear self
, show nothing
self : |
A TnyHeaderView |
Since 1.0 audience: application-developer, type-implementer