Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/object/ags_portlet.h> typedef AgsPortlet; struct AgsPortletInterface; AgsPort * ags_portlet_get_port (AgsPortlet *portlet
);GList * ags_portlet_list_safe_properties (AgsPortlet *portlet
);void ags_portlet_safe_get_property (AgsPortlet *portlet
,,
gchar *property_name);
GValue *valuevoid ags_portlet_safe_set_property (AgsPortlet *portlet
,,
gchar *property_name);
GValue *valuevoid ags_portlet_set_port (AgsPortlet *portlet
,AgsPort *port
);
The AgsPortlet interface is intended to use with ports containing
struct AgsPortletInterface { GTypeInterface interface; AgsPort* (*get_port)(AgsPortlet *portlet); void (*set_port)(AgsPortlet *portlet, AgsPort *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); };
AgsPort * ags_portlet_get_port (AgsPortlet *portlet
);
Get port.
|
an AgsPortlet |
Returns : |
the AgsPort |
Since 0.4
GList * ags_portlet_list_safe_properties (AgsPortlet *portlet
);
Retrieve thread-safe properties.
|
an AgsPortlet |
Returns : |
a |
Since 0.4
void ags_portlet_safe_get_property (AgsPortlet *portlet
,,
gchar *property_name);
GValue *value
Get property thread safe.
|
an AgsPortlet |
|
propertie's name |
|
the |
Since 0.4
void ags_portlet_safe_set_property (AgsPortlet *portlet
,,
gchar *property_name);
GValue *value
Set property thread safe.
|
an AgsPortlet |
|
propertie's name |
|
the |
Since 0.4
void ags_portlet_set_port (AgsPortlet *portlet
,AgsPort *port
);
Set port.
|
an AgsPortlet |
|
the AgsPort |
Since 0.4