pygtkGui
index
pygtkGui.py

Module containing the PyGtk implementation for the GUI tutorial.
 
COMMENTS:
=========
+ Easy widget creation; widget hierarchy based on box packing
+ Easy to use frames, with or without 'labels' (use tricks with
  SHADOW type to change 'etched' border)
+ GdkImLib missing from WIN32? Loading image files is implemented
  using GdkImLib, but couldn't find the Python WIN32 bindings. Anyone?
 
IDIOMS:
=======
+ Create widgets without parents and use GtkHBox() and GtkVBox()
  to 'pack' child widgets
+ Resizing policy is achieved using the 'expand' and 'fill' options
  to the 'pack' routines. 'expand' affects resize policy in box's
  direction; 'fill' affects resizing in box's other dimension
+ Size of widgets are determined top-down the widget hierarchy (most
  other GUIs use size hints from the bottom child widgets and go up)
+ Use 'show_all()' on top level widgets to display that level's hierarchy
+ 'Double-click' detected by checking the type of 'clicked' event, not by
  connecting a separate double-click event signal
+ Don't forget to connect "destroy" to your top level GtkWindow

 
Modules
            
GDK
oogui
os

 
Classes
            
gtk.GtkCList(gtk.GtkContainer)
ScrollableList
gtk.GtkFrame(gtk.GtkBin)
DisplayFrame
oogui.OOGui
PyGtkGui

 
class DisplayFrame(gtk.GtkFrame)
      Specialized scrolled frame that displays text and image files
 
  
