Riferimenti per il file keyboard_plugin.c

#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/XKBlib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <libxfce4util/i18n.h>
#include <libxfce4util/util.h>
#include <brain-mcs-manager/manager-plugin.h>
#include <libxfcegui4/libxfcegui4.h>
#include <brain_client.h>
#include <brain_settings.h>
#include "keyboard_icon.h"
#include <gtk_common/gtk_common.h>

Strutture dati

struct  KeyboardDialog

Definizioni

#define PLUGIN_NAME   "keyboard"
#define DEFAULT_THEME   "Default"
#define ON   1
#define OFF   0
#define ALL   -1
#define DEFAULT_ICON_SIZE   48
#define MAX_ELEMENTS_BEFORE_SCROLLING   6

Funzioni

static void set_repeat (int key, int auto_repeat_mode)
static void xkb_set_repeat_rate (int delay, int interval)
static void theme_selection_changed (GtkTreeSelection *selection, gpointer data)
static void read_themes (KeyboardDialog *dialog)
static gint sort_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data)
static void cb_dialog_response (GtkWidget *dialog, gint response_id)
static void cb_checkrepeat_changed (GtkWidget *dialog, gpointer user_data)
static void cb_repeatdelay_changed (GtkWidget *dialog, gpointer user_data)
static void cb_checkblink_changed (GtkWidget *dialog, gpointer user_data)
static void cb_blinktime_changed (GtkWidget *dialog, gpointer user_data)
KeyboardDialogcreate_keyboard_dialog (BrainMcsPlugin *mcs_plugin)
static void setup_dialog (KeyboardDialog *itf)
static int create_channel (BrainMcsPlugin *mcs_plugin)
static void run_dialog (BrainMcsPlugin *mcs_plugin)
BrainMcsPluginInitResult mcs_plugin_init (BrainMcsPlugin *mcs_plugin)

Variabili

static gboolean setting_model = FALSE
static gboolean initial_scroll = TRUE
static gboolean is_running = FALSE
static gchar * current_key_theme = NULL
static gboolean cursor_blink = TRUE
static int cursor_blink_time = 500
static gboolean repeat_key = TRUE
static int repeat_delay = 500
static int repeat_rate = 30
static gboolean xkbpresent = FALSE
KeyboardDialogDialog


Documentazione delle definizioni

#define PLUGIN_NAME   "keyboard"
 

#define DEFAULT_THEME   "Default"
 

#define ON   1
 

#define OFF   0
 

#define ALL   -1
 

#define DEFAULT_ICON_SIZE   48
 

#define MAX_ELEMENTS_BEFORE_SCROLLING   6
 


Documentazione delle funzioni

static void set_repeat int  key,
int  auto_repeat_mode
[static]
 

static void xkb_set_repeat_rate int  delay,
int  interval
[static]
 

static void theme_selection_changed GtkTreeSelection *  selection,
gpointer  data
[static]
 

static void read_themes KeyboardDialog dialog  )  [static]
 

static gint sort_func GtkTreeModel *  model,
GtkTreeIter *  a,
GtkTreeIter *  b,
gpointer  user_data
[static]
 

static void cb_dialog_response GtkWidget *  dialog,
gint  response_id
[static]
 

static void cb_checkrepeat_changed GtkWidget *  dialog,
gpointer  user_data
[static]
 

static void cb_repeatdelay_changed GtkWidget *  dialog,
gpointer  user_data
[static]
 

static void cb_checkblink_changed GtkWidget *  dialog,
gpointer  user_data
[static]
 

static void cb_blinktime_changed GtkWidget *  dialog,
gpointer  user_data
[static]
 

KeyboardDialog* create_keyboard_dialog BrainMcsPlugin mcs_plugin  ) 
 

static void setup_dialog KeyboardDialog itf  )  [static]
 

static int create_channel BrainMcsPlugin mcs_plugin  )  [static]
 

static void run_dialog BrainMcsPlugin mcs_plugin  )  [static]
 

BrainMcsPluginInitResult mcs_plugin_init BrainMcsPlugin mcs_plugin  ) 
 

Da fare:
Assegnare una icona al pannello di configurazione dei tipi MIME


Documentazione delle variabili

gboolean setting_model = FALSE [static]
 

gboolean initial_scroll = TRUE [static]
 

gboolean is_running = FALSE [static]
 

gchar* current_key_theme = NULL [static]
 

gboolean cursor_blink = TRUE [static]
 

int cursor_blink_time = 500 [static]
 

gboolean repeat_key = TRUE [static]
 

int repeat_delay = 500 [static]
 

int repeat_rate = 30 [static]
 

gboolean xkbpresent = FALSE [static]
 

KeyboardDialog* Dialog
 


Generato il Sun Apr 16 01:36:45 2006 per BrainTop da  doxygen 1.4.6