Package conduit :: Package gtkui :: Module Canvas :: Class ConduitCanvasItem
[hide private]

Class ConduitCanvasItem

source code


Instance Methods [hide private]
 
__init__(self, parent, model, width) source code
 
_add_progress_text(self) source code
 
_position_dataprovider(self, dpCanvasItem) source code
 
_build_widget(self, width) source code
 
_resize_height(self) source code
 
_delete_connector(self, item)
Deletes the connector associated with the sink item
source code
 
_on_conduit_parameters_changed(self, cond) source code
 
_on_conduit_dataprovider_changed(self, cond, olddpw, newdpw) source code
 
_on_conduit_progress(self, cond, percent, UIDs) source code
 
_get_connector_coordinates(self, fromdp, todp)
Calculates the points a connector shall connect to between fromdp and todp
source code
 
_remove_overlap(self) source code
 
get_styled_item_names(self) source code
 
get_style_properties(self, specifier) source code
 
update_appearance(self) source code
 
add_dataprovider_canvas_item(self, item) source code
 
delete_dataprovider_canvas_item(self, item)
Removes the DataProviderCanvasItem and its connectors
source code
 
set_height(self, h) source code
 
set_width(self, w) source code

Inherited from _CanvasItem: get_bottom, get_height, get_left, get_right, get_top, get_width

Inherited from _CanvasItem (private): _automatic_style_updater

Inherited from _StyleMixin: get_gtk_style, get_style_color_int_rgb, get_style_color_int_rgba, get_style_color_rgb, get_style_color_rgba

Inherited from _StyleMixin (private): _get_colors_and_state

Class Variables [hide private]
  DIVIDER = False
  FLAT_BOX = True
  WIDGET_HEIGHT = 63.0
  SIDE_PADDING = 10.0
  LINE_WIDTH = 2.0

Inherited from _CanvasItem: RECTANGLE_RADIUS

Method Details [hide private]

__init__(self, parent, model, width)
(Constructor)

source code 
Overrides: _CanvasItem.__init__

_get_connector_coordinates(self, fromdp, todp)

source code 
Calculates the points a connector shall connect to between fromdp and todp
Returns:
fromx,fromy,tox,toy

get_styled_item_names(self)

source code 
Overrides: _CanvasItem.get_styled_item_names

get_style_properties(self, specifier)

source code 
Overrides: _CanvasItem.get_style_properties