| |
- gtk.DrawingArea(gtk.Widget)
-
- FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
- gtk.FileChooserDialog(gtk.Dialog, gtk.FileChooser)
-
- FileChooserDialog
- gtk.FileSelection(gtk.Dialog)
-
- FileSelection
- gtk.Toolbar(gtk.Container)
-
- NavigationToolbar
- NavigationToolbar2GTK(matplotlib.backend_bases.NavigationToolbar2, gtk.Toolbar)
- matplotlib.backend_bases.FigureCanvasBase
-
- FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
- matplotlib.backend_bases.FigureManagerBase
-
- FigureManagerGTK
- FigureManagerGTK
- matplotlib.backend_bases.NavigationToolbar2
-
- NavigationToolbar2GTK(matplotlib.backend_bases.NavigationToolbar2, gtk.Toolbar)
class FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase) |
| |
- Method resolution order:
- FigureCanvasGTK
- gtk.DrawingArea
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
- matplotlib.backend_bases.FigureCanvasBase
Methods defined here:
- __init__(self, figure)
- button_press_event(self, widget, event)
- button_release_event(self, widget, event)
- configure_event(self, widget, event)
- draw(self)
- draw_idle(self)
- expose_event(self, widget, event)
- Expose_event for all GTK backends
Should not be overridden.
- key_press_event(self, widget, event)
- key_release_event(self, widget, event)
- motion_notify_event(self, widget, event)
- print_figure(self, filename, dpi=150, facecolor='w', edgecolor='w', orientation='portrait')
Data and other attributes defined here:
- keyvald = {65361: 'left', 65362: 'up', 65363: 'right', 65364: 'down', 65505: 'shift', 65506: 'shift', 65507: 'control', 65508: 'control', 65513: 'alt', 65514: 'alt'}
Methods inherited from gtk.DrawingArea:
- size(...)
Data and other attributes inherited from gtk.DrawingArea:
- __gtype__ = <GType GtkDrawingArea (137955864)>
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_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- 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_screen(...)
- 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(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- list_mnemonic_labels(...)
- map(...)
- mnemonic_activate(...)
- 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(...)
- 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 and other attributes inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
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(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_is_connected(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and other attributes inherited from gobject.GObject:
- __dict__ = <dictproxy object>
- __gdoc__ = 'Object GtkDrawingArea\n\nSignals from GObject:\n n...widget_show_all() should not affect this widget\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from matplotlib.backend_bases.FigureCanvasBase:
- draw_cursor(self, event)
- Draw a cursor in the event.axes if inaxes is not None. Use
native GUI drawing for efficiency if possible
- mpl_connect(self, s, func)
- Connect event with string s to func. The signature of func is
def func(event)
where event is a MplEvent. The following events are recognized
'key_press_event'
'button_press_event'
'button_release_event'
'motion_notify_event'
For the three events above, if the mouse is over the axes,
the variable event.inaxes will be set to the axes it is over,
and additionally, the variables event.xdata and event.ydata
will be defined. This is the mouse location in data coords.
See backend_bases.MplEvent.
return value is a connection id that can be used with
mpl_disconnect
- mpl_disconnect(self, cid)
- Connect s to func. return an id that can be used with disconnect
Method should return None
- switch_backends(self, FigureCanvasClass)
- instantiate an instance of FigureCanvasClass
This is used for backend switching, eg, to instantiate a
FigureCanvasPS from a FigureCanvasGTK. Note, deep copying is
not done, so any changes to one of the instances (eg, setting
figure size or line props), will be reflected in the other
Data and other attributes inherited from matplotlib.backend_bases.FigureCanvasBase:
- events = ('key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'motion_notify_event')
|
class FileChooserDialog(gtk.FileChooserDialog) |
|
GTK+ 2.4 file selector which remembers the last file/directory
selected and presents the user with a menu of supported image formats |
|
- Method resolution order:
- FileChooserDialog
- gtk.FileChooserDialog
- gtk.Dialog
- gtk.Window
- gtk.Bin
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- gtk.FileChooser
- gobject.GInterface
- __builtin__.object
Methods defined here:
- __init__(self, title='Save file', parent=None, action=<enum GTK_FILE_CHOOSER_ACTION_SAVE of type GtkFileChooserAction>, buttons=('gtk-cancel', <enum GTK_RESPONSE_CANCEL of type GtkResponseType>, 'gtk-save', <enum GTK_RESPONSE_OK of type GtkResponseType>), backend='', path=None)
- get_filename_from_user(self)
Data and other attributes inherited from gtk.FileChooserDialog:
- __gtype__ = <GType GtkFileChooserDialog (138011232)>
Methods inherited from gtk.Dialog:
- add_action_widget(...)
- add_button(...)
- add_buttons(...)
- get_has_separator(...)
- response(...)
- run(...)
- set_default_response(...)
- set_has_separator(...)
- set_response_sensitive(...)
Data and other attributes inherited from gtk.Dialog:
- action_area = <attribute 'action_area' of 'gtk.Dialog' objects>
- vbox = <attribute 'vbox' of 'gtk.Dialog' objects>
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_destroy_with_parent(...)
- get_focus(...)
- get_frame_dimensions(...)
- get_gravity(...)
- get_has_frame(...)
- get_icon(...)
- get_icon_list(...)
- 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(...)
- has_toplevel_focus(...)
- iconify(...)
- is_active(...)
- maximize(...)
- mnemonic_activate(...)
- move(...)
- parse_geometry(...)
- present(...)
- propagate_key_event(...)
- remove_accel_group(...)
- remove_mnemonic(...)
- reshow_with_initial_size(...)
- resize(...)
- set_accept_focus(...)
- set_decorated(...)
- set_default(...)
- set_default_size(...)
- set_destroy_with_parent(...)
- set_focus(...)
- set_frame_dimensions(...)
- set_geometry_hints(...)
- set_gravity(...)
- set_has_frame(...)
- set_icon(...)
- set_icon_from_file(...)
- set_icon_list(...)
- 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_wmclass(...)
- stick(...)
- tooltips_get_info_from_tip_window(...)
- unfullscreen(...)
- unmaximize(...)
- unstick(...)
Data and other attributes inherited from gtk.Window:
- allow_grow = <attribute 'allow_grow' of 'gtk.Window' objects>
- allow_shrink = <attribute 'allow_shrink' of 'gtk.Window' objects>
- configure_notify_received = <attribute 'configure_notify_received' of 'gtk.Window' objects>
- configure_request_count = <attribute 'configure_request_count' of 'gtk.Window' objects>
- decorated = <attribute 'decorated' of 'gtk.Window' objects>
- default_widget = <attribute 'default_widget' of 'gtk.Window' objects>
- destroy_with_parent = <attribute 'destroy_with_parent' of 'gtk.Window' objects>
- focus_widget = <attribute 'focus_widget' of 'gtk.Window' objects>
- frame = <attribute 'frame' of 'gtk.Window' objects>
- frame_bottom = <attribute 'frame_bottom' of 'gtk.Window' objects>
- frame_left = <attribute 'frame_left' of 'gtk.Window' objects>
- frame_right = <attribute 'frame_right' of 'gtk.Window' objects>
- frame_top = <attribute 'frame_top' of 'gtk.Window' objects>
- gravity = <attribute 'gravity' of 'gtk.Window' objects>
- group = <attribute 'group' of 'gtk.Window' objects>
- has_focus = <attribute 'has_focus' of 'gtk.Window' objects>
- has_frame = <attribute 'has_frame' of 'gtk.Window' objects>
- has_user_ref_count = <attribute 'has_user_ref_count' of 'gtk.Window' objects>
- iconify_initially = <attribute 'iconify_initially' of 'gtk.Window' objects>
- keys_changed_handler = <attribute 'keys_changed_handler' of 'gtk.Window' objects>
- maximize_initially = <attribute 'maximize_initially' of 'gtk.Window' objects>
- mnemonic_modifier = <attribute 'mnemonic_modifier' of 'gtk.Window' objects>
- modal = <attribute 'modal' of 'gtk.Window' objects>
- need_default_position = <attribute 'need_default_position' of 'gtk.Window' objects>
- need_default_size = <attribute 'need_default_size' of 'gtk.Window' objects>
- position = <attribute 'position' of 'gtk.Window' objects>
- stick_initially = <attribute 'stick_initially' of 'gtk.Window' objects>
- title = <attribute 'title' of 'gtk.Window' objects>
- transient_parent = <attribute 'transient_parent' of 'gtk.Window' objects>
- type = <attribute 'type' of 'gtk.Window' objects>
- type_hint = <attribute 'type_hint' of 'gtk.Window' objects>
- wm_role = <attribute 'wm_role' of 'gtk.Window' objects>
- wmclass_class = <attribute 'wmclass_class' of 'gtk.Window' objects>
- wmclass_name = <attribute 'wmclass_name' of 'gtk.Window' objects>
Methods inherited from gtk.Bin:
- get_child(...)
Data and other attributes inherited from gtk.Bin:
- child = <attribute 'child' of 'gtk.Bin' objects>
Methods inherited from gtk.Container:
- 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 and other attributes inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
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_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- 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(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- list_mnemonic_labels(...)
- map(...)
- 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(...)
- 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 and other attributes inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
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(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_is_connected(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and other attributes inherited from gobject.GObject:
- __dict__ = <dictproxy object>
- __gdoc__ = 'Object GtkFileChooserDialog\n\nSignals from GObjec...he dialog has a separator bar above its buttons\n\n'
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
Methods inherited from gtk.FileChooser:
- add_filter(...)
- add_shortcut_folder(...)
- add_shortcut_folder_uri(...)
- get_action(...)
- get_current_folder(...)
- get_current_folder_uri(...)
- get_extra_widget(...)
- get_filename(...)
- get_filenames(...)
- get_filter(...)
- get_local_only(...)
- get_preview_filename(...)
- get_preview_uri(...)
- get_preview_widget(...)
- get_preview_widget_active(...)
- get_select_multiple(...)
- get_uri(...)
- get_uris(...)
- get_use_preview_label(...)
- list_filters(...)
- list_shortcut_folder_uris(...)
- list_shortcut_folders(...)
- remove_filter(...)
- remove_shortcut_folder(...)
- remove_shortcut_folder_uri(...)
- select_all(...)
- select_filename(...)
- select_uri(...)
- set_action(...)
- set_current_folder(...)
- set_current_folder_uri(...)
- set_current_name(...)
- set_extra_widget(...)
- set_filename(...)
- set_filter(...)
- set_local_only(...)
- set_preview_widget(...)
- set_preview_widget_active(...)
- set_select_multiple(...)
- set_uri(...)
- set_use_preview_label(...)
- unselect_all(...)
- unselect_filename(...)
- unselect_uri(...)
|
class NavigationToolbar(gtk.Toolbar) |
|
Public attributes
canvas - the FigureCanvas (gtk.DrawingArea)
win - the gtk.Window |
|
- Method resolution order:
- NavigationToolbar
- gtk.Toolbar
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, canvas, window)
- figManager is the FigureManagerGTK instance that contains the
toolbar, with attributes figure, window and drawingArea
- panx(self, button, arg)
- arg is either user callback data or a scroll event
- pany(self, button, arg)
- save_figure(self, button)
- set_active(self, ind)
- zoomx(self, button, arg)
- zoomy(self, button, arg)
Data and other attributes defined here:
- toolitems = (('Left', 'Pan left with click or wheel mouse (bidirectional)', 'gtk-go-back', 'panx', -1, True), ('Right', 'Pan right with click or wheel mouse (bidirectional)', 'gtk-go-forward', 'panx', 1, True), ('Zoom In X', 'Zoom In X (shrink the x axis limits) with click or wheel mouse (bidirectional)', 'gtk-zoom-in', 'zoomx', 1, True), ('Zoom Out X', 'Zoom Out X (expand the x axis limits) with click or wheel mouse (bidirectional)', 'gtk-zoom-out', 'zoomx', -1, True), (None, None, None, None, None, None), ('Up', 'Pan up with click or wheel mouse (bidirectional)', 'gtk-go-up', 'pany', 1, True), ('Down', 'Pan down with click or wheel mouse (bidirectional)', 'gtk-go-down', 'pany', -1, True), ('Zoom In Y', 'Zoom in Y (shrink the y axis limits) with click or wheel mouse (bidirectional)', 'gtk-zoom-in', 'zoomy', 1, True), ('Zoom Out Y', 'Zoom Out Y (expand the y axis limits) with click or wheel mouse (bidirectional)', 'gtk-zoom-out', 'zoomy', -1, True), (None, None, None, None, None, None), ('Save', 'Save the figure', 'gtk-save', 'save_figure', None, False))
Methods inherited from gtk.Toolbar:
- append_element(...)
- append_item(...)
- append_space(...)
- append_widget(...)
- get_drop_index(...)
- get_icon_size(...)
- get_item_index(...)
- get_n_items(...)
- get_nth_item(...)
- get_orientation(...)
- get_relief_style(...)
- get_show_arrow(...)
- get_style(...)
- get_tooltips(...)
- insert(...)
- insert_element(...)
- insert_item(...)
- insert_space(...)
- insert_stock(...)
- insert_widget(...)
- prepend_element(...)
- prepend_item(...)
- prepend_space(...)
- prepend_widget(...)
- remove_space(...)
- set_drop_highlight_item(...)
- set_icon_size(...)
- set_orientation(...)
- set_show_arrow(...)
- set_style(...)
- set_tooltips(...)
- unset_icon_size(...)
- unset_style(...)
Data and other attributes inherited from gtk.Toolbar:
- __gtype__ = <GType GtkToolbar (137959984)>
Methods inherited from gtk.Container:
- 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 and other attributes inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
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_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- draw(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- 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_screen(...)
- get_settings(...)
- get_size_request(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- has_screen(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- list_mnemonic_labels(...)
- map(...)
- mnemonic_activate(...)
- 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(...)
- 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_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 and other attributes inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
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(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_is_connected(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and other attributes inherited from gobject.GObject:
- __dict__ = <dictproxy object>
- __gdoc__ = "Object GtkToolbar\n\nSignals from GObject:\n notif...rrow should be shown if the toolbar doesn't fit\n\n"
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
|
class NavigationToolbar2GTK(matplotlib.backend_bases.NavigationToolbar2, gtk.Toolbar) |
| |
- Method resolution order:
- NavigationToolbar2GTK
- matplotlib.backend_bases.NavigationToolbar2
- gtk.Toolbar
- gtk.Container
- gtk.Widget
- gtk.Object
- gobject.GObject
- __builtin__.object
Methods defined here:
- __init__(self, canvas, window)
- configure_subplots(self, button)
- draw_rubberband(self, event, x0, y0, x1, y1)
- adapted from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744
- dynamic_update(self)
- release(self, event)
- save_figure(self, button)
- set_cursor(self, cursor)
- set_message(self, s)
Data and other attributes defined here:
- toolitems = (('Home', 'Reset original view', 'home.png', 'home'), ('Back', 'Back to previous view', 'back.png', 'back'), ('Forward', 'Forward to next view', 'forward.png', 'forward'), ('Pan', 'Pan axes with left mouse, zoom with right', 'move.png', 'pan'), ('Zoom', 'Zoom to rectangle', 'zoom_to_rect.png', 'zoom'), (None, None, None, None), ('Subplots', 'Configure subplots', 'subplots.png', 'configure_subplots'), ('Save', 'Save the figure', 'filesave.png', 'save_figure'))
Methods inherited from matplotlib.backend_bases.NavigationToolbar2:
- back(self, *args)
- move back up the view lim stack
- drag_pan(self, event)
- the drag callback in pan/zoom mode
- draw(self)
- redraw the canvases, update the locators
- forward(self, *args)
- move forward in the view lim stack
- home(self, *args)
- restore the original view
- mouse_move(self, event)
- pan(self, *args)
- Activate the pan/zoom tool. pan with left button, zoom with right
- press(self, event)
- this will be called whenver a mouse button is pressed
- press_pan(self, event)
- the press mouse button in pan/zoom mode callback
- press_zoom(self, event)
- the press mouse button in zoom to rect mode callback
- push_current(self)
- push the current view limits onto the stack
- release_pan(self, event)
- the release mouse button callback in pan/zoom mode
- release_zoom(self, event)
- the release mouse button callback in zoom to rect mode
- set_history_buttons(self)
- enable or disable back/forward button
- update(self)
- reset the axes stack
- zoom(self, *args)
- activate zoom to rect mode
Methods inherited from gtk.Toolbar:
- append_element(...)
- append_item(...)
- append_space(...)
- append_widget(...)
- get_drop_index(...)
- get_icon_size(...)
- get_item_index(...)
- get_n_items(...)
- get_nth_item(...)
- get_orientation(...)
- get_relief_style(...)
- get_show_arrow(...)
- get_style(...)
- get_tooltips(...)
- insert(...)
- insert_element(...)
- insert_item(...)
- insert_space(...)
- insert_stock(...)
- insert_widget(...)
- prepend_element(...)
- prepend_item(...)
- prepend_space(...)
- prepend_widget(...)
- remove_space(...)
- set_drop_highlight_item(...)
- set_icon_size(...)
- set_orientation(...)
- set_show_arrow(...)
- set_style(...)
- set_tooltips(...)
- unset_icon_size(...)
- unset_style(...)
Data and other attributes inherited from gtk.Toolbar:
- __gtype__ = <GType GtkToolbar (137959984)>
Methods inherited from gtk.Container:
- 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 and other attributes inherited from gtk.Container:
- border_width = <attribute 'border_width' of 'gtk.Container' objects>
- focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
- has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
- need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
- reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
- resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>
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_find_target(...)
- drag_dest_get_target_list(...)
- drag_dest_set(...)
- drag_dest_set_proxy(...)
- drag_dest_set_target_list(...)
- drag_dest_unset(...)
- drag_get_data(...)
- drag_highlight(...)
- drag_source_set(...)
- drag_source_set_icon(...)
- drag_source_set_icon_pixbuf(...)
- drag_source_set_icon_stock(...)
- drag_source_unset(...)
- drag_unhighlight(...)
- ensure_style(...)
- event(...)
- freeze_child_notify(...)
- get_accessible(...)
- 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_screen(...)
- get_settings(...)
- get_size_request(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- has_screen(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- list_mnemonic_labels(...)
- map(...)
- mnemonic_activate(...)
- 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(...)
- 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_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 and other attributes inherited from gtk.Widget:
- allocation = <attribute 'allocation' of 'gtk.Widget' objects>
- name = <attribute 'name' of 'gtk.Widget' objects>
- parent = <attribute 'parent' of 'gtk.Widget' objects>
- saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
- state = <attribute 'state' of 'gtk.Widget' objects>
- style = <attribute 'style' of 'gtk.Widget' objects>
- window = <attribute 'window' of 'gtk.Widget' objects>
Methods inherited from gtk.Object:
- flags(...)
- set_flags(...)
- unset_flags(...)
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(...)
- emit(...)
- emit_stop_by_name(...)
- freeze_notify(...)
- get_data(...)
- get_property(...)
- handler_block(...)
- handler_disconnect(...)
- handler_is_connected(...)
- handler_unblock(...)
- notify(...)
- set_data(...)
- set_property(...)
- stop_emission(...)
- thaw_notify(...)
Data and other attributes inherited from gobject.GObject:
- __dict__ = <dictproxy object>
- __gdoc__ = "Object GtkToolbar\n\nSignals from GObject:\n notif...rrow should be shown if the toolbar doesn't fit\n\n"
- __grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
- __new__ = <built-in method __new__ of type object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
| |