Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
gconf.c File Reference
#include "lkc.h"
#include "images.c"
#include <glade/glade.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <gdk/gdkkeysyms.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <stdlib.h>

Go to the source code of this file.

Enumerations

enum  { SINGLE_VIEW, SPLIT_VIEW, FULL_VIEW }
 
enum  { OPT_NORMAL, OPT_ALL, OPT_PROMPT }
 
enum  {
  COL_OPTION, COL_NAME, COL_NO, COL_MOD,
  COL_YES, COL_VALUE, COL_MENU, COL_COLOR,
  COL_EDIT, COL_PIXBUF, COL_PIXVIS, COL_BTNVIS,
  COL_BTNACT, COL_BTNINC, COL_BTNRAD, COL_NUMBER
}
 

Functions

const chardbg_sym_flags (int val)
 
void replace_button_icon (GladeXML *xml, GdkDrawable *window, GtkStyle *style, gchar *btn_name, gchar **xpm)
 
void init_main_window (const gchar *glade_file)
 
void init_tree_model (void)
 
void init_left_tree (void)
 
void init_right_tree (void)
 
void on_save_activate (GtkMenuItem *menuitem, gpointer user_data)
 
gboolean on_window1_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data)
 
void on_window1_destroy (GtkObject *object, gpointer user_data)
 
void on_window1_size_request (GtkWidget *widget, GtkRequisition *requisition, gpointer user_data)
 
void on_load1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_save_as1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_quit1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_show_name1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_show_range1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_show_data1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_set_option_mode1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_set_option_mode2_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_set_option_mode3_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_introduction1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_about1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_license1_activate (GtkMenuItem *menuitem, gpointer user_data)
 
void on_back_clicked (GtkButton *button, gpointer user_data)
 
void on_load_clicked (GtkButton *button, gpointer user_data)
 
void on_single_clicked (GtkButton *button, gpointer user_data)
 
void on_split_clicked (GtkButton *button, gpointer user_data)
 
void on_full_clicked (GtkButton *button, gpointer user_data)
 
void on_collapse_clicked (GtkButton *button, gpointer user_data)
 
void on_expand_clicked (GtkButton *button, gpointer user_data)
 
gboolean on_treeview2_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
 
gboolean on_treeview2_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
 
void on_treeview2_cursor_changed (GtkTreeView *treeview, gpointer user_data)
 
gboolean on_treeview1_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
 
GtkTreeIter * gtktree_iter_find_node (GtkTreeIter *parent, struct menu *tofind)
 
void fixup_rootmenu (struct menu *menu)
 
int main (int ac, char *av[])
 

Variables

GtkWidget * main_wnd = NULL
 
GtkWidget * tree1_w = NULL
 
GtkWidget * tree2_w = NULL
 
GtkWidget * text_w = NULL
 
GtkWidget * hpaned = NULL
 
GtkWidget * vpaned = NULL
 
GtkWidget * back_btn = NULL
 
GtkWidget * save_btn = NULL
 
GtkWidget * save_menu_item = NULL
 
GtkTextTag * tag1
 
GtkTextTag * tag2
 
GdkColor color
 
GtkTreeStore * tree1
 
GtkTreeStore * tree2
 
GtkTreeStore * tree
 
GtkTreeModel * model1
 
GtkTreeModel * model2
 

Enumeration Type Documentation

anonymous enum
Enumerator:
SINGLE_VIEW 
SPLIT_VIEW 
FULL_VIEW 

Definition at line 29 of file gconf.c.

anonymous enum
Enumerator:
OPT_NORMAL 
OPT_ALL 
OPT_PROMPT 

Definition at line 33 of file gconf.c.

anonymous enum
Enumerator:
COL_OPTION 
COL_NAME 
COL_NO 
COL_MOD 
COL_YES 
COL_VALUE 
COL_MENU 
COL_COLOR 
COL_EDIT 
COL_PIXBUF 
COL_PIXVIS 
COL_BTNVIS 
COL_BTNACT 
COL_BTNINC 
COL_BTNRAD 
COL_NUMBER 

Definition at line 65 of file gconf.c.

Function Documentation

const char* dbg_sym_flags ( int  val)

