![]() |
![]() |
![]() |
libchamplain-gtk Reference Manual | |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GtkChamplainEmbedGtkChamplainEmbed — A Gtk+ Widget that embeds a ChamplainView |
GtkChamplainEmbed; GtkWidget * gtk_champlain_embed_new (void); ChamplainView * gtk_champlain_embed_get_view (GtkChamplainEmbed *embed);
GObject +----GInitiallyUnowned +----GtkObject +----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.
GtkWidget * gtk_champlain_embed_new (void);
Returns : |
a new GtkChamplainEmbed ready to be used as a GtkWidget. |
Since 0.4
ChamplainView * gtk_champlain_embed_get_view (GtkChamplainEmbed *embed);
|
a ChamplainView, the map view to embed |
Returns : |
a ChamplainView ready to be used |
Since 0.4
"champlain-view"
property"champlain-view" ChamplainView* : Read
The ChamplainView to embed in the Gtk+ widget.
Since 0.4