![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
MexContentProxyMexContentProxy — A bridge between a model and user interface elements, which creates widgets from model content items. |
struct MexContentProxy; struct MexContentProxyClass; MexProxy * mex_content_proxy_new (MexModel *model
,ClutterContainer *view
,GType object_type
); void mex_content_proxy_set_stage (MexContentProxy *proxy
,ClutterStage *stage
); MexContentProxyPrivate;
An MexContentProxy is associated with an MexModel, a ClutterContainer, and an MxWidget subclass which implements MexContentView.
As objects from the model are added to the proxy, they are added to the container as widgets of the specified class.
The implementation of MexContentView determines how metadata or other properties of a content item are translated to properties on the widget.
MexProxy * mex_content_proxy_new (MexModel *model
,ClutterContainer *view
,GType object_type
);
void mex_content_proxy_set_stage (MexContentProxy *proxy
,ClutterStage *stage
);