Module ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str Str Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore TupleLoad TupleLoad Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body Return NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Return NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list
N/A ginga GingaPlugin ginga.gw Widgets Ruler N/A N/A GingaPlugin LocalPlugin N/A __init__ N/A N/A self fv fitsimage N/A N/A N/A N/A N/A N/A super Ruler self __init__ fv fitsimage N/A N/A self rulecolor green N/A N/A self layertag ruler-canvas N/A N/A self ruletag None N/A N/A self dc N/A N/A fv getDrawClasses N/A canvas N/A N/A N/A self dc DrawingCanvas N/A N/A N/A canvas enable_draw True N/A N/A N/A canvas enable_edit True N/A N/A N/A canvas set_drawtype ruler color cyan N/A N/A N/A canvas set_callback draw-event N/A self wcsruler N/A N/A N/A canvas set_callback draw-down N/A self clear N/A N/A N/A canvas set_callback edit-event N/A self edit_cb N/A N/A N/A canvas set_draw_mode draw N/A N/A N/A canvas set_surface N/A self fitsimage N/A N/A N/A canvas register_for_cursor_drawing N/A self fitsimage N/A N/A canvas name Ruler-canvas N/A N/A self canvas canvas N/A N/A self w None N/A N/A self unittypes N/A arcmin degrees pixels N/A N/A self units arcmin N/A build_gui N/A N/A self container N/A N/A N/A top N/A N/A Widgets VBox N/A N/A N/A top set_border_width 4 N/A N/A vbox sw orientation N/A N/A Widgets get_oriented_box container N/A N/A N/A vbox set_border_width 4 N/A N/A N/A vbox set_spacing 2 N/A N/A self msgFont N/A N/A N/A self fv getFont sansFont 12 N/A tw N/A N/A Widgets TextArea wrap True editable False N/A N/A N/A tw set_font N/A self msgFont N/A N/A self tw tw N/A fr N/A N/A Widgets Expander Instructions N/A N/A N/A fr set_widget tw N/A N/A N/A vbox add_widget fr stretch 0 N/A fr N/A N/A Widgets Frame Ruler N/A captions N/A N/A Units: label Units combobox N/A N/A w b N/A N/A Widgets build_info captions orientation orientation N/A N/A self w b N/A combobox N/A b units N/A name N/A self unittypes N/A N/A N/A N/A combobox append_text name N/A index N/A N/A N/A self unittypes index N/A self units N/A N/A N/A combobox set_index index N/A N/A N/A combobox add_callback activated N/A N/A N/A w idx N/A N/A N/A self set_units N/A N/A N/A fr set_widget w N/A N/A N/A vbox add_widget fr stretch 0 N/A mode N/A N/A N/A self canvas get_draw_mode N/A hbox N/A N/A Widgets HBox N/A btn1 N/A N/A Widgets RadioButton Draw N/A N/A N/A btn1 set_state N/A mode draw N/A N/A N/A btn1 add_callback activated N/A N/A N/A w val N/A N/A N/A self set_mode_cb draw val N/A N/A N/A btn1 set_tooltip Choose this to draw a ruler N/A N/A N/A self w btn_draw btn1 N/A N/A N/A hbox add_widget btn1 N/A btn2 N/A N/A Widgets RadioButton Edit group btn1 N/A N/A N/A btn2 set_state N/A mode edit N/A N/A N/A btn2 add_callback activated N/A N/A N/A w val N/A N/A N/A self set_mode_cb edit val N/A N/A N/A btn2 set_tooltip Choose this to edit a ruler N/A N/A N/A self w btn_edit btn2 N/A N/A N/A hbox add_widget btn2 N/A N/A N/A hbox add_widget N/A N/A Widgets Label stretch 1 N/A N/A N/A vbox add_widget hbox stretch 0 N/A spacer N/A N/A Widgets Label N/A N/A N/A vbox add_widget spacer stretch 1 N/A N/A N/A top add_widget sw stretch 1 N/A btns N/A N/A Widgets HBox N/A N/A N/A btns set_spacing 3 N/A btn N/A N/A Widgets Button Close N/A N/A N/A btn add_callback activated N/A N/A N/A w N/A N/A N/A self close N/A N/A N/A btns add_widget btn stretch 0 N/A N/A N/A btns add_widget N/A N/A Widgets Label stretch 1 N/A N/A N/A top add_widget btns stretch 0 N/A N/A N/A container add_widget top stretch 1 N/A set_units N/A N/A self N/A N/A N/A index N/A N/A N/A N/A self w units get_index N/A units N/A N/A self unittypes N/A index N/A N/A self units units N/A N/A N/A N/A self canvas set_drawtype ruler color cyan units units N/A N/A N/A self ruletag None N/A N/A obj N/A N/A N/A self canvas get_object_by_tag N/A self ruletag N/A N/A N/A obj kind ruler N/A N/A N/A obj units units N/A N/A N/A N/A self canvas redraw whence 3 N/A True N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self fv stop_local_plugin N/A self chname N/A str self N/A True N/A instructions N/A N/A self N/A N/A N/A N/A N/A N/A self tw set_text Draw (or redraw) a line with the cursor.

