Functions | |
def | decoded (zbar, data) |
def | open_button_clicked (button) |
def | set_status_label (opened, enabled) |
def | status_button_toggled (button) |
def | video_changed (widget) |
def | video_enabled (zbar, param) |
def | video_opened (zbar, param) |
Variables | |
cursor_visible | |
editable | |
expand | |
hbox | |
info | |
min_height | |
min_width | |
open_button | |
open_file | |
path | |
results | |
status_button | |
status_image | |
vbox | |
video_device | |
video_list | |
window | |
zbar | |
def test_pygtk.decoded | ( | zbar, | |
data | |||
) |
callback invoked when a barcode is decoded by the zbar widget. displays the decoded data in the text box
def test_pygtk.open_button_clicked | ( | button | ) |
callback invoked when the 'Open' button is clicked. pops up an 'Open File' dialog which the user may use to select an image file. if the image is successfully opened, it is passed to the zbar widget which displays it and scans it for barcodes. results are returned using the same hook used to report video results
def test_pygtk.set_status_label | ( | opened, | |
enabled | |||
) |
update status button label to reflect indicated state.
Referenced by status_button_toggled(), and video_opened().
def test_pygtk.status_button_toggled | ( | button | ) |
callback invoked when the status button changes state (interactively or programmatically). ensures the zbar widget video streaming state is consistent and updates the display of the button to represent the current state
References set_status_label().
def test_pygtk.video_changed | ( | widget | ) |
callback invoked when a new video device is selected from the drop-down list. sets the new device for the zbar widget, which will eventually cause it to be opened and enabled
def test_pygtk.video_enabled | ( | zbar, | |
param | |||
) |
callback invoked when the zbar widget enables or disables video streaming. updates the status button state to reflect the current video state
def test_pygtk.video_opened | ( | zbar, | |
param | |||
) |
callback invoked when the zbar widget opens or closes a video device. also called when a device is closed due to error. updates the status button state to reflect the current video state
References set_status_label().
test_pygtk.cursor_visible |
test_pygtk.editable |
test_pygtk.expand |
test_pygtk.hbox |
Referenced by main(), and TestQZBar.TestQZBar().
test_pygtk.info |
Referenced by get_data(), zbar_gtk_get_type(), zbar_gtk_private_get_type(), and zbar_image_write().
test_pygtk.min_height |
test_pygtk.min_width |
test_pygtk.open_button |
Referenced by main().
test_pygtk.open_file |
test_pygtk.path |
test_pygtk.results |
test_pygtk.status_button |
Referenced by main().
test_pygtk.status_image |
test_pygtk.vbox |
Referenced by main(), and TestQZBar.TestQZBar().
test_pygtk.video_device |
Referenced by zbar::Processor.init(), main(), zbar::Processor.Processor(), video_changed(), and zbar_gtk_processing_thread().
test_pygtk.video_list |
Referenced by main().
test_pygtk.window |
test_pygtk.zbar |