@header@
 
 
matplotlib.backends.backend_gtkagg
index
/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_gtkagg.py

Render to gtk from agg

 
Modules
       
gtk
os

 
Classes
       
matplotlib.backends.backend_agg.FigureCanvasAgg(matplotlib.backend_bases.FigureCanvasBase)
FigureCanvasGTKAgg(matplotlib.backends.backend_gtk.FigureCanvasGTK, matplotlib.backends.backend_agg.FigureCanvasAgg)
matplotlib.backends.backend_gtk.FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
FigureCanvasGTKAgg(matplotlib.backends.backend_gtk.FigureCanvasGTK, matplotlib.backends.backend_agg.FigureCanvasAgg)

 
class FigureCanvasGTKAgg(matplotlib.backends.backend_gtk.FigureCanvasGTK, matplotlib.backends.backend_agg.FigureCanvasAgg)
    
Method resolution order:
FigureCanvasGTKAgg
matplotlib.backends.backend_gtk.FigureCanvasGTK
gtk.DrawingArea
gtk.Widget
gtk.Object
gobject.GObject
__builtin__.object
matplotlib.backends.backend_agg.FigureCanvasAgg
matplotlib.backend_bases.FigureCanvasBase

Methods defined here:
configure_event(self, widget, event=None)
print_figure(self, filename, dpi=150, facecolor='w', edgecolor='w', orientation='portrait')

Methods inherited from matplotlib.backends.backend_gtk.FigureCanvasGTK:
__init__(self, figure)
button_press_event(self, widget, event)
button_release_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)

Data and other attributes inherited from matplotlib.backends.backend_gtk.FigureCanvasGTK:
keyvald = {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 (139076664)>

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_clipboard(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_display(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
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(...)
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_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.backends.backend_agg.FigureCanvasAgg:
buffer_rgba(self)
get_renderer(self)
tostring_argb(self)
tostring_rgb(self)

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')

 
Functions
       
agg_to_gtk_drawable(...)
Draw to a gtk drawable from a agg buffer.
new_figure_manager(num, *args, **kwargs)
Create a new figure manager instance

 
Data
        DEBUG = False
PIXELS_PER_INCH = 96
backend_version = '2.2.0'
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
@footer@