Display the Zoom tab at the same time to precisely see detail while drawing. N/A start N/A N/A self N/A N/A N/A N/A N/A self instructions N/A p_canvas N/A N/A N/A self fitsimage get_canvas N/A N/A N/A N/A p_canvas has_object N/A self canvas N/A N/A N/A N/A p_canvas add N/A self canvas tag N/A self layertag N/A N/A N/A N/A self canvas delete_all_objects N/A N/A N/A self resume N/A pause N/A N/A self N/A N/A N/A N/A N/A N/A self canvas ui_setActive False N/A resume N/A N/A self N/A N/A N/A N/A N/A N/A self canvas ui_setActive True N/A N/A N/A N/A self fv showStatus Draw a ruler with the right mouse button N/A stop N/A N/A self N/A N/A N/A p_canvas N/A N/A N/A self fitsimage get_canvas N/A N/A N/A N/A N/A p_canvas delete_object_by_tag N/A self layertag N/A N/A N/A N/A N/A N/A N/A N/A self canvas ui_setActive False N/A N/A N/A N/A self fv showStatus N/A redo N/A N/A self N/A N/A N/A obj N/A N/A N/A self canvas get_object_by_tag N/A self ruletag N/A N/A N/A obj kind ruler N/A N/A True N/A N/A N/A N/A self canvas redraw whence 3 N/A clear N/A N/A self canvas button data_x data_y N/A N/A N/A N/A N/A N/A self canvas delete_all_objects N/A N/A self ruletag None N/A False N/A wcsruler N/A N/A self surface tag N/A N/A N/A obj N/A N/A N/A self canvas get_object_by_tag tag N/A N/A N/A obj kind ruler N/A N/A True N/A N/A N/A N/A N/A N/A self canvas delete_object_by_tag N/A self ruletag N/A N/A N/A N/A N/A N/A self ruletag tag N/A N/A obj color N/A self rulecolor N/A N/A obj cap ball N/A N/A N/A N/A self canvas redraw whence 3 N/A edit_cb N/A N/A self canvas obj N/A N/A N/A N/A N/A self redo N/A True N/A edit_select_ruler N/A N/A self N/A N/A N/A N/A N/A self ruletag None N/A N/A obj N/A N/A N/A self canvas get_object_by_tag N/A self ruletag N/A N/A N/A N/A self canvas edit_select obj N/A N/A N/A N/A N/A self canvas clear_selected N/A N/A N/A N/A self canvas update_canvas N/A set_mode_cb N/A N/A self mode tf N/A N/A N/A tf N/A N/A N/A N/A N/A self canvas set_draw_mode mode N/A N/A mode edit N/A N/A N/A N/A self edit_select_ruler N/A True N/A __str__ N/A N/A self N/A N/A N/A ruler N/A N/A