orca.brlmon (version 1529, $Date$)
index
/usr/lib/python2.5/site-packages/orca/brlmon.py

Provides a graphical braille display at the top of the screen.
This is mainly for debugging and for demonstrations.

 
Modules
       
gtk

 
Classes
       
gtk.Window(gtk.Bin)
BrlMon

 
class BrlMon(gtk.Window)
    Displays a GUI braille monitor that mirrors what is being
shown on the braille display.  This currently needs a lot of
work, but it is a start.  TODO's include doing a better job of
docking it at the top of the display (e.g., make all other
windows move out from underneath it), doing better highlighting of
the cursor cell, allowing the font to be set, and perhaps allowing
clicks to simulate cursor routing keys.
 
 
Method resolution order:
BrlMon
gtk.Window
gtk.Bin
gtk.Container
gtk.Widget
gtk.Object
gobject.GObject
atk.ImplementorIface
gobject.GInterface
__builtin__.object

Methods defined here:
__init__(self, numCells=32, cellWidth=25, cellHeight=50)
Create a new BrlMon.
 
Arguments:
- numCells: how many braille cells to make
- cellWidth: width of each cell in pixels
- cellHeight: height of each cell in pixels
onResize(self, object)
Tell the window to be a dock and set its struts, which I
thinks means to attempt to glue it somewhere on the display.
writeText(self, cursorCell, string)
Display the given text and highlight the given
cursor cell.  A cursorCell of 0 means no cell has
the cursor.
 
Arguments:
- cursorCell: 1-based index of cell with cursor
- string: len must be <= num cells.

Methods inherited from gtk.Window:
activate_default(...)
activate_focus(...)
activate_key(...)
add_accel_group(...)
add_mnemonic(...)
begin_move_drag(...)
begin_resize_drag(...)
deiconify(...)
fullscreen(...)
get_accept_focus(...)
get_decorated(...)
get_default_size(...)
get_deletable(...)
get_destroy_with_parent(...)
get_focus(...)
get_focus_on_map(...)
get_frame_dimensions(...)
get_gravity(...)
get_group(...)
get_has_frame(...)
get_icon(...)
get_icon_list(...)
get_icon_name(...)
get_mnemonic_modifier(...)
get_modal(...)
get_position(...)
get_resizable(...)
get_role(...)
get_screen(...)
get_size(...)
get_skip_pager_hint(...)
get_skip_taskbar_hint(...)
get_title(...)
get_transient_for(...)
get_type_hint(...)
get_urgency_hint(...)
has_toplevel_focus(...)
iconify(...)
is_active(...)
maximize(...)
mnemonic_activate(...)
move(...)
parse_geometry(...)
present(...)
present_with_time(...)
propagate_key_event(...)
remove_accel_group(...)
remove_mnemonic(...)
reshow_with_initial_size(...)
resize(...)
set_accept_focus(...)
set_decorated(...)
set_default(...)
set_default_size(...)
set_deletable(...)
set_destroy_with_parent(...)
set_focus(...)
set_focus_on_map(...)
set_frame_dimensions(...)
set_geometry_hints(...)
set_gravity(...)
set_has_frame(...)
set_icon(...)
set_icon_from_file(...)
set_icon_list(...)
set_icon_name(...)
set_keep_above(...)
set_keep_below(...)
set_mnemonic_modifier(...)
set_modal(...)
set_policy(...)
set_position(...)
set_resizable(...)
set_role(...)
set_screen(...)
set_skip_pager_hint(...)
set_skip_taskbar_hint(...)
set_title(...)
set_transient_for(...)
set_type_hint(...)
set_urgency_hint(...)
set_wmclass(...)
stick(...)
tooltips_get_info_from_tip_window(...)
unfullscreen(...)
unmaximize(...)
unstick(...)

Data descriptors inherited from gtk.Window:
allow_grow
allow_shrink
configure_notify_received
configure_request_count
decorated
default_widget
destroy_with_parent
focus_widget
frame
frame_bottom
frame_left
frame_right
frame_top
gravity
group
has_focus
has_frame
has_user_ref_count
iconify_initially
keys_changed_handler
maximize_initially
mnemonic_modifier
modal
need_default_position
need_default_size
position
stick_initially
title
transient_parent
type
type_hint
wm_role
wmclass_class
wmclass_name

