ZBar Bar Code Reader Library  version 0.10
test_gtk.c File Reference
Include dependency graph for test_gtk.c:

Functions

static void decoded (GtkWidget *widget, zbar_symbol_type_t symbol, const char *result, gpointer data)
 
int main (int argc, char *argv[])
 
static void open_button_clicked (GtkButton *button, gpointer data)
 
int scan_video (void *add_device, void *userdata, const char *default_device)
 
static void status_button_toggled (GtkToggleButton *button, gpointer data)
 
static void video_changed (GtkWidget *widget, gpointer data)
 
static void video_enabled (GObject *object, GParamSpec *param, gpointer data)
 
static void video_opened (GObject *object, GParamSpec *param, gpointer data)
 

Variables

static gchar * open_file
 
static GtkTextView * results
 
static GtkWidget * status_image
 
static GtkWidget * window
 

Function Documentation

static void decoded ( GtkWidget *  widget,
zbar_symbol_type_t  symbol,
const char *  result,
gpointer  data 
)
static

References results, zbar_get_addon_name(), and zbar_get_symbol_name().

Referenced by main(), and zbar_gtk_class_init().

Here is the call graph for this function:

Here is the caller graph for this function:

static void open_button_clicked ( GtkButton *  button,
gpointer  data 
)
static

References fprintf(), open_file, window, ZBAR_GTK, and zbar_gtk_scan_image().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int scan_video ( void add_device,
void userdata,
const char *  default_device 
)

Referenced by main().

Here is the caller graph for this function:

static void status_button_toggled ( GtkToggleButton *  button,
gpointer  data 
)
static

References status_image, ZBAR_GTK, zbar_gtk_get_video_enabled(), zbar_gtk_get_video_opened(), and zbar_gtk_set_video_enabled().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void video_changed ( GtkWidget *  widget,
gpointer  data 
)
static

References test_pygtk::video_device, ZBAR_GTK, and zbar_gtk_set_video_device().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void video_enabled ( GObject *  object,
GParamSpec *  param,
gpointer  data 
)
static

References ZBAR_GTK, zbar_gtk_get_video_enabled(), and zbar_gtk_get_video_opened().

Referenced by main(), zbar_gtk_processing_thread(), and zbar_gtk_set_video_enabled().

Here is the call graph for this function:

Here is the caller graph for this function:

static void video_opened ( GObject *  object,
GParamSpec *  param,
gpointer  data 
)
static

References ZBAR_GTK, zbar_gtk_get_video_enabled(), and zbar_gtk_get_video_opened().

Referenced by main(), and zbar_gtk_video_open().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

gchar* open_file
static

Referenced by open_button_clicked().

GtkTextView* results
static

Referenced by decoded(), main(), and TestQZBar::TestQZBar().

GtkWidget* status_image
static

Referenced by main(), and status_button_toggled().