navit  0.5.3-trunk
gui.c File Reference
#include <glib.h>
#include <string.h>
#include "debug.h"
#include "callback.h"
#include "gui.h"
#include "menu.h"
#include "data_window.h"
#include "item.h"
#include "plugin.h"

Data Structures

struct  gui
 

Functions

struct guigui_new (struct attr *parent, struct attr **attrs)
 
int gui_get_attr (struct gui *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
 
int gui_set_attr (struct gui *this_, struct attr *attr)
 
int gui_add_attr (struct gui *this_, struct attr *attr)
 
struct menugui_menubar_new (struct gui *gui)
 
struct menugui_popup_new (struct gui *gui)
 
struct datawindowgui_datawindow_new (struct gui *gui, const char *name, struct callback *click, struct callback *close)
 
int gui_add_bookmark (struct gui *gui, struct pcoord *c, char *description)
 
int gui_set_graphics (struct gui *this_, struct graphics *gra)
 
void gui_disable_suspend (struct gui *this_)
 
int gui_has_main_loop (struct gui *this_)
 
int gui_run_main_loop (struct gui *this_)
 

Function Documentation

◆ gui_add_attr()

int gui_add_attr ( struct gui this_,
struct attr attr 
)

◆ gui_add_bookmark()

int gui_add_bookmark ( struct gui gui,
struct pcoord c,
char *  description 
)

◆ gui_datawindow_new()

struct datawindow* gui_datawindow_new ( struct gui gui,
const char *  name,
struct callback click,
struct callback close 
)

◆ gui_disable_suspend()

void gui_disable_suspend ( struct gui this_)

◆ gui_get_attr()

int gui_get_attr ( struct gui this_,
enum attr_type  type,
struct attr attr,
struct attr_iter iter 
)

◆ gui_has_main_loop()

int gui_has_main_loop ( struct gui this_)

References gui::meth, and gui_methods::run_main_loop.

Referenced by navit_set_gui().

◆ gui_menubar_new()

struct menu* gui_menubar_new ( struct gui gui)

◆ gui_new()

struct gui* gui_new ( struct attr parent,
struct attr **  attrs 
)

◆ gui_popup_new()

struct menu* gui_popup_new ( struct gui gui)

◆ gui_run_main_loop()

int gui_run_main_loop ( struct gui this_)

◆ gui_set_attr()

int gui_set_attr ( struct gui this_,
struct attr attr 
)

◆ gui_set_graphics()

int gui_set_graphics ( struct gui this_,
struct graphics gra 
)