#include <gdk/gdkkeysyms.h>
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include "support.h"
#include "interface.h"
#include "callback.h"
#include "charset.h"
#include "prefs.h"
#include "log.h"
Include dependency graph for callback.c:
Classes | |
struct | Sector |
this struct to record the section when parse the file More... | |
Defines | |
#define | MAXLEVEL 8 |
Functions | |
void | on_menu_about_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | fill_data_on_open (FILE *fp, gpointer data) |
void | real_open (gpointer data) |
static void | store_filename (GtkFileSelection *selector, gpointer user_data) |
static void | open_file (gpointer data) |
void | on_file_open_activate (GtkMenuItem *menuitem, gpointer data) |
void | on_menu_toggle_footer_activate (GtkMenuItem *menuitem, gpointer data) |
void | on_row_activated (GtkTreeView *treeview, GtkTreePath *treepath, GtkTreeViewColumn *treecolumn, gpointer data) |
gboolean | key_press_handle (GtkWidget *widget, GdkEventKey *event, gpointer data) |
|
|
|
fill the file data to the GtkTextBuffer |
|
let user to do something with keyboard |
|
|
|
when the about menu clicked, this function will be called |
|
when the user toggle the footer view, call this function |
|
when the user click the bookmark, go to the nearest line |
|
when user activate the open file menu item, show this file seletion. |
|
when user select a file, call this function |
|
save the filename for future process |