![]() |
![]() |
![]() |
libchamplain-gtk Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GtkChamplainEmbedGtkChamplainEmbed — A Gtk+ Widget that embeds a ChamplainView |
struct GtkChamplainEmbed; GtkWidget * gtk_champlain_embed_new (void
); ChamplainView * gtk_champlain_embed_get_view (GtkChamplainEmbed *embed
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkAlignment +----GtkChamplainEmbed
Since ChamplainView is a ClutterActor, you cannot embed it directly into a Gtk+ application. This widget solves this problem. It creates the ChamplainView for you, you can get it with gtk_champlain_embed_get_view.
struct GtkChamplainEmbed;
The GtkChamplainEmbed structure contains only private data and should be accessed using the provided API
Since 0.4
GtkWidget * gtk_champlain_embed_new (void
);
Creates an instance of GtkChamplainEmbed.
Returns : |
a new GtkChamplainEmbed ready to be used as a GtkWidget. |
Since 0.4
ChamplainView * gtk_champlain_embed_get_view (GtkChamplainEmbed *embed
);
Gets a ChamplainView from the GtkChamplainEmbed object.
|
a ChamplainView, the map view to embed |
Returns : |
a ChamplainView ready to be used. [transfer none] |
Since 0.4
"champlain-view"
property"champlain-view" ChamplainView* : Read
The ChamplainView to embed in the Gtk+ widget.
Since 0.4