Top |
ChamplainLicense implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
ClutterActor *
champlain_license_new (void
);
Creates an instance of 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.
Since: 0.10
const gchar *
champlain_license_get_extra_text (ChamplainLicense *license
);
Gets the additional license text.
Since: 0.10
void champlain_license_set_alignment (ChamplainLicense *license
,PangoAlignment alignment
);
Set the license's text alignment.
Since: 0.10
PangoAlignment
champlain_license_get_alignment (ChamplainLicense *license
);
Get 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.
Since: 0.10
void
champlain_license_disconnect_view (ChamplainLicense *license
);
This method disconnects from the signals previously connected by champlain_license_connect_view()
.
Since: 0.10
struct ChamplainLicense;
The ChamplainLicense structure contains only private data and should be accessed using the provided API
Since: 0.10
“alignment”
property“alignment” PangoAlignment
The license's alignment
Owner: ChamplainLicense
Flags: Read / Write
Default value: PANGO_ALIGN_LEFT
Since: 0.10
“extra-text”
property“extra-text” gchar *
Sets additional text to be displayed in the license area. The map's license will be added below it. Your text can have multiple lines, just use "\n" in between.
Owner: ChamplainLicense
Flags: Read / Write
Default value: ""
Since: 0.10