| 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_connect_view (ChamplainLicense *license,ChamplainView *view); void champlain_license_disconnect_view (ChamplainLicense *license);
ChamplainLicense implements ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
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 |
|
a license |
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_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