AgsPortlet

AgsPortlet — interfacing portlets

Functions

Object Hierarchy

    GInterface
    ╰── AgsPortlet

Known Implementations

AgsPortlet is implemented by AgsAutomation, AgsNotation and AgsPattern.

Includes

#include <ags/object/ags_portlet.h>

Description

The AgsPortlet interface is intended to use with ports containing GObject. Whereas its should implement this interface.

Functions

ags_portlet_get_port ()

AgsPort *
ags_portlet_get_port (AgsPortlet *portlet);

Get port.

Parameters

portlet

an AgsPortlet

 

Returns

the AgsPort

Since: 0.4


ags_portlet_set_port ()

void
ags_portlet_set_port (AgsPortlet *portlet,
                      AgsPort *port);

Set port.

Parameters

portlet

an AgsPortlet

 

port

the AgsPort

 

Since: 0.4


ags_portlet_list_safe_properties ()

GList *
ags_portlet_list_safe_properties (AgsPortlet *portlet);

Retrieve thread-safe properties.

Parameters

portlet

an AgsPortlet

 

Returns

a GList containing properties

Since: 0.4


ags_portlet_safe_get_property ()

void
ags_portlet_safe_get_property (AgsPortlet *portlet,
                               gchar *property_name,
                               GValue *value);

Get property thread safe.

Parameters

portlet

an AgsPortlet

 

property_name

propertie's name

 

value

the GValue

 

Since: 0.4


ags_portlet_safe_set_property ()

void
ags_portlet_safe_set_property (AgsPortlet *portlet,
                               gchar *property_name,
                               GValue *value);

Set property thread safe.

Parameters

portlet

an AgsPortlet

 

property_name

propertie's name

 

value

the GValue

 

Since: 0.4

Types and Values