Source for callbacks. More...
#include "Gir/OsmGpsMap-1.0.bi"#include "track_store.bi"#include "track_layer.bi"#include "gui.bi"#include "debug.bi"
Go to the source code of this file.
Macros | |
| #define | GENERAL_KEYS() |
| #define | BLANK_KEYS() |
| #define | SHIFT_CONTROL_KEYS() |
| #define | CONTROL_KEYS() |
| #define | ALT_KEYS() |
Functions | |
| SUB_CDECL_ALIAS | on_TrackEnable_toggled (BYVAL_AS_GtkCellRendererToggle_PTR Cell, BYVAL_AS_gchar_PTR Path, BYVAL_AS_gpointer UDat) |
| Callback handling the enable button in the track view. More... | |
| SUB_CDECL_ALIAS | on_TrackSel_clicked (BYVAL_AS_GtkCellRendererToggle_PTR Cell, BYVAL_AS_gchar_PTR Path, BYVAL_AS_gpointer UDat) |
| Callback handling the track selection. More... | |
| SUB_CDECL_ALIAS | on_Load_clicked (BYVAL_AS_GtkButton_PTR Butt, BYVAL_AS_gpointer UDat) |
| Call back handling the load action. More... | |
| SUB_CDECL_ALIAS | on_Map_selected (BYVAL_AS_GtkTreeView_PTR Tree, BYVAL_AS_GtkTreePath_PTR Path, BYVAL_AS_GtkTreeViewColumn_PTR Clmn, BYVAL_AS_gpointer UDat) |
| Callback fetching a new map source selection. More... | |
| SUB_CDECL_ALIAS | on_Poov_limit_size (BYVAL_AS_GtkContainer_PTR Cont, BYVAL_AS_gpointer UDat) |
| FIXME. More... | |
| SUB_CDECL_ALIAS | on_Layer_toggled (BYVAL_AS_GtkToggleButton_PTR Butt, BYVAL_AS_gpointer UDat) |
| Callback fetching the layer state. More... | |
| FUNCTION_CDECL_ALIAS_AS_gboolean | on_WIN_state (BYVAL_AS_GtkWidget_PTR Wid, BYVAL_AS_GdkEventWindowState_PTR Event, BYVAL_AS_gpointer Ud) |
| Callback fetching state changes. More... | |
| FUNCTION_CDECL_ALIAS_AS_gboolean | on_Map_keypress (BYVAL_AS_GtkWidget_PTR Wid, BYVAL_AS_GdkEventKey_PTR Event, BYVAL_AS_gpointer UDat) |
Source for callbacks.
The callbacks in this source file handle user actions on the grafical user interface (mouse and keyboard).
Definition in file callbacks.bas.
| #define GENERAL_KEYS | ( | ) |
Definition at line 195 of file callbacks.bas.
| #define BLANK_KEYS | ( | ) |
Definition at line 196 of file callbacks.bas.
| #define SHIFT_CONTROL_KEYS | ( | ) |
Definition at line 197 of file callbacks.bas.
| #define CONTROL_KEYS | ( | ) |
Definition at line 198 of file callbacks.bas.
| #define ALT_KEYS | ( | ) |
Definition at line 199 of file callbacks.bas.
| SUB_CDECL_ALIAS on_TrackEnable_toggled | ( | BYVAL_AS_GtkCellRendererToggle_PTR | Cell, |
| BYVAL_AS_gchar_PTR | Path, | ||
| BYVAL_AS_gpointer | UDat | ||
| ) |
Callback handling the enable button in the track view.
| Cell | Cell renderer emitting the signal |
| Path | Path (row) in tree store |
| UDat | Tree store to manipulate |
FIXME
Definition at line 26 of file callbacks.bas.
| SUB_CDECL_ALIAS on_TrackSel_clicked | ( | BYVAL_AS_GtkCellRendererToggle_PTR | Cell, |
| BYVAL_AS_gchar_PTR | Path, | ||
| BYVAL_AS_gpointer | UDat | ||
| ) |
Callback handling the track selection.
| Cell | FIXME |
| Path | FIXME |
| UDat | FIXME |
FIXME
Definition at line 48 of file callbacks.bas.

| SUB_CDECL_ALIAS on_Load_clicked | ( | BYVAL_AS_GtkButton_PTR | Butt, |
| BYVAL_AS_gpointer | UDat | ||
| ) |
Call back handling the load action.
| Butt | Button emitting the signal |
| UDat | Unused |
SUB handling track loading when user clicks on load button. It opens the file load dialog and loads the file[s] selected by the user.
Definition at line 66 of file callbacks.bas.

| SUB_CDECL_ALIAS on_Map_selected | ( | BYVAL_AS_GtkTreeView_PTR | Tree, |
| BYVAL_AS_GtkTreePath_PTR | Path, | ||
| BYVAL_AS_GtkTreeViewColumn_PTR | Clmn, | ||
| BYVAL_AS_gpointer | UDat | ||
| ) |
Callback fetching a new map source selection.
| Tree | Tree view emitting the signal |
| Path | Path (row) of new selection |
| Clmn | Column (unused) |
| UDat | Popover widget to close |
FIXME
Definition at line 99 of file callbacks.bas.
| SUB_CDECL_ALIAS on_Poov_limit_size | ( | BYVAL_AS_GtkContainer_PTR | Cont, |
| BYVAL_AS_gpointer | UDat | ||
| ) |
FIXME.
| Cont | Container emitting the signal |
| UDat | FIXME |
FIXME
Definition at line 129 of file callbacks.bas.
| SUB_CDECL_ALIAS on_Layer_toggled | ( | BYVAL_AS_GtkToggleButton_PTR | Butt, |
| BYVAL_AS_gpointer | UDat | ||
| ) |
Callback fetching the layer state.
| Butt | Button emiting the signal |
| UDat | Unused |
SUB handling the map layer. The original OsmGpsMapLayer gets added or removed from the map widget. And the internal coordinates display get a note by setting the PARdata.LayOn flag.
Definition at line 158 of file callbacks.bas.
| FUNCTION_CDECL_ALIAS_AS_gboolean on_WIN_state | ( | BYVAL_AS_GtkWidget_PTR | Wid, |
| BYVAL_AS_GdkEventWindowState_PTR | Event, | ||
| BYVAL_AS_gpointer | Ud | ||
| ) |
Callback fetching state changes.
| Wid | Widget (WinMain) |
| Event | Event window state |
| Ud | User data |
Function to monitor the state of the main window, in order to fetch the full screen property.
Definition at line 185 of file callbacks.bas.
| FUNCTION_CDECL_ALIAS_AS_gboolean on_Map_keypress | ( | BYVAL_AS_GtkWidget_PTR | Wid, |
| BYVAL_AS_GdkEventKey_PTR | Event, | ||
| BYVAL_AS_gpointer | UDat | ||
| ) |
Definition at line 201 of file callbacks.bas.