| libccc Reference Manual | ||||
|---|---|---|---|---|
#include <ccc.h>
CcItemView;
CcItemViewIface;
void cc_item_view_register (CcItemView *self,
CcItem *item);
void cc_item_view_unregister (CcItemView *self,
CcItem *item);
CcItemView is implemented by CcSimpleItem, CcCamera, CcText, CcShape, CcItem, CcViewCellRenderer, CcPixbuf, CcCaret, CcLine, CcRoundedRectangle, CcViewWidget, CcCircle and CcRectangle.
typedef struct {
GTypeInterface base_iface;
/* vtable */
void (*item_added) (CcItemView * self,
CcItem * item,
gint position,
CcItem * child);
void (*item_removed) (CcItemView * self,
CcItem * item,
gint position,
CcItem * child);
void (*item_dirty) (CcItemView * self,
CcItem * item,
CcView const * view,
CcDRect const* dirty);
void (*notify_all_bounds) (CcItemView * self,
CcItem * item,
CcView * view,
CcDRect const* all_bounds);
} CcItemViewIface;
void cc_item_view_unregister (CcItemView *self, CcItem *item);
self : |
|
item : |