Difference between revisions of "Embedding"

From Navit's Wiki
Jump to: navigation, search
m
(Added info about NAVIT_XID)
Line 1: Line 1:
This is a draft.
+
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.
Feel free to expand :)
+
You can also "pull" navit 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 sample do embed navit's window into you own window
+
See also [[Dbus]] to learn about the brand new dbus interface.
http://libgarmin.sf.net/zfe.tgz
 
 
 
See also [[Dbus]] to learn about the brand new dbus interface
 

Revision as of 11:42, 25 September 2008

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 also "pull" navit 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.