Definition at line 82 of file gconf.c.

void fixup_rootmenu ( struct menu menu)

Definition at line 1450 of file gconf.c.

GtkTreeIter* gtktree_iter_find_node ( GtkTreeIter *  parent,
struct menu tofind 
)

Definition at line 1238 of file gconf.c.

void init_left_tree ( void  )

Definition at line 247 of file gconf.c.

void init_main_window ( const gchar *  glade_file)

Definition at line 131 of file gconf.c.

void init_right_tree ( void  )

Definition at line 289 of file gconf.c.

void init_tree_model ( void  )

Definition at line 217 of file gconf.c.

int main ( int  ac,
char av[] 
)

Definition at line 1468 of file gconf.c.

void on_about1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 694 of file gconf.c.

void on_back_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 731 of file gconf.c.

void on_collapse_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 788 of file gconf.c.

void on_expand_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 794 of file gconf.c.

void on_full_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 777 of file gconf.c.

void on_introduction1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 663 of file gconf.c.

void on_license1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 712 of file gconf.c.

void on_load1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 528 of file gconf.c.

void on_load_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 746 of file gconf.c.

void on_quit1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 589 of file gconf.c.

void on_save_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 548 of file gconf.c.

void on_save_as1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 569 of file gconf.c.

void on_set_option_mode1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 637 of file gconf.c.

void on_set_option_mode2_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 646 of file gconf.c.

void on_set_option_mode3_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 655 of file gconf.c.

void on_show_data1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 625 of file gconf.c.

void on_show_name1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 596 of file gconf.c.

void on_show_range1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 607 of file gconf.c.

void on_single_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 752 of file gconf.c.

void on_split_clicked ( GtkButton *  button,
gpointer  user_data 
)

Definition at line 761 of file gconf.c.

gboolean on_treeview1_button_press_event ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  user_data 
)

Definition at line 1022 of file gconf.c.

gboolean on_treeview2_button_press_event ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  user_data 
)

Definition at line 904 of file gconf.c.

void on_treeview2_cursor_changed ( GtkTreeView *  treeview,
gpointer  user_data 
)

Definition at line 1006 of file gconf.c.

gboolean on_treeview2_key_press_event ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data 
)

Definition at line 961 of file gconf.c.

gboolean on_window1_delete_event ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  user_data 
)

Definition at line 440 of file gconf.c.

void on_window1_destroy ( GtkObject *  object,
gpointer  user_data 
)

Definition at line 485 of file gconf.c.

void on_window1_size_request ( GtkWidget *  widget,
GtkRequisition *  requisition,
gpointer  user_data 
)

Definition at line 492 of file gconf.c.

void replace_button_icon ( GladeXML *  xml,
GdkDrawable *  window,
GtkStyle *  style,
gchar *  btn_name,
gchar **  xpm 
)

Definition at line 112 of file gconf.c.

Variable Documentation

GtkWidget* back_btn = NULL

Definition at line 50 of file gconf.c.

GdkColor color

Definition at line 55 of file gconf.c.

GtkWidget* hpaned = NULL

Definition at line 48 of file gconf.c.

GtkWidget* main_wnd = NULL

Definition at line 44 of file gconf.c.

GtkTreeModel* model1

Definition at line 58 of file gconf.c.

GtkTreeModel * model2

Definition at line 58 of file gconf.c.

GtkWidget* save_btn = NULL

Definition at line 51 of file gconf.c.

GtkWidget* save_menu_item = NULL

Definition at line 52 of file gconf.c.

GtkTextTag* tag1

Definition at line 54 of file gconf.c.

GtkTextTag * tag2

Definition at line 54 of file gconf.c.

GtkWidget* text_w = NULL

Definition at line 47 of file gconf.c.

GtkTreeStore * tree

Definition at line 57 of file gconf.c.

GtkTreeStore* tree1

Definition at line 57 of file gconf.c.

GtkWidget* tree1_w = NULL

Definition at line 45 of file gconf.c.

GtkTreeStore * tree2

Definition at line 57 of file gconf.c.

GtkWidget* tree2_w = NULL

Definition at line 46 of file gconf.c.

GtkWidget* vpaned = NULL

Definition at line 49 of file gconf.c.