__cmp__(self, other) from gtk.GtkObject
__getattr__(self, attr) from gtk.GtkObject
__getitem__(self, key) from gtk.GtkObject
__hash__(self) from gtk.GtkObject
__init__(self)
Create the display frame that will display the selected file
__setitem__(self, key, v) from gtk.GtkObject
_show(self, filename=None)
Manages the general scrolled window container and file label
accelerators_locked(self) from gtk.GtkWidget
activate(self, obj=None) from gtk.GtkWidget
add(self, child, **args) from gtk.GtkContainer
add_accelerator(self, signal, group, key, mods, flags) from gtk.GtkWidget
add_events(self, events) from gtk.GtkWidget
binary(self, filename)
Resets/Clears the scrolled text and displays unavailable format
border_width(self, bw) from gtk.GtkContainer
check_resize(self) from gtk.GtkContainer
child_composite_name(self, child) from gtk.GtkContainer
child_get(self, child, arg) from gtk.GtkContainer
child_set(self, child, **args) from gtk.GtkContainer
child_type(self) from gtk.GtkContainer
children(self) from gtk.GtkContainer
connect(self, name, f, *extra) from gtk.GtkObject
connect_after(self, name, f, *extra) from gtk.GtkObject
connect_object(self, name, f, obj, *extra) from gtk.GtkObject
connect_object_after(self, name, f, obj, *extra) from gtk.GtkObject
destroy(self, obj=None) from gtk.GtkWidget
disconnect(self, id) from gtk.GtkObject
drag_begin(self, targets, actions, button, event) from gtk.GtkWidget
drag_dest_set(self, flags, targets, actions) from gtk.GtkWidget
drag_dest_set_proxy(self, proxy_window, protocol, use_coordinates) from gtk.GtkWidget
drag_dest_unset(self) from gtk.GtkWidget
drag_finish(self, context, success, delete, time) from gtk.GtkWidget
drag_get_data(self, context, target, time) from gtk.GtkWidget
drag_get_source_widget(self, context) from gtk.GtkWidget
drag_highlight(self) from gtk.GtkWidget
drag_set_default_icon(self, colormap, pixmap, mask, hot_x, hot_y) from gtk.GtkWidget
drag_set_icon_default(self, context) from gtk.GtkWidget
drag_set_icon_pixmap(self, context, colormap, pixmap, mask, hot_x, hot_y) from gtk.GtkWidget
drag_set_icon_widget(self, context, widget, hot_x, hot_y) from gtk.GtkWidget
drag_source_set(self, button_mask, targets, actions) from gtk.GtkWidget
drag_source_set_icon(self, colormap, pixmap, mask) from gtk.GtkWidget
drag_status(self, context, action, time) from gtk.GtkWidget
drag_unhighlight(self) from gtk.GtkWidget
draw(self, rect) from gtk.GtkWidget
draw_default(self, obj=None) from gtk.GtkWidget
draw_focus(self, obj=None) from gtk.GtkWidget
emit(self, signal, *args) from gtk.GtkObject
emit_stop_by_name(self, sig) from gtk.GtkObject
ensure_style(self) from gtk.GtkWidget
event(self, event) from gtk.GtkWidget
flags(self, mask=None) from gtk.GtkObject
focus(self, d) from gtk.GtkContainer
foreach(self, f) from gtk.GtkContainer
get_allocation(self) from gtk.GtkWidget
get_ancestor(self, type) from gtk.GtkWidget
get_child_requisition(self) from gtk.GtkWidget
get_colormap(self) from gtk.GtkWidget
get_composite_name(self) from gtk.GtkWidget
get_data(self, key) from gtk.GtkObject
get_events(self) from gtk.GtkWidget
get_extension_events(self) from gtk.GtkWidget
get_name(self) from gtk.GtkWidget
get_parent_window(self) from gtk.GtkWidget
get_pointer(self) from gtk.GtkWidget
get_style(self) from gtk.GtkWidget
get_toplevel(self) from gtk.GtkWidget
get_window(self) from gtk.GtkWidget
grab_default(self, obj=None) from gtk.GtkWidget
grab_focus(self, obj=None) from gtk.GtkWidget
hide(self, obj=None) from gtk.GtkWidget
hide_all(self, obj=None) from gtk.GtkWidget
hide_on_delete(self, obj=None) from gtk.GtkWidget
html(self, filename)
Displays the file with HTML fonts/formatting
image(self, filename)
Displays the image contained in filename
intersect(self, rect) from gtk.GtkWidget
is_ancestor(self, a) from gtk.GtkWidget
lock_accelerators(self) from gtk.GtkWidget
map(self, obj=None) from gtk.GtkWidget
popup(self, x, y) from gtk.GtkWidget
queue_clear(self, obj=None) from gtk.GtkWidget
queue_clear_area(self, x, y, width, height) from gtk.GtkWidget
queue_draw(self, obj=None) from gtk.GtkWidget
queue_draw_area(self, x, y, width, height) from gtk.GtkWidget
queue_resize(self, obj=None) from gtk.GtkWidget
realize(self, obj=None) from gtk.GtkWidget
register_toplevel(self) from gtk.GtkContainer
remove(self, child) from gtk.GtkContainer
remove_accelerator(self, group, key, mods) from gtk.GtkWidget
remove_accelerators(self, signal, visible_only) from gtk.GtkWidget
remove_data(self, key) from gtk.GtkObject
reparent(self, new_parent) from gtk.GtkWidget
reset_rc_styles(self) from gtk.GtkWidget
resize_children(self) from gtk.GtkContainer
restore_default_style(self) from gtk.GtkWidget
selection_add_target(self, selection, target, info) from gtk.GtkWidget
selection_convert(self, selection, target, time) from gtk.GtkWidget
selection_owner_set(self, selection, time) from gtk.GtkWidget
selection_remove_all(self) from gtk.GtkWidget
set(self, dict) from gtk.GtkObject
set_app_paintable(self, app_paintable) from gtk.GtkWidget
set_border_width(self, bw) from gtk.GtkContainer
set_composite_name(self, name) from gtk.GtkWidget
set_data(self, key, value) from gtk.GtkObject
set_events(self, events) from gtk.GtkWidget
set_extension_events(self, exevents) from gtk.GtkWidget
set_flags(self, flags) from gtk.GtkObject
set_focus_child(self, child) from gtk.GtkContainer
set_focus_hadjustment(self, adj) from gtk.GtkContainer
set_focus_vadjustment(self, adj) from gtk.GtkContainer
set_label(self, label) from gtk.GtkFrame
set_label_align(self, x, y) from gtk.GtkFrame
set_name(self, name) from gtk.GtkWidget
set_parent(self, parent) from gtk.GtkWidget
set_parent_window(self, parent) from gtk.GtkWidget
set_rc_style(self) from gtk.GtkWidget
set_resize_mode(self, mode) from gtk.GtkContainer
set_scroll_adjustments(self, hadj, vadj) from gtk.GtkWidget
set_sensitive(self, s) from gtk.GtkWidget
set_shadow_type(self, tp=3) from gtk.GtkFrame
set_state(self, s) from gtk.GtkWidget
set_style(self, style) from gtk.GtkWidget
set_uposition(self, x, y) from gtk.GtkWidget
set_usize(self, w, h) from gtk.GtkWidget
shape_combine_mask(self, mask, ofs_x, ofs_y) from gtk.GtkWidget
show(self, obj=None) from gtk.GtkWidget
show_all(self, obj=None) from gtk.GtkWidget
show_now(self, obj=None) from gtk.GtkWidget
signal_connect = connect(self, name, f, *extra) from gtk.GtkObject
signal_connect_after = connect_after(self, name, f, *extra) from gtk.GtkObject
signal_connect_object = connect_object(self, name, f, obj, *extra) from gtk.GtkObject
signal_handler_block(self, id) from gtk.GtkObject
signal_handler_unblock(self, id) from gtk.GtkObject
signal_handlers_destroy(self) from gtk.GtkObject
size_allocate(self, a) from gtk.GtkWidget
size_request(self) from gtk.GtkWidget
text(self, filename, altText=None)
Displays the text of the selected file
unlock_accelerators(self) from gtk.GtkWidget
unmap(self, obj=None) from gtk.GtkWidget
unparent(self) from gtk.GtkWidget
unrealize(self, obj=None) from gtk.GtkWidget
unregister_toplevel(self) from gtk.GtkContainer
unset_flags(self, flags) from gtk.GtkObject

 
class PyGtkGui(oogui.OOGui)
      Specialization of OOGui that uses the PyGtk widget set
 
  
