Custom GTK GUI Tutorial

From Navit's Wiki
Jump to: navigation, search

Hi everyone, after a long time of coding with navit and allot of questions about it i thought of making a small contribution and doing a very simple tutorial about the GTK GUI.

This is going to be a very simple sample with the Navit's Map displayed on your new window with nothing else.

The whole theory (or atleast how i did it) is to put navit in a Fixed container and start adding and hiding things.

Below is a starting point of your GUI. We are going to modify gui_gtk_window.c which is located in /navit-0.0.4/src/gui/gtk


I'll post some code in a while bare with me :)

Personal tools