Logo Search packages:      
Sourcecode: xarchive version File versions  Download package

myfc_gtk.h

#ifndef XARCHIVE_SRC_MYFC_GTK
#define XARCHIVE_SRC_MYFC_GTK 1

#include"common.h"
#include<gtk/gtk.h>

/* LOCAL DATA TYPES AND STRUCTURES */
typedef struct myfc_data
{
    GtkListStore *ls;
    GtkTreeView *tv;
    GtkFileChooser *fc;
} MyfcData;

/* GLOBAL VARIABLES */

/* EXTERNAL FUNCTIONS */

/* LOCAL FUNCTIONS */
void 
myfc_add_foreach_func(gchar *fpath, GtkListStore *myfc_ls);

void 
myfc_add_cb(GtkWidget *widget, MyfcData *myfcd);

void 
myfc_remove_foreach_func(GtkTreeModel *model, GtkTreePath *path, 
                              GtkTreeIter *iter, GList **rowref_list);

void 
myfc_remove_cb(GtkWidget *widget, MyfcData *myfcd);

GtkListStore *
make_myfc_ls(void);

GtkWidget *
make_myfc_tree(GtkListStore *myfc_ls);

gboolean
view_popup_menu(GtkWidget *treeview, GdkEventButton *event, MyfcData *myfcd);

GtkDialog *
make_myfc(gchar *archive, GtkListStore *myfc_ls);

#endif

Generated by  Doxygen 1.6.0   Back to index