__init__(self, argv, geometry=None, resfile=None, startdir=None)
Create the PyGtk and OOGui base objects
_buildCWD(self)
Private method to construct the working directory frame
_buildGui(self, title)
Override parent's abstract 'hook' method called in ctor
_buildLists(self)
Create the frame that contains list of files and text entry
_buildPanes(self)
Build a PanedWidget with panes for lists and display views
_directorySelected(self, *unused) from oogui.OOGui
_displayBinary(self, filename)
Displays binary files in the way it thinks it should.
_displayHTML(self, filename)
Implemented behavior for displaying HTML files
_displayImage(self, filename)
Implemented behavior for displaying image files
_displayText(self, filename)
Implemented behavior for displaying text (other) files
_exit(self, *unused)
Clean up application window upon exit
_fileSelected(self, *unused) from oogui.OOGui
_getCurrentDirectory(self)
Returns the name of the current working directory
_getEntries(self, cwd) from oogui.OOGui
_getSelectedDirectory(self)
Returns currently 'selected' directory name
_getSelectedFile(self)
Returns currently 'selected' file name
_getTopLevel(self)
Special access method used by base to ensure top level is created
_listSelected(self, clist, row, unused, event)
Idiom for list selection is to check the event callback values
to detect double-click. Use this common method, determine which
list was selected, and if double-clicked, call appropriate action
_loadResources(self, resfile=None)
Load the resources (options) for all the 'named' widgets
_setCWD(self, cwd)
Updates the GUI by setting the current working directory to 'cwd'
_setDirectory(self, *unused)
Event callback for GoTo button and text entry to set the
current working directory.
_setEntries(self)
Sets the names of files and directories in the lists for the
'current selected directory'
_setFile(self, *unused)
Event callback for filename text entry to specify full pathname
of file to display.
_setFilename(self, filename)
Sets the filename entry field when a file is selected; called
by base class's _fileSelected() method
_startGui(self, geometry=None)
Runs the application in the main event loop

 
class ScrollableList(gtk.GtkCList)
      # NOTE: GtkList is superceded by GtkCList, so use it instead.
 
  