Data and other attributes inherited from gtk.Window:
__gtype__ = <GType GtkWindow (136844848)>
do_activate_default = <built-in method do_activate_default of GObjectMeta object at 0x8270484>
do_activate_focus = <built-in method do_activate_focus of GObjectMeta object at 0x8270484>
do_frame_event = <built-in method do_frame_event of GObjectMeta object at 0x8270484>
do_keys_changed = <built-in method do_keys_changed of GObjectMeta object at 0x8270484>
do_move_focus = <built-in method do_move_focus of GObjectMeta object at 0x8270484>
do_set_focus = <built-in method do_set_focus of GObjectMeta object at 0x8270484>

Methods inherited from gtk.Bin:
get_child(...)

Data descriptors inherited from gtk.Bin:
child

Methods inherited from gtk.Container:
__iter__(...)
x.__iter__() <==> iter(x)
__len__(...)
x.__len__() <==> len(x)
__nonzero__(...)
x.__nonzero__() <==> x != 0
add(...)
add_with_properties(...)
check_resize(...)
child_get(...)
child_get_property(...)
child_set(...)
child_set_property(...)
child_type(...)
children(...)
forall(...)
foreach(...)
get_border_width(...)
get_children(...)
get_focus_chain(...)
get_focus_hadjustment(...)
get_focus_vadjustment(...)
get_resize_mode(...)
propagate_expose(...)
remove(...)
resize_children(...)
set_border_width(...)
set_focus_chain(...)
set_focus_child(...)
set_focus_hadjustment(...)
set_focus_vadjustment(...)
set_reallocate_redraws(...)
set_resize_mode(...)
unset_focus_chain(...)

Data descriptors inherited from gtk.Container:
border_width
focus_child
has_focus_chain
need_resize
reallocate_redraws
resize_mode

