TnyHeaderView

TnyHeaderView — A type for showing a header

Synopsis




                    TnyHeaderView;
                    TnyHeaderViewIface;
void                tny_header_view_set_header          (TnyHeaderView *self,
                                                         TnyHeader *header);
void                tny_header_view_clear               (TnyHeaderView *self);

Object Hierarchy


  GInterface
   +----TnyHeaderView

Prerequisites

TnyHeaderView requires GObject.

Known Implementations

TnyHeaderView is implemented by TnyGtkHeaderView.

Description

A type for showing a TnyHeader to the user. This type is often used in a composition with a TnyMsgView implementation.

Details

TnyHeaderView

typedef struct _TnyHeaderView TnyHeaderView;


TnyHeaderViewIface

typedef struct {
	GTypeInterface parent;

	void (*set_header_func) (TnyHeaderView *self, TnyHeader *header);
	void (*clear_func) (TnyHeaderView *self);   
} TnyHeaderViewIface;


tny_header_view_set_header ()

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

tny_header_view_clear ()

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

See Also

TnyHeader, TnyMsgView, TnyMsgWindow, TnyGtkMsgView, TnyGtkMsgWindow