__cmp__(self, other) from gtk.GtkObject
__getattr__(self, attr) from gtk.GtkCList
__getitem__(self, key) from gtk.GtkObject
__hash__(self) from gtk.GtkObject
__init__(self, callback=None)
Creates a scrollable listbox with default resizing behavior
__setitem__(self, key, v) from gtk.GtkObject
accelerators_locked(self) from gtk.GtkWidget
activate(self, obj=None) from gtk.GtkWidget
add(self, child, **args) from gtk.GtkContainer
add_accelerator(self, signal, group, key, mods, flags) from gtk.GtkWidget
add_events(self, events) from gtk.GtkWidget
append(self, values) from gtk.GtkCList
border_width(self, bw) from gtk.GtkContainer
check_resize(self) from gtk.GtkContainer
child_composite_name(self, child) from gtk.GtkContainer
child_get(self, child, arg) from gtk.GtkContainer
child_set(self, child, **args) from gtk.GtkContainer
child_type(self) from gtk.GtkContainer
children(self) from gtk.GtkContainer
clear(self, obj=None) from gtk.GtkCList
column_title_active(self, col) from gtk.GtkCList
column_title_passive(self, col) from gtk.GtkCList
column_titles_active(self, obj=None) from gtk.GtkCList
column_titles_hide(self, obj=None) from gtk.GtkCList
column_titles_passive(self, obj=None) from gtk.GtkCList
column_titles_show(self, obj=None) from gtk.GtkCList
columns_autosize(self) from gtk.GtkCList
connect(self, name, f, *extra) from gtk.GtkObject
connect_after(self, name, f, *extra) from gtk.GtkObject
connect_object(self, name, f, obj, *extra) from gtk.GtkObject
connect_object_after(self, name, f, obj, *extra) from gtk.GtkObject
destroy(self, obj=None) from gtk.GtkWidget
disconnect(self, id) from gtk.GtkObject
drag_begin(self, targets, actions, button, event) from gtk.GtkWidget
drag_dest_set(self, flags, targets, actions) from gtk.GtkWidget
drag_dest_set_proxy(self, proxy_window, protocol, use_coordinates) from gtk.GtkWidget
drag_dest_unset(self) from gtk.GtkWidget
drag_finish(self, context, success, delete, time) from gtk.GtkWidget
drag_get_data(self, context, target, time) from gtk.GtkWidget
drag_get_source_widget(self, context) from gtk.GtkWidget
drag_highlight(self) from gtk.GtkWidget
drag_set_default_icon(self, colormap, pixmap, mask, hot_x, hot_y) from gtk.GtkWidget
drag_set_icon_default(self, context) from gtk.GtkWidget
drag_set_icon_pixmap(self, context, colormap, pixmap, mask, hot_x, hot_y) from gtk.GtkWidget
drag_set_icon_widget(self, context, widget, hot_x, hot_y) from gtk.GtkWidget
drag_source_set(self, button_mask, targets, actions) from gtk.GtkWidget
drag_source_set_icon(self, colormap, pixmap, mask) from gtk.GtkWidget
drag_status(self, context, action, time) from gtk.GtkWidget
drag_unhighlight(self) from gtk.GtkWidget
draw(self, rect) from gtk.GtkWidget
draw_default(self, obj=None) from gtk.GtkWidget
draw_focus(self, obj=None) from gtk.GtkWidget
emit(self, signal, *args) from gtk.GtkObject
emit_stop_by_name(self, sig) from gtk.GtkObject
ensure_style(self) from gtk.GtkWidget
event(self, event) from gtk.GtkWidget
find_row_from_data(self, data) from gtk.GtkCList
flags(self, mask=None) from gtk.GtkObject
focus(self, d) from gtk.GtkContainer
foreach(self, f) from gtk.GtkContainer
freeze(self, obj=None) from gtk.GtkCList
getScrollable(self)
List is composed within the scrolled window, and the container
is what will be managed within the widget hierarchy.
get_allocation(self) from gtk.GtkWidget
get_ancestor(self, type) from gtk.GtkWidget
get_cell_style(self, row, col) from gtk.GtkCList
get_cell_type(self, r, c) from gtk.GtkCList
get_child_requisition(self) from gtk.GtkWidget
get_colormap(self) from gtk.GtkWidget
get_column_title(self, col) from gtk.GtkCList
get_column_widget(self, col) from gtk.GtkCList
get_column_width(self, col) from gtk.GtkCList
get_composite_name(self) from gtk.GtkWidget
get_data(self, key) from gtk.GtkObject
get_events(self) from gtk.GtkWidget
get_extension_events(self) from gtk.GtkWidget
get_hadjustment(self) from gtk.GtkCList
get_name(self) from gtk.GtkWidget
get_parent_window(self) from gtk.GtkWidget
get_pixmap(self, r, c) from gtk.GtkCList
get_pixtext(self, r, c) from gtk.GtkCList
get_pointer(self) from gtk.GtkWidget
get_row_data(self, row) from gtk.GtkCList
get_row_style(self, row) from gtk.GtkCList
get_selectable(self, row) from gtk.GtkCList
get_selection_info(self, x, y) from gtk.GtkCList
get_style(self) from gtk.GtkWidget
get_text(self, r, c) from gtk.GtkCList
get_toplevel(self) from gtk.GtkWidget
get_vadjustment(self) from gtk.GtkCList
get_window(self) from gtk.GtkWidget
grab_default(self, obj=None) from gtk.GtkWidget
grab_focus(self, obj=None) from gtk.GtkWidget
hide(self, obj=None) from gtk.GtkWidget
hide_all(self, obj=None) from gtk.GtkWidget
hide_on_delete(self, obj=None) from gtk.GtkWidget
insert(self, row, values) from gtk.GtkCList
intersect(self, rect) from gtk.GtkWidget
is_ancestor(self, a) from gtk.GtkWidget
lock_accelerators(self) from gtk.GtkWidget
map(self, obj=None) from gtk.GtkWidget
moveto(self, row=-1, col=-1, row_align=0.5, col_align=0.5) from gtk.GtkCList
optimal_column_width(self, col) from gtk.GtkCList
popup(self, x, y) from gtk.GtkWidget
queue_clear(self, obj=None) from gtk.GtkWidget
queue_clear_area(self, x, y, width, height) from gtk.GtkWidget
queue_draw(self, obj=None) from gtk.GtkWidget
queue_draw_area(self, x, y, width, height) from gtk.GtkWidget
queue_resize(self, obj=None) from gtk.GtkWidget
realize(self, obj=None) from gtk.GtkWidget
register_toplevel(self) from gtk.GtkContainer
remove(self, row) from gtk.GtkCList
remove_accelerator(self, group, key, mods) from gtk.GtkWidget
remove_accelerators(self, signal, visible_only) from gtk.GtkWidget
remove_data(self, key) from gtk.GtkObject
reparent(self, new_parent) from gtk.GtkWidget
reset_rc_styles(self) from gtk.GtkWidget
resize_children(self) from gtk.GtkContainer
restore_default_style(self) from gtk.GtkWidget
row_is_visible(self, row) from gtk.GtkCList
row_move(self, source_row, dest_row) from gtk.GtkCList
select_all(self) from gtk.GtkCList
select_row(self, row, col) from gtk.GtkCList
selection_add_target(self, selection, target, info) from gtk.GtkWidget
selection_convert(self, selection, target, time) from gtk.GtkWidget
selection_owner_set(self, selection, time) from gtk.GtkWidget
selection_remove_all(self) from gtk.GtkWidget
set(self, dict) from gtk.GtkObject
setCommand(self, callback)
Connect the list to the specified callback function
set_app_paintable(self, app_paintable) from gtk.GtkWidget
set_auto_sort(self, auto_sort) from gtk.GtkCList
set_background(self, row, colour) from gtk.GtkCList
set_border_width(self, bw) from gtk.GtkContainer
set_button_actions(self, button, button_actions) from gtk.GtkCList
set_cell_style(self, row, col, style) from gtk.GtkCList
set_column_auto_resize(self, col, auto) from gtk.GtkCList
set_column_justification(self, col, just) from gtk.GtkCList
set_column_max_width(self, col, width) from gtk.GtkCList
set_column_min_width(self, col, width) from gtk.GtkCList
set_column_resizeable(self, col, resizeable) from gtk.GtkCList
set_column_title(self, col, title) from gtk.GtkCList
set_column_visibility(self, col, visible) from gtk.GtkCList
set_column_widget(self, col, w) from gtk.GtkCList
set_column_width(self, col, width) from gtk.GtkCList
set_composite_name(self, name) from gtk.GtkWidget
set_data(self, key, value) from gtk.GtkObject
set_events(self, events) from gtk.GtkWidget
set_extension_events(self, exevents) from gtk.GtkWidget
set_flags(self, flags) from gtk.GtkObject
set_focus_child(self, child) from gtk.GtkContainer
set_focus_hadjustment(self, adj) from gtk.GtkContainer
set_focus_vadjustment(self, adj) from gtk.GtkContainer
set_foreground(self, row, colour) from gtk.GtkCList
set_hadjustment(self, adj) from gtk.GtkCList
set_name(self, name) from gtk.GtkWidget
set_parent(self, parent) from gtk.GtkWidget
set_parent_window(self, parent) from gtk.GtkWidget
set_pixmap(self, r, c, pixmap, mask=None) from gtk.GtkCList
set_pixtext(self, r, c, text, spacing, pixmap, mask=None) from gtk.GtkCList
set_rc_style(self) from gtk.GtkWidget
set_reorderable(self, reorderable) from gtk.GtkCList
set_resize_mode(self, mode) from gtk.GtkContainer
set_row_data(self, row, data) from gtk.GtkCList
set_row_height(self, height) from gtk.GtkCList
set_row_style(self, row, style) from gtk.GtkCList
set_scroll_adjustments(self, hadj, vadj) from gtk.GtkWidget
set_selectable(self, row, selectable) from gtk.GtkCList
set_selection_mode(self, mode) from gtk.GtkCList
set_sensitive(self, s) from gtk.GtkWidget
set_shadow_type(self, border) from gtk.GtkCList
set_shift(self, row, col, v, h) from gtk.GtkCList
set_sort_column(self, col) from gtk.GtkCList
set_sort_type(self, sort_type) from gtk.GtkCList
set_state(self, s) from gtk.GtkWidget
set_style(self, style) from gtk.GtkWidget
set_text(self, r, c, text) from gtk.GtkCList
set_uposition(self, x, y) from gtk.GtkWidget
set_use_drag_icons(self, use_icons) from gtk.GtkCList
set_usize(self, w, h) from gtk.GtkWidget
set_vadjustment(self, adj) from gtk.GtkCList
shape_combine_mask(self, mask, ofs_x, ofs_y) from gtk.GtkWidget
show(self, obj=None) from gtk.GtkWidget
show_all(self, obj=None) from gtk.GtkWidget
show_now(self, obj=None) from gtk.GtkWidget
signal_connect = connect(self, name, f, *extra) from gtk.GtkObject
signal_connect_after = connect_after(self, name, f, *extra) from gtk.GtkObject
signal_connect_object = connect_object(self, name, f, obj, *extra) from gtk.GtkObject
signal_handler_block(self, id) from gtk.GtkObject
signal_handler_unblock(self, id) from gtk.GtkObject
signal_handlers_destroy(self) from gtk.GtkObject
size_allocate(self, a) from gtk.GtkWidget
size_request(self) from gtk.GtkWidget
sort(self) from gtk.GtkCList
swap_rows(self, row1, row2) from gtk.GtkCList
thaw(self) from gtk.GtkCList
undo_selection(self) from gtk.GtkCList
unlock_accelerators(self) from gtk.GtkWidget
unmap(self, obj=None) from gtk.GtkWidget
unparent(self) from gtk.GtkWidget
unrealize(self, obj=None) from gtk.GtkWidget
unregister_toplevel(self) from gtk.GtkContainer
unselect_all(self) from gtk.GtkCList
unselect_row(self, row, col) from gtk.GtkCList
unset_flags(self, flags) from gtk.GtkObject

 
Functions
            
