GtkChamplainEmbed

GtkChamplainEmbed — A Gtk+ Widget that embeds a ChamplainView

Synopsis

struct              GtkChamplainEmbed;
GtkWidget *         gtk_champlain_embed_new             (void);
ChamplainView *     gtk_champlain_embed_get_view        (GtkChamplainEmbed *embed);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkAlignment
                                       +----GtkChamplainEmbed

Implemented Interfaces

GtkChamplainEmbed implements AtkImplementorIface and GtkBuildable.

Properties

  "champlain-view"           ChamplainView*        : Read

Description

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.

Details

struct GtkChamplainEmbed

struct GtkChamplainEmbed;


gtk_champlain_embed_new ()

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


gtk_champlain_embed_get_view ()

ChamplainView *     gtk_champlain_embed_get_view        (GtkChamplainEmbed *embed);

Gets a ChamplainView from the GtkChamplainEmbed object.

embed :

a ChamplainView, the map view to embed

Returns :

a ChamplainView ready to be used. [transfer none]

Since 0.4

Property Details

The "champlain-view" property

  "champlain-view"           ChamplainView*        : Read

The ChamplainView to embed in the Gtk+ widget.

Since 0.4