ekg2
GIT master
|
#include "ekg2.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <ctype.h>
#include <gtk/gtklabel.h>
#include <gtk/gtkeditable.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtkmenuitem.h>
#include <gtk/gtkoptionmenu.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkhbox.h>
#include <gtk/gtkclist.h>
#include <gtk/gtknotebook.h>
#include <gtk/gtkcheckbutton.h>
#include <gtk/gtkentry.h>
#include <gtk/gtkvscrollbar.h>
#include <gdk/gdkkeysyms.h>
#include "main.h"
#include "bindings.h"
#include "ekg/completion.h"
Definicje | |
#define | GTK_BINDING_FUNCTION(x) int x(GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
#define | COMPLETION_MAXLEN 2048 /* rozmiar linii */ |
#define | STATE_SHIFT GDK_SHIFT_MASK |
#define | STATE_ALT GDK_MOD1_MASK |
#define | STATE_CTRL GDK_CONTROL_MASK |
Funkcje | |
static int | key_action_scroll_page (GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
static int | key_action_history_up (GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
static int | key_action_history_down (GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
static void | show_completions () |
static int | key_action_tab_comp (GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
static int | key_action_cycle_session (GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
gboolean | key_handle_key_press (GtkWidget *wid, GdkEventKey *evt, window_t *sess) |
void | gtk_binding_init () |
Zmienne | |
char * | gtk_history [1000] |
int | gtk_history_index |
#define COMPLETION_MAXLEN 2048 /* rozmiar linii */ |
#define GTK_BINDING_FUNCTION | ( | x | ) | int x(GtkWidget *wid, GdkEventKey *evt, char *d1, window_t *sess) |
#define STATE_ALT GDK_MOD1_MASK |
#define STATE_CTRL GDK_CONTROL_MASK |
#define STATE_SHIFT GDK_SHIFT_MASK |
void gtk_binding_init | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
gboolean key_handle_key_press | ( | GtkWidget * | wid, |
GdkEventKey * | evt, | ||
window_t * | sess | ||
) |
|
static |
char* gtk_history[1000] |
int gtk_history_index |