| 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 {
GTypeInterface parent;
void (*set_header_func) (TnyHeaderView *self, TnyHeader *header);
void (*clear_func) (TnyHeaderView *self);
} TnyHeaderViewIface;
void tny_header_view_set_header (TnyHeaderView *self, TnyHeader *header);
Set self to display header
Implementors: this method should cause self to show header to the user.
This typically means showing the from, to, subject, date and cc labels.
The TnyHeaderView type is often used in a composition with a TnyMsgView type (the TnyMsgView implementation contains or aggregates a TnyHeaderView).
self : |
A TnyHeaderView instance |
header : |
A TnyHeader instace |
void tny_header_view_clear (TnyHeaderView *self);
Clear self (show nothing)
Implementors: this method should clear view self (display nothing and
clearup)
self : |
A TnyHeaderView instance |