goocanvas.ItemViewSimple — The base class for the standard canvas item views.
class goocanvas.ItemView(gobject.GObject): |
Functions
def goocanvas.item_view_simple_item_changed(item
, recompute_bounds
, simple_view
)
goocanvas.ItemViewSimple
is used as a base class for the standard canvas item views.It provides default implementations for many of the
goocanvas.ItemView
methods.
def setup_accessibility()
Sets the accessible name and description of the view based on the "title" and "description" settings of the underlying canvas item. It also connects to the "notify::title" and "notify::description" signals to update the name and description when they are changed.
def goocanvas.item_view_simple_item_changed(item
, recompute_bounds
, simple_view
)
item : | The goocanvas.ItemView
that has changed. |
recompute_bounds : | True if the bounds need to be recomputed. |
simple_view : | The item view. |
This function is intended to be used by subclasses of
goocanvas.ItemViewSimple
only. It is used as a callback for the "changed" signal of the canvas items.
It requests an update or redraw of the item view as appropriate.