465 lines (284 with data), 26.7 kB
@header@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="matplotlib.html"><font color="#ffffff">matplotlib</font></a>.<a href="matplotlib.backends.html"><font color="#ffffff">backends</font></a>.backend_gtkgd</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="/matplotlib/backends/backend_gtkgd.py">/matplotlib/backends/backend_gtkgd.py</a></font></td></tr></table>
<p><tt>This is a proof-of-concept backend to illustrate mixing a GUI frontend<br>
with a different image rendering backend. I use all the event handling<br>
and widget construction from backend_gtk, and use backend_gd for the<br>
image rendering.<br>
<br>
In real production code the image copy step gd->gtk will have to be<br>
done in C since it's god awful slow, but this is just a test of the<br>
new backend setup.<br>
<br>
Note that backend_gtkgd does not define or import the Renderer or<br>
GraphicsContext. It doesn't need one since all the drawing is done by<br>
the gd backend.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="gtk.html">gtk</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_gtk.html#FigureCanvasGTK">matplotlib.backends.backend_gtk.FigureCanvasGTK</a>(<a href="gtk.html#DrawingArea">gtk.DrawingArea</a>, <a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.backends.backend_gtkgd.html#FigureCanvasGTKGD">FigureCanvasGTKGD</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FigureCanvasGTKGD">class <strong>FigureCanvasGTKGD</strong></a>(<a href="matplotlib.backends.backend_gtk.html#FigureCanvasGTK">matplotlib.backends.backend_gtk.FigureCanvasGTK</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.backends.backend_gtkgd.html#FigureCanvasGTKGD">FigureCanvasGTKGD</a></dd>
<dd><a href="matplotlib.backends.backend_gtk.html#FigureCanvasGTK">matplotlib.backends.backend_gtk.FigureCanvasGTK</a></dd>
<dd><a href="gtk.html#DrawingArea">gtk.DrawingArea</a></dd>
<dd><a href="gtk.html#Widget">gtk.Widget</a></dd>
<dd><a href="gtk.html#Object">gtk.Object</a></dd>
<dd><a href="gobject.html#GObject">gobject.GObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
<dd><a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FigureCanvasGTKGD-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw to the GD backend and then copy the image to the<br>
gtk.gdk.drawable. This is a proof of concept demo to show how<br>
to plug image backends into GUI frontends.<br>
<br>
To make this usable the image copy will have to be done in C</tt></dd></dl>
<dl><dt><a name="FigureCanvasGTKGD-print_figure"><strong>print_figure</strong></a>(self, filename, dpi<font color="#909090">=150</font>, facecolor<font color="#909090">='w'</font>, edgecolor<font color="#909090">='w'</font>, orientation<font color="#909090">='portrait'</font>)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.backends.backend_gtk.html#FigureCanvasGTK">matplotlib.backends.backend_gtk.FigureCanvasGTK</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-__init__"><strong>__init__</strong></a>(self, figure)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-button_press_event"><strong>button_press_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-button_release_event"><strong>button_release_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-configure_event"><strong>configure_event</strong></a>(self, widget, event<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-expose_event"><strong>expose_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-is_realized"><strong>is_realized</strong></a>(self)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-key_press_event"><strong>key_press_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-key_release_event"><strong>key_release_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-motion_notify_event"><strong>motion_notify_event</strong></a>(self, widget, event)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-realize"><strong>realize</strong></a>(self, widget)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_do_plot"><strong>set_do_plot</strong></a>(self, b)</dt><dd><tt>True if you want to render to screen, False is hardcopy only</tt></dd></dl>
<hr>
Methods inherited from <a href="gtk.html#DrawingArea">gtk.DrawingArea</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-size"><strong>size</strong></a>(...)</dt></dl>
<hr>
Data and other attributes inherited from <a href="gtk.html#DrawingArea">gtk.DrawingArea</a>:<br>
<dl><dt><strong>__gtype__</strong> = <GType GtkDrawingArea (136886064)></dl>
<hr>
Methods inherited from <a href="gtk.html#Widget">gtk.Widget</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-activate"><strong>activate</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-add_accelerator"><strong>add_accelerator</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-add_events"><strong>add_events</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-child_focus"><strong>child_focus</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-child_notify"><strong>child_notify</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-class_path"><strong>class_path</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-create_pango_context"><strong>create_pango_context</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-create_pango_layout"><strong>create_pango_layout</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-destroy"><strong>destroy</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_begin"><strong>drag_begin</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_check_threshold"><strong>drag_check_threshold</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_find_target"><strong>drag_dest_find_target</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_get_target_list"><strong>drag_dest_get_target_list</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_set"><strong>drag_dest_set</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_set_proxy"><strong>drag_dest_set_proxy</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_set_target_list"><strong>drag_dest_set_target_list</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_dest_unset"><strong>drag_dest_unset</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_get_data"><strong>drag_get_data</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_highlight"><strong>drag_highlight</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_source_set"><strong>drag_source_set</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_source_set_icon"><strong>drag_source_set_icon</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_source_set_icon_pixbuf"><strong>drag_source_set_icon_pixbuf</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_source_set_icon_stock"><strong>drag_source_set_icon_stock</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_source_unset"><strong>drag_source_unset</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-drag_unhighlight"><strong>drag_unhighlight</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-ensure_style"><strong>ensure_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-event"><strong>event</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-freeze_child_notify"><strong>freeze_child_notify</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_accessible"><strong>get_accessible</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_allocation"><strong>get_allocation</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_ancestor"><strong>get_ancestor</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_child_requisition"><strong>get_child_requisition</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_child_visible"><strong>get_child_visible</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_clipboard"><strong>get_clipboard</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_colormap"><strong>get_colormap</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_composite_name"><strong>get_composite_name</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_direction"><strong>get_direction</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_display"><strong>get_display</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_events"><strong>get_events</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_extension_events"><strong>get_extension_events</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_modifier_style"><strong>get_modifier_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_name"><strong>get_name</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_pango_context"><strong>get_pango_context</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_parent"><strong>get_parent</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_parent_window"><strong>get_parent_window</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_pointer"><strong>get_pointer</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_root_window"><strong>get_root_window</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_screen"><strong>get_screen</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_settings"><strong>get_settings</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_size_request"><strong>get_size_request</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_style"><strong>get_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_toplevel"><strong>get_toplevel</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_visual"><strong>get_visual</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-grab_add"><strong>grab_add</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-grab_default"><strong>grab_default</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-grab_focus"><strong>grab_focus</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-grab_remove"><strong>grab_remove</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-has_screen"><strong>has_screen</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-hide"><strong>hide</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-hide_all"><strong>hide_all</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-hide_on_delete"><strong>hide_on_delete</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-intersect"><strong>intersect</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-is_ancestor"><strong>is_ancestor</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-is_focus"><strong>is_focus</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-map"><strong>map</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-mnemonic_activate"><strong>mnemonic_activate</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_base"><strong>modify_base</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_bg"><strong>modify_bg</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_fg"><strong>modify_fg</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_font"><strong>modify_font</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_style"><strong>modify_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-modify_text"><strong>modify_text</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-path"><strong>path</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-queue_clear"><strong>queue_clear</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-queue_clear_area"><strong>queue_clear_area</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-queue_draw"><strong>queue_draw</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-queue_draw_area"><strong>queue_draw_area</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-queue_resize"><strong>queue_resize</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-rc_get_style"><strong>rc_get_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-remove_accelerator"><strong>remove_accelerator</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-render_icon"><strong>render_icon</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-reparent"><strong>reparent</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-reset_rc_styles"><strong>reset_rc_styles</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-reset_shapes"><strong>reset_shapes</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_add_target"><strong>selection_add_target</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_add_targets"><strong>selection_add_targets</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_clear_targets"><strong>selection_clear_targets</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_convert"><strong>selection_convert</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_owner_set"><strong>selection_owner_set</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-selection_remove_all"><strong>selection_remove_all</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-send_expose"><strong>send_expose</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_accel_path"><strong>set_accel_path</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_app_paintable"><strong>set_app_paintable</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_child_visible"><strong>set_child_visible</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_colormap"><strong>set_colormap</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_composite_name"><strong>set_composite_name</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_direction"><strong>set_direction</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_double_buffered"><strong>set_double_buffered</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_events"><strong>set_events</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_extension_events"><strong>set_extension_events</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_name"><strong>set_name</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_parent"><strong>set_parent</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_parent_window"><strong>set_parent_window</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_redraw_on_allocate"><strong>set_redraw_on_allocate</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_scroll_adjustments"><strong>set_scroll_adjustments</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_sensitive"><strong>set_sensitive</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_size_request"><strong>set_size_request</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_state"><strong>set_state</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_style"><strong>set_style</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_uposition"><strong>set_uposition</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_usize"><strong>set_usize</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-shape_combine_mask"><strong>shape_combine_mask</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-show"><strong>show</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-show_all"><strong>show_all</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-show_now"><strong>show_now</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-size_allocate"><strong>size_allocate</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-size_request"><strong>size_request</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-thaw_child_notify"><strong>thaw_child_notify</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-translate_coordinates"><strong>translate_coordinates</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-unmap"><strong>unmap</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-unparent"><strong>unparent</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-unrealize"><strong>unrealize</strong></a>(...)</dt></dl>
<hr>
Data and other attributes inherited from <a href="gtk.html#Widget">gtk.Widget</a>:<br>
<dl><dt><strong>allocation</strong> = <attribute 'allocation' of 'gtk.Widget' objects></dl>
<dl><dt><strong>name</strong> = <attribute 'name' of 'gtk.Widget' objects></dl>
<dl><dt><strong>parent</strong> = <attribute 'parent' of 'gtk.Widget' objects></dl>
<dl><dt><strong>saved_state</strong> = <attribute 'saved_state' of 'gtk.Widget' objects></dl>
<dl><dt><strong>state</strong> = <attribute 'state' of 'gtk.Widget' objects></dl>
<dl><dt><strong>style</strong> = <attribute 'style' of 'gtk.Widget' objects></dl>
<dl><dt><strong>window</strong> = <attribute 'window' of 'gtk.Widget' objects></dl>
<hr>
Methods inherited from <a href="gtk.html#Object">gtk.Object</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-flags"><strong>flags</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_flags"><strong>set_flags</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-unset_flags"><strong>unset_flags</strong></a>(...)</dt></dl>
<hr>
Methods inherited from <a href="gobject.html#GObject">gobject.GObject</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#FigureCanvasGTKGD-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="FigureCanvasGTKGD-__gobject_init__"><strong>__gobject_init__</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#FigureCanvasGTKGD-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="FigureCanvasGTKGD-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#FigureCanvasGTKGD-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="FigureCanvasGTKGD-chain"><strong>chain</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-connect"><strong>connect</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-connect_after"><strong>connect_after</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-connect_object"><strong>connect_object</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-connect_object_after"><strong>connect_object_after</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-disconnect"><strong>disconnect</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-emit"><strong>emit</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-emit_stop_by_name"><strong>emit_stop_by_name</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-freeze_notify"><strong>freeze_notify</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_data"><strong>get_data</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-get_property"><strong>get_property</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-handler_block"><strong>handler_block</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-handler_disconnect"><strong>handler_disconnect</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-handler_is_connected"><strong>handler_is_connected</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-handler_unblock"><strong>handler_unblock</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-notify"><strong>notify</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_data"><strong>set_data</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-set_property"><strong>set_property</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-stop_emission"><strong>stop_emission</strong></a>(...)</dt></dl>
<dl><dt><a name="FigureCanvasGTKGD-thaw_notify"><strong>thaw_notify</strong></a>(...)</dt></dl>
<hr>
Data and other attributes inherited from <a href="gobject.html#GObject">gobject.GObject</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object></dl>
<dl><dt><strong>__gdoc__</strong> = 'Object GtkDrawingArea<font color="#c040c0">\n\n</font>Signals from GObject:<font color="#c040c0">\n</font> n... what kind of extension events this widget gets<font color="#c040c0">\n\n</font>'</dl>
<dl><dt><strong>__grefcount__</strong> = <attribute '__grefcount__' of 'gobject.GObject' objects></dl>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#FigureCanvasGTKGD-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<hr>
Methods inherited from <a href="matplotlib.backend_bases.html#FigureCanvasBase">matplotlib.backend_bases.FigureCanvasBase</a>:<br>
<dl><dt><a name="FigureCanvasGTKGD-switch_backends"><strong>switch_backends</strong></a>(self, FigureCanvasClass)</dt><dd><tt>instantiate an instance of FigureCanvasClass<br>
<br>
This is used for backend switching, eg, to instantiate a<br>
FigureCanvasPS from a <a href="matplotlib.backends.backend_gtk.html#FigureCanvasGTK">FigureCanvasGTK</a>. Note, deep copying is<br>
not done, so any changes to one of the instances (eg, setting<br>
figure size or line props), will be reflected in the other</tt></dd></dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-gd_to_gtk_drawable"><strong>gd_to_gtk_drawable</strong></a>(drawable, gdImage)</dt><dd><tt>Draw to a gtk.gdk.Drawable from a gd.Image. drawable must be<br>
the same size as image</tt></dd></dl>
<dl><dt><a name="-new_figure_manager"><strong>new_figure_manager</strong></a>(num, *args)</dt><dd><tt>Create a new figure manager instance</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>False</strong> = False<br>
<strong>PIXELS_PER_INCH</strong> = 72<br>
<strong>True</strong> = True<br>
<strong>colorManager</strong> = <matplotlib.backends.backend_gtk.ColorManagerGTK instance><br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)</td></tr></table>
@footer@