| libchamplain Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct ChamplainLicense; ClutterActor * champlain_license_new (void); void champlain_license_set_extra_text (ChamplainLicense *license,const gchar *text); const gchar * champlain_license_get_extra_text (ChamplainLicense *license); void champlain_license_set_alignment (ChamplainLicense *license,PangoAlignment alignment); PangoAlignment champlain_license_get_alignment (ChamplainLicense *license); void champlain_license_connect_view (ChamplainLicense *license,ChamplainView *view); void champlain_license_disconnect_view (ChamplainLicense *license);
ChamplainLicense implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
struct ChamplainLicense;
The ChamplainLicense structure contains only private data and should be accessed using the provided API
Since 0.10
ClutterActor * champlain_license_new (void);
Creates an instance of ChamplainLicense.
Returns : |
a new ChamplainLicense. |
Since 0.10
void champlain_license_set_extra_text (ChamplainLicense *license,const gchar *text);
Show the additional license text on the map view. The text will preceed the map's licence when displayed. Use "\n" to separate the lines.
|
a ChamplainLicense |
|
the additional license text |
Since 0.10
const gchar * champlain_license_get_extra_text (ChamplainLicense *license);
Gets the additional license text.
|
a ChamplainLicense |
Returns : |
the additional license text |
Since 0.10
void champlain_license_set_alignment (ChamplainLicense *license,PangoAlignment alignment);
Set the license's text alignment.
|
a ChamplainLicense |
|
The license's text alignment |
Since 0.10
PangoAlignment champlain_license_get_alignment (ChamplainLicense *license);
Get the license's text alignment.
|
The license |
Returns : |
the license's text alignment. |
Since 0.10
void champlain_license_connect_view (ChamplainLicense *license,ChamplainView *view);
This method connects to the necessary signals of ChamplainView to make the license change automatically when the map source changes.
|
The license |
|
a ChamplainView |
Since 0.10
void champlain_license_disconnect_view (ChamplainLicense *license);
This method disconnects from the signals previously connected by champlain_license_connect_view().
|
The license |
Since 0.10