_getLabeledList(label='', command=None, etchedBorder=0)
Utility function to return a labeled frame and scrollable list

 
Data
             ACCEL_LOCKED = 4
ACCEL_MASK = 7
ACCEL_SIGNAL_VISIBLE = 2
ACCEL_VISIBLE = 1
ANCHOR_CENTER = 0
ANCHOR_E = 8
ANCHOR_EAST = 8
ANCHOR_N = 1
ANCHOR_NE = 3
ANCHOR_NORTH = 1
ANCHOR_NORTH_EAST = 3
ANCHOR_NORTH_WEST = 2
ANCHOR_NW = 2
ANCHOR_S = 4
ANCHOR_SE = 6
ANCHOR_SOUTH = 4
ANCHOR_SOUTH_EAST = 6
ANCHOR_SOUTH_WEST = 5
ANCHOR_SW = 5
ANCHOR_W = 7
ANCHOR_WEST = 7
ARROW_DOWN = 1
ARROW_LEFT = 2
ARROW_RIGHT = 3
ARROW_UP = 0
BASIC = 262144
BUTTONBOX_DEFAULT_STYLE = 0
BUTTONBOX_EDGE = 2
BUTTONBOX_END = 4
BUTTONBOX_SPREAD = 1
BUTTONBOX_START = 3
CALENDAR_NO_MONTH_CHANGE = 4
CALENDAR_SHOW_DAY_NAMES = 2
CALENDAR_SHOW_HEADING = 1
CALENDAR_SHOW_WEEK_NUMBERS = 8
CALENDAR_WEEK_START_MONDAY = 16
CAN_DEFAULT = 8192
CAN_FOCUS = 2048
CELL_EMPTY = 0
CELL_PIXMAP = 2
CELL_PIXTEXT = 3
CELL_TEXT = 1
CELL_WIDGET = 4
CENTIMETERS = 2
COMPOSITE_CHILD = 131072
CONNECTED = 4
CTREE_EXPANDER_CIRCULAR = 3
CTREE_EXPANDER_NONE = 0
CTREE_EXPANDER_SQUARE = 1
CTREE_EXPANDER_TRIANGLE = 2
CTREE_EXPANSION_COLLAPSE = 2
CTREE_EXPANSION_COLLAPSE_RECURSIVE = 3
CTREE_EXPANSION_EXPAND = 0
CTREE_EXPANSION_EXPAND_RECURSIVE = 1
CTREE_EXPANSION_TOGGLE = 4
CTREE_EXPANSION_TOGGLE_RECURSIVE = 5
CTREE_LINES_DOTTED = 2
CTREE_LINES_NONE = 0
CTREE_LINES_SOLID = 1
CTREE_LINES_TABBED = 3
CTREE_POS_AFTER = 2
CTREE_POS_AS_CHILD = 1
CTREE_POS_BEFORE = 0
CURVE_TYPE_FREE = 2
CURVE_TYPE_LINEAR = 0
CURVE_TYPE_SPLINE = 1
DESTROYED = 1
DEST_DEFAULT_ALL = 7
DEST_DEFAULT_DROP = 4
DEST_DEFAULT_HIGHLIGHT = 2
DEST_DEFAULT_MOTION = 1
DIRECTION_LEFT = 0
DIRECTION_RIGHT = 1
DIR_DOWN = 3
DIR_LEFT = 4
DIR_RIGHT = 5
DIR_TAB_BACKWARD = 1
DIR_TAB_FORWARD = 0
DIR_UP = 2
EXPAND = 1
FALSE = 0
FILL = 4
FILL_X = 2
FILL_Y = 4
FLOATING = 2
HAS_DEFAULT = 16384
HAS_FOCUS = 4096
HAS_GRAB = 32768
INCHES = 1
JUSTIFY_CENTER = 2
JUSTIFY_FILL = 3
JUSTIFY_LEFT = 0
JUSTIFY_RIGHT = 1
LEFT_RIGHT = 1
MAPPED = 128
MATCH_ALL = 0
MATCH_ALL_TAIL = 1
MATCH_EXACT = 4
MATCH_HEAD = 2
MATCH_LAST = 5
MATCH_TAIL = 3
MENU_DIR_CHILD = 1
MENU_DIR_NEXT = 2
MENU_DIR_PARENT = 0
MENU_DIR_PREV = 3
MENU_FACTORY_MENU = 0
MENU_FACTORY_MENU_BAR = 1
MENU_FACTORY_OPTION_MENU = 2
NO_WINDOW = 32
ORIENTATION_HORIZONTAL = 0
ORIENTATION_VERTICAL = 1
PACK_END = 1
PACK_EXPAND = 1
PACK_START = 0
PARENT_SENSITIVE = 1024
PATH_CLASS = 2
PATH_PRIO_APPLICATION = 8
PATH_PRIO_GTK = 4
PATH_PRIO_HIGHEST = 15
PATH_PRIO_LOWEST = 0
PATH_PRIO_MASK = 15
PATH_PRIO_RC = 12
PATH_WIDGET = 0
PATH_WIDGET_CLASS = 1
PIXELS = 0
PIXELS_METRIC = 0
POINTS_METRIC = 1
POLICY_ALWAYS = 0
POLICY_AUTOMATIC = 1
POLICY_NEVER = 2
POS_BOTTOM = 3
POS_LEFT = 0
POS_RIGHT = 1
POS_TOP = 2
PREVIEW_COLOR = 0
PREVIEW_GRAYSCALE = 1
PROGRESS_BOTTOM_TO_TOP = 2
PROGRESS_CONTINUOUS = 0
PROGRESS_DISCRETE = 1
PROGRESS_LEFT_TO_RIGHT = 0
PROGRESS_RIGHT_TO_LEFT = 1
PROGRESS_TOP_TO_BOTTOM = 3
RC_STYLE = 65536
REALIZED = 64
RELIEF_HALF = 1
RELIEF_NONE = 2
RELIEF_NORMAL = 0
RESERVED_2 = 8
RESIZE_IMMEDIATE = 2
RESIZE_PARENT = 0
RESIZE_QUEUE = 1
SCROLL_JUMP = 5
SCROLL_NONE = 0
SCROLL_PAGE_BACKWARD = 3
SCROLL_PAGE_FORWARD = 4
SCROLL_STEP_BACKWARD = 1
SCROLL_STEP_FORWARD = 2
SELECTION_BROWSE = 1
SELECTION_EXTENDED = 3
SELECTION_MULTIPLE = 2
SELECTION_SINGLE = 0
SENSITIVE = 512
SHADOW_ETCHED_IN = 3
SHADOW_ETCHED_OUT = 4
SHADOW_IN = 1
SHADOW_NONE = 0
SHADOW_OUT = 2
SHRINK = 2
SIDE_BOTTOM = 1
SIDE_LEFT = 2
SIDE_RIGHT = 3
SIDE_TOP = 0
SORT_ASCENDING = 0
SORT_DESCENDING = 1
SPIN_END = 5
SPIN_HOME = 4
SPIN_PAGE_BACKWARD = 3
SPIN_PAGE_FORWARD = 2
SPIN_STEP_BACKWARD = 1
SPIN_STEP_FORWARD = 0
SPIN_USER_DEFINED = 6
STATE_ACTIVE = 1
STATE_INSENSITIVE = 4
STATE_NORMAL = 0
STATE_PRELIGHT = 2
STATE_SELECTED = 3
TARGET_SAME_APP = 1
TARGET_SAME_WIDGET = 2
TOOLBAR_BOTH = 2
TOOLBAR_CHILD_BUTTON = 1
TOOLBAR_CHILD_RADIOBUTTON = 3
TOOLBAR_CHILD_SPACE = 0
TOOLBAR_CHILD_TOGGLEBUTTON = 2
TOOLBAR_CHILD_WIDGET = 4
TOOLBAR_ICONS = 0
TOOLBAR_SPACE_EMPTY = 0
TOOLBAR_SPACE_LINE = 1
TOOLBAR_TEXT = 1
TOPLEVEL = 16
TOP_BOTTOM = 0
TREE_VIEW_ITEM = 1
TREE_VIEW_LINE = 0
TROUGH_END = 2
TROUGH_JUMP = 3
TROUGH_NONE = 0
TROUGH_START = 1
TRUE = 1
UPDATE_ALWAYS = 0
UPDATE_CONTINUOUS = 0
UPDATE_DELAYED = 2
UPDATE_DISCONTINUOUS = 1
UPDATE_IF_VALID = 1
VISIBILITY_FULL = 2
VISIBILITY_NONE = 0
VISIBILITY_PARTIAL = 1
VISIBLE = 256
WINDOW_DIALOG = 1
WINDOW_POPUP = 2
WINDOW_TOPLEVEL = 0
WIN_POS_CENTER = 1
WIN_POS_MOUSE = 2
WIN_POS_NONE = 0
__file__ = r'http://www.metaslash.com/brochure/tutorial/pygtkGui.py'
__name__ = 'pygtkGui'
_imageLoadOk = 0