Difference between revisions of "Embedding"

From Navit's Wiki
Jump to: navigation, search
(Added info about NAVIT_XID)
m ("Fixed" english)
Line 1: Line 1:
You can embed navit in to ways: you can make navit embed itself by setting NAVIT_XID to the container into that navit should be embedded.
+
You can embed navit in to ways: you can make navit embed itself by setting NAVIT_XID.
You can also "pull" navit by using a corresponding function of your project (e.g. void QX11EmbedContainer::embedClient(WId id) for Qt 4.4).
+
Navit can also get "pulled" by using a corresponding function of your project (e.g. void QX11EmbedContainer::embedClient(WId id) for Qt 4.4).
  
 
Here is a gtk sample to embed navit's window into you own window: http://libgarmin.sf.net/zfe.tgz  
 
Here is a gtk sample to embed navit's window into you own window: http://libgarmin.sf.net/zfe.tgz  
  
 
See also [[Dbus]] to learn about the brand new dbus interface.
 
See also [[Dbus]] to learn about the brand new dbus interface.

Revision as of 16:59, 25 September 2008

You can embed navit in to ways: you can make navit embed itself by setting NAVIT_XID. Navit can also get "pulled" by using a corresponding function of your project (e.g. void QX11EmbedContainer::embedClient(WId id) for Qt 4.4).

Here is a gtk sample to embed navit's window into you own window: http://libgarmin.sf.net/zfe.tgz

See also Dbus to learn about the brand new dbus interface.