callback.c File Reference

some functions when process the rfc file More...

#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)

Detailed Description

some functions when process the rfc file


Define Documentation

#define MAXLEVEL   8
 


Function Documentation

void fill_data_on_open FILE *  fp,
gpointer  data
 

fill the file data to the GtkTextBuffer

gboolean key_press_handle GtkWidget *  widget,
GdkEventKey *  event,
gpointer  data
 

let user to do something with keyboard

void on_file_open_activate GtkMenuItem *  menuitem,
gpointer  data
 

void on_menu_about_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

when the about menu clicked, this function will be called

void on_menu_toggle_footer_activate GtkMenuItem *  menuitem,
gpointer  data
 

when the user toggle the footer view, call this function

void on_row_activated GtkTreeView *  treeview,
GtkTreePath *  treepath,
GtkTreeViewColumn *  treecolumn,
gpointer  data
 

when the user click the bookmark, go to the nearest line

static void open_file gpointer  data  )  [static]
 

when user activate the open file menu item, show this file seletion.

void real_open gpointer  data  ) 
 

when user select a file, call this function

static void store_filename GtkFileSelection *  selector,
gpointer  user_data
[static]
 

save the filename for future process


Generated on Wed Nov 30 21:04:23 2005 for RFC Reader by  doxygen 1.4.5