Data and other attributes inherited from gtk.Container:
do_add = <built-in method do_add of GObjectMeta object at 0x8270484>
do_check_resize = <built-in method do_check_resize of GObjectMeta object at 0x8270484>
do_child_type = <built-in method do_child_type of GObjectMeta object at 0x8270484>
do_composite_name = <built-in method do_composite_name of GObjectMeta object at 0x8270484>
do_get_child_property = <built-in method do_get_child_property of GObjectMeta object at 0x8270484>
do_remove = <built-in method do_remove of GObjectMeta object at 0x8270484>
do_set_child_property = <built-in method do_set_child_property of GObjectMeta object at 0x8270484>
do_set_focus_child = <built-in method do_set_focus_child of GObjectMeta object at 0x8270484>
install_child_property = <built-in method install_child_property of GObjectMeta object at 0x8270484>
list_child_properties = <built-in method list_child_properties of GObjectMeta object at 0x8270484>

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
add_mnemonic_label(...)
can_activate_accel(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_add_image_targets(...)
drag_dest_add_text_targets(...)
drag_dest_add_uri_targets(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_get_track_motion(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_set_track_motion(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_add_image_targets(...)
drag_source_add_text_targets(...)
drag_source_add_uri_targets(...)
drag_source_get_target_list(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_name(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_set_target_list(...)
drag_source_unset(...)
drag_unhighlight(...)
draw(...)
ensure_style(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_action(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_clipboard(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_display(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
get_no_show_all(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_root_window(...)
get_settings(...)
get_size_request(...)
get_style(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
has_screen(...)
hide(...)
hide_all(...)
hide_on_delete(...)
input_shape_combine_mask(...)
intersect(...)
is_ancestor(...)
is_composited(...)
is_focus(...)
list_mnemonic_labels(...)
map(...)
menu_get_for_attach_widget(...)
modify_base(...)
modify_bg(...)
modify_fg(...)
modify_font(...)
modify_style(...)
modify_text(...)
path(...)
queue_clear(...)
queue_clear_area(...)
queue_draw(...)
queue_draw_area(...)
queue_resize(...)
queue_resize_no_redraw(...)
rc_get_style(...)
realize(...)
region_intersect(...)
remove_accelerator(...)
remove_mnemonic_label(...)
render_icon(...)
reparent(...)
reset_rc_styles(...)
reset_shapes(...)
selection_add_target(...)
selection_add_targets(...)
selection_clear_targets(...)
selection_convert(...)
selection_owner_set(...)
selection_remove_all(...)
send_expose(...)
set_accel_path(...)
set_app_paintable(...)
set_child_visible(...)
set_colormap(...)
set_composite_name(...)
set_direction(...)
set_double_buffered(...)
set_events(...)
set_extension_events(...)
set_name(...)
set_no_show_all(...)
set_parent(...)
set_parent_window(...)
set_redraw_on_allocate(...)
set_scroll_adjustments(...)
set_sensitive(...)
set_size_request(...)
set_state(...)
set_style(...)
set_uposition(...)
set_usize(...)
shape_combine_mask(...)
show(...)
show_all(...)
show_now(...)
size_allocate(...)
size_request(...)
style_get_property(...)
thaw_child_notify(...)
translate_coordinates(...)
unmap(...)
unparent(...)
unrealize(...)

Data descriptors inherited from gtk.Widget:
allocation
name
parent
saved_state
state
style
window

Data and other attributes inherited from gtk.Widget:
do_button_press_event = <built-in method do_button_press_event of GObjectMeta object at 0x8270484>
do_button_release_event = <built-in method do_button_release_event of GObjectMeta object at 0x8270484>
do_can_activate_accel = <built-in method do_can_activate_accel of GObjectMeta object at 0x8270484>
do_client_event = <built-in method do_client_event of GObjectMeta object at 0x8270484>
do_composited_changed = <built-in method do_composited_changed of GObjectMeta object at 0x8270484>
do_configure_event = <built-in method do_configure_event of GObjectMeta object at 0x8270484>
do_delete_event = <built-in method do_delete_event of GObjectMeta object at 0x8270484>
do_destroy_event = <built-in method do_destroy_event of GObjectMeta object at 0x8270484>
do_direction_changed = <built-in method do_direction_changed of GObjectMeta object at 0x8270484>
do_drag_begin = <built-in method do_drag_begin of GObjectMeta object at 0x8270484>
do_drag_data_delete = <built-in method do_drag_data_delete of GObjectMeta object at 0x8270484>
do_drag_data_get = <built-in method do_drag_data_get of GObjectMeta object at 0x8270484>
do_drag_data_received = <built-in method do_drag_data_received of GObjectMeta object at 0x8270484>
do_drag_drop = <built-in method do_drag_drop of GObjectMeta object at 0x8270484>
do_drag_end = <built-in method do_drag_end of GObjectMeta object at 0x8270484>
do_drag_leave = <built-in method do_drag_leave of GObjectMeta object at 0x8270484>
do_drag_motion = <built-in method do_drag_motion of GObjectMeta object at 0x8270484>
do_enter_notify_event = <built-in method do_enter_notify_event of GObjectMeta object at 0x8270484>
do_event = <built-in method do_event of GObjectMeta object at 0x8270484>
do_expose_event = <built-in method do_expose_event of GObjectMeta object at 0x8270484>
do_focus = <built-in method do_focus of GObjectMeta object at 0x8270484>
do_focus_in_event = <built-in method do_focus_in_event of GObjectMeta object at 0x8270484>
do_focus_out_event = <built-in method do_focus_out_event of GObjectMeta object at 0x8270484>
do_get_accessible = <built-in method do_get_accessible of GObjectMeta object at 0x8270484>
do_grab_broken_event = <built-in method do_grab_broken_event of GObjectMeta object at 0x8270484>
do_grab_focus = <built-in method do_grab_focus of GObjectMeta object at 0x8270484>
do_grab_notify = <built-in method do_grab_notify of GObjectMeta object at 0x8270484>
do_hide = <built-in method do_hide of GObjectMeta object at 0x8270484>
do_hide_all = <built-in method do_hide_all of GObjectMeta object at 0x8270484>
do_hierarchy_changed = <built-in method do_hierarchy_changed of GObjectMeta object at 0x8270484>
do_key_press_event = <built-in method do_key_press_event of GObjectMeta object at 0x8270484>
do_key_release_event = <built-in method do_key_release_event of GObjectMeta object at 0x8270484>
do_leave_notify_event = <built-in method do_leave_notify_event of GObjectMeta object at 0x8270484>
do_map = <built-in method do_map of GObjectMeta object at 0x8270484>
do_map_event = <built-in method do_map_event of GObjectMeta object at 0x8270484>
do_mnemonic_activate = <built-in method do_mnemonic_activate of GObjectMeta object at 0x8270484>
do_motion_notify_event = <built-in method do_motion_notify_event of GObjectMeta object at 0x8270484>
do_no_expose_event = <built-in method do_no_expose_event of GObjectMeta object at 0x8270484>
do_parent_set = <built-in method do_parent_set of GObjectMeta object at 0x8270484>
do_popup_menu = <built-in method do_popup_menu of GObjectMeta object at 0x8270484>
do_property_notify_event = <built-in method do_property_notify_event of GObjectMeta object at 0x8270484>
do_proximity_in_event = <built-in method do_proximity_in_event of GObjectMeta object at 0x8270484>
do_proximity_out_event = <built-in method do_proximity_out_event of GObjectMeta object at 0x8270484>
do_realize = <built-in method do_realize of GObjectMeta object at 0x8270484>
do_screen_changed = <built-in method do_screen_changed of GObjectMeta object at 0x8270484>
do_scroll_event = <built-in method do_scroll_event of GObjectMeta object at 0x8270484>
do_selection_clear_event = <built-in method do_selection_clear_event of GObjectMeta object at 0x8270484>
do_selection_get = <built-in method do_selection_get of GObjectMeta object at 0x8270484>
do_selection_notify_event = <built-in method do_selection_notify_event of GObjectMeta object at 0x8270484>
do_selection_received = <built-in method do_selection_received of GObjectMeta object at 0x8270484>
do_selection_request_event = <built-in method do_selection_request_event of GObjectMeta object at 0x8270484>
do_show = <built-in method do_show of GObjectMeta object at 0x8270484>
do_show_all = <built-in method do_show_all of GObjectMeta object at 0x8270484>
do_show_help = <built-in method do_show_help of GObjectMeta object at 0x8270484>
do_size_allocate = <built-in method do_size_allocate of GObjectMeta object at 0x8270484>
do_size_request = <built-in method do_size_request of GObjectMeta object at 0x8270484>
do_state_changed = <built-in method do_state_changed of GObjectMeta object at 0x8270484>
do_style_set = <built-in method do_style_set of GObjectMeta object at 0x8270484>
do_unmap = <built-in method do_unmap of GObjectMeta object at 0x8270484>
do_unmap_event = <built-in method do_unmap_event of GObjectMeta object at 0x8270484>
do_unrealize = <built-in method do_unrealize of GObjectMeta object at 0x8270484>
do_visibility_notify_event = <built-in method do_visibility_notify_event of GObjectMeta object at 0x8270484>
do_window_state_event = <built-in method do_window_state_event of GObjectMeta object at 0x8270484>
get_activate_signal = <built-in method get_activate_signal of GObjectMeta object at 0x8270484>
set_activate_signal = <built-in method set_activate_signal of GObjectMeta object at 0x8270484>
set_set_scroll_adjustments_signal = <built-in method set_set_scroll_adjustments_signal of GObjectMeta object at 0x8270484>

Methods inherited from gtk.Object:
flags(...)
remove_data(...)
remove_no_notify(...)
set_flags(...)
unset_flags(...)

Data and other attributes inherited from gtk.Object:
do_destroy = <built-in method do_destroy of GObjectMeta object at 0x8270484>

Methods inherited from gobject.GObject:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__gobject_init__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__repr__(...)
x.__repr__() <==> repr(x)
chain(...)
connect(...)
connect_after(...)
connect_object(...)
connect_object_after(...)
disconnect(...)
disconnect_by_func(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_property(...)
handler_block(...)
handler_block_by_func(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
handler_unblock_by_func(...)
notify(...)
set_data(...)
set_property(...)
stop_emission(...)
thaw_notify(...)

Data descriptors inherited from gobject.GObject:
__dict__
__grefcount__

Data and other attributes inherited from gobject.GObject:
__gdoc__ = 'Object GtkWindow\n\nDisplays a GUI braille monitor...ointer\n\nSignals from GObject:\n notify (GParam)\n\n'
__new__ = <built-in method __new__ of GObjectMeta object at 0x40662400>
T.__new__(S, ...) -> a new object with type S, a subtype of T
props = <gobject.GProps object at 0x41107ecc>

Methods inherited from atk.ImplementorIface:
ref_accessible(...)

 
Data
        __copyright__ = 'Copyright (c) 2005-2006 Sun Microsystems Inc.'
__date__ = '$Date$'
__id__ = '$Id$'
__license__ = 'LGPL'
__version__ = '$Revision$'