| |
- ColorManagerGTK
- gtk.Dialog(gtk.Window)
-
- Dialog_MeasureTool
- gtk.DrawingArea(gtk.Widget)
-
- FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
- matplotlib.backend_bases.FigureCanvasBase
-
- FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
- matplotlib.backend_bases.FigureManagerBase
-
- FigureManagerGTK
- FigureManagerGTK
- gtk.FileSelection(gtk.Dialog)
-
- FileSelection
- matplotlib.backend_bases.GraphicsContextBase
-
- GraphicsContextGTK
- matplotlib.backend_bases.NavigationToolbar2
-
- NavigationToolbar2GTK(matplotlib.backend_bases.NavigationToolbar2, gtk.Toolbar)
- matplotlib.backend_bases.RendererBase
-
- RendererGTK
- gtk.Toolbar(gtk.Container)
-
- NavigationToolbar
- 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)
- expose_event(self, widget, event)
- key_press_event(self, widget, event)
- key_release_event(self, widget, event)
- motion_notify_event(self, widget, event)
- mpl_connect(self, s, func)
- mpl_disconnect(self, cid)
- print_figure(self, filename, dpi=150, facecolor='w', edgecolor='w')
- realize(self, widget)
- set_do_plot(self, b)
- True if you want to render to screen, False is hardcopy only
Data and other attributes defined here:
- keyvald = {65505: 'shift', 65507: 'control', 65513: 'alt'}
Methods inherited from gtk.DrawingArea:
- size(...)
Data and other attributes inherited from gtk.DrawingArea:
- __gtype__ = <GType GtkDrawingArea (137105824)>
Methods inherited from gtk.Widget:
- activate(...)
- add_accelerator(...)
- add_events(...)
- 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_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_size_request(...)
- get_style(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- 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(...)
- rc_get_style(...)
- remove_accelerator(...)
- 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_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(...)
- 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... what kind of extension events this widget gets\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:
- 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 = ('button_press_event', 'button_release_event', 'motion_notify_event')
|
class GraphicsContextGTK(matplotlib.backend_bases.GraphicsContextBase) |
| |
Methods defined here:
- __init__(self, gdkGC, renderer)
- set_capstyle(self, cs)
- Set the capstyle as a string in ('butt', 'round', 'projecting')
- set_clip_rectangle(self, rectangle)
- set_dashes(self, dash_offset, dash_list)
- set_foreground(self, fg, isRGB=None)
- Set the foreground color. fg can be a matlab format string, a
html hex color string, an rgb unit tuple, or a float between 0
and 1. In the latter case, grayscale is used.
- set_graylevel(self, frac)
- Set the foreground color to be a gray level with frac frac
- set_joinstyle(self, js)
- Set the join style to be one of ('miter', 'round', 'bevel')
- set_linestyle(self, style)
- set_linewidth(self, lw)
Methods inherited from matplotlib.backend_bases.GraphicsContextBase:
- copy_properties(self, gc)
- Copy properties from gc to self
- get_alpha(self)
- Return the alpha value used for blending - not supported on
all backends
- get_antialiased(self)
- Return true if the object shuold try to do antialiased rendering
- get_capstyle(self)
- Return the capstyle as a string in ('butt', 'round', 'projecting')
- get_clip_rectangle(self)
- Return the clip rectangle as (left, bottom, width, height)
- get_dashes(self)
- Return the dash information as an offset dashlist tuple The
dash list is a even size list that gives the ink on, ink off
in pixels. See p107 of to postscript BLUEBOOK for more info
Default value is None
- get_joinstyle(self)
- Return the line join style as one of ('miter', 'round', 'bevel')
- get_linestyle(self, style)
- Return the linestyle: one of ('solid', 'dashed', 'dashdot',
'dotted').
- get_linewidth(self)
- Return the line width in points as a scalar
- get_rgb(self)
- returns a tuple of three floats from 0-1. color can be a
matlab format string, a html hex color string, or a rgb tuple
- set_alpha(self, alpha)
- Set the alpha value used for blending - not supported on
all backends
- set_antialiased(self, b)
- True if object should be drawn with antialiased rendering
|
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=None)
- 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_icon_size(...)
- get_orientation(...)
- get_style(...)
- get_tooltips(...)
- insert_element(...)
- insert_item(...)
- insert_space(...)
- insert_stock(...)
- insert_widget(...)
- prepend_element(...)
- prepend_item(...)
- prepend_space(...)
- prepend_widget(...)
- remove_space(...)
- set_icon_size(...)
- set_orientation(...)
- set_style(...)
- set_tooltips(...)
- unset_icon_size(...)
- unset_style(...)
Data and other attributes inherited from gtk.Toolbar:
- __gtype__ = <GType GtkToolbar (137108560)>
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(...)
- 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_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_size_request(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- 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(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- 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_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(...)
- 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...tyle: Toolbar Style\n How to draw the toolbar\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, *args)
- 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)
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), ('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
- 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_icon_size(...)
- get_orientation(...)
- get_style(...)
- get_tooltips(...)
- insert_element(...)
- insert_item(...)
- insert_space(...)
- insert_stock(...)
- insert_widget(...)
- prepend_element(...)
- prepend_item(...)
- prepend_space(...)
- prepend_widget(...)
- remove_space(...)
- set_icon_size(...)
- set_orientation(...)
- set_style(...)
- set_tooltips(...)
- unset_icon_size(...)
- unset_style(...)
Data and other attributes inherited from gtk.Toolbar:
- __gtype__ = <GType GtkToolbar (137108560)>
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(...)
- 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_colormap(...)
- get_composite_name(...)
- get_direction(...)
- get_events(...)
- get_extension_events(...)
- get_modifier_style(...)
- get_name(...)
- get_pango_context(...)
- get_parent(...)
- get_parent_window(...)
- get_pointer(...)
- get_settings(...)
- get_size_request(...)
- get_toplevel(...)
- get_visual(...)
- grab_add(...)
- grab_default(...)
- grab_focus(...)
- grab_remove(...)
- hide(...)
- hide_all(...)
- hide_on_delete(...)
- intersect(...)
- is_ancestor(...)
- is_focus(...)
- 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(...)
- rc_get_style(...)
- realize(...)
- remove_accelerator(...)
- 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_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(...)
- 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...tyle: Toolbar Style\n How to draw the toolbar\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 RendererGTK(matplotlib.backend_bases.RendererBase) |
| |
Methods defined here:
- __init__(self, gtkDA, gdkDrawable, dpi)
- draw_arc(self, gc, rgbFace, x, y, width, height, angle1, angle2)
- Draw an arc centered at x,y with width and height
- draw_image(self, x, y, im, origin, bbox)
- Draw the Image instance into the current axes; x is the
distance in pixels from the left hand side of the canvas. y is
the distance from the origin. That is, if origin is upper, y
is the distance from top. If origin is lower, y is the
distance from bottom
- draw_line(self, gc, x1, y1, x2, y2)
- Draw a single line from x1,y1 to x2,y2
- draw_lines(self, gc, x, y)
- draw_mathtext(self, gc, x, y, s, prop, angle)
- draw_point(self, gc, x, y)
- Draw a single point at x,y
- draw_polygon(self, gc, rgbFace, points)
- Draw a polygon. points is a len vertices tuple, each element
giving the x,y coords a vertex
If gcFace is not None, fill the rectangle with it. gcEdge
is a GraphicsContext instance
- draw_rectangle(self, gc, rgbFace, x, y, width, height)
- Draw a rectangle at lower left x,y with width and height
If filled=True, fill the rectangle with the gc foreground
gc is a GraphicsContext instance
- draw_text(self, gc, x, y, s, prop, angle, ismath)
- flipy(self)
- get_canvas_width_height(self)
- return the canvas width and height in display coords
- get_pango_layout(self, s, prop)
- Return a pango layout instance for Text instance t. cache to
layoutd
- get_text_scale(self)
- Return the scale factor for fontsize taking screendpi and pixels per
inch into account
- get_text_width_height(self, s, prop, ismath)
- get the width and height in display coords of the string s
with FontPropertry prop
- new_gc(self)
- offset_text_height(self)
- points_to_pixels(self, points)
- convert point measures to pixels using dpi and the pixels per
inch of the display
Data and other attributes defined here:
- extentd = {}
- fontangles = {'italic': 2, 'normal': 0, 'oblique': 1}
- fontweights = {100: 200, 200: 300, 300: 300, 400: 400, 500: 400, 600: 700, 700: 700, 800: 900, 900: 800, 'black': 800, ...}
- layoutd = {}
- offsetd = {}
- rotated = {}
Methods inherited from matplotlib.backend_bases.RendererBase:
- close_group(self, s)
- close a grouping element with label s
- draw_line_collection(self, segments, transform, clipbox, colors, linewidths, antialiaseds, offsets, transOffset)
- This is a function for optimized line drawing. If you need to
draw many line segments with similar properties, it is faster
to avoid the overhead of all the object creation etc. The
lack of total configurability is compensated for with
efficiency. Hence we don't use a GC and many of the line
props it supports. See matplotlib.collections for more
details
sements is a sequence of ( line0, line1, line2), where linen =
(x0, y0), (x1, y1), ... (xm, ym). Each line can be a
different length
transform is used to Transform the lines
clipbox is a xmin, ymin, width, height clip rect
colors is a tuple of RGBA tuples
linewidths is a tuple of linewidths
antialiseds is a tuple of ones or zeros indicating whether the
segment should be aa or not
offsets, if not None, is a list of x,y offsets to translate
the lines by after transoff is used to transform the offset
coords
This function is intended to be overridden by the backend
level in extension code for backends that want fast line
collection drawing. Here is is implemented using native
backend calls and may be slow
- draw_poly_collection(self, verts, transform, clipbox, facecolors, edgecolors, linewidths, antialiaseds, offsets, transOffset)
- Draw a polygon collection
verts are a sequence of polygon vectors, where each polygon
vector is a sequence of x,y tuples of vertices
facecolors and edgecolors are a sequence of RGBA tuples
linewidths are a sequence of linewidths
antialiaseds are a sequence of 0,1 integers whether to use aa
- draw_regpoly_collection(self, clipbox, offsets, transOffset, verts, sizes, facecolors, edgecolors, linewidths, antialiaseds)
- Draw a regular poly collection
offsets is a sequence is x,y tuples and transOffset maps this
to display coords
verts are the vertices of the regular polygon at the origin
sizes are the area of the circle that circumscribes the
polygon in points^2
facecolors and edgecolors are a sequence of RGBA tuples
linewidths are a sequence of linewidths
antialiaseds are a sequence of 0,1 integers whether to use aa
- get_text_extent(self, text)
- Get the text extent in window coords
- open_group(self, s)
- open a grouping element with label s
| |