Top |
GObject * | ags_portlet_get_port () |
void | ags_portlet_set_port () |
GList * | ags_portlet_list_safe_properties () |
void | ags_portlet_safe_get_property () |
void | ags_portlet_safe_set_property () |
#define | AGS_IS_PORTLET() |
#define | AGS_IS_PORTLET_INTERFACE() |
#define | AGS_PORTLET() |
#define | AGS_PORTLET_GET_INTERFACE() |
#define | AGS_PORTLET_INTERFACE() |
GType | ags_portlet_get_type () |
The AgsPortlet interface is intended to use with ports containing GObject. Whereas its should implement this interface.
GObject *
ags_portlet_get_port (AgsPortlet *portlet
);
Get port.
Since: 3.0.0
void ags_portlet_set_port (AgsPortlet *portlet
,GObject *port
);
Set port.
Since: 3.0.0
GList *
ags_portlet_list_safe_properties (AgsPortlet *portlet
);
Retrieve thread-safe properties.
Since: 3.0.0
void ags_portlet_safe_get_property (AgsPortlet *portlet
,gchar *property_name
,GValue *value
);
Get property thread safe.
Since: 3.0.0
void ags_portlet_safe_set_property (AgsPortlet *portlet
,gchar *property_name
,GValue *value
);
Set property thread safe.
Since: 3.0.0
#define AGS_IS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PORTLET))
#define AGS_PORTLET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORTLET, AgsPortlet))
#define AGS_PORTLET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PORTLET, AgsPortletInterface))
#define AGS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PORTLET, AgsPortletInterface))
struct AgsPortletInterface { GTypeInterface ginterface; GObject* (*get_port)(AgsPortlet *portlet); void (*set_port)(AgsPortlet *portlet, GObject *port); GList* (*list_safe_properties)(AgsPortlet *portlet); void (*safe_get_property)(AgsPortlet *portlet, gchar *property_name, GValue *value); void (*safe_set_property)(AgsPortlet *portlet, gchar *property_name, GValue *value); };