def __init__( self, paper, xy=(), arrow=None, package=None, type='invisible'): point_drawable.__init__( self) if xy: self.x, self.y = xy self.paper = paper self.item = None self.focus_item = None self.selector = None self.type = type if arrow: self.arrow = arrow if package: self.read_package( package)
def __init__(self, paper, xy=(), text='', package=None): text_like.__init__(self) point_drawable.__init__(self) area_colored.__init__(self) meta_enabled.__init__(self, standard=paper.standard) self.paper = paper self.selector = None self._selected = 0 self.ftext = None if xy: self.set_xy(xy[0], xy[1]) self.xml_ftext = text self.item = None if package: self.read_package(package) self.focus_item = None self.justify = 'right'
def __init__(self, paper, xy=(), package=None): area_colored.__init__(self) point_drawable.__init__(self) with_font.__init__(self) meta_enabled.__init__(self, standard=paper.standard) self.paper = paper self.x = self.y = None self.focus_item = None self.selector = None self._selected = 0 self.font_size = 14 if xy: self.x, self.y = xy if package: self.read_package(package) # standard values self.update_font()
def __init__( self, paper, xy=(), text='', package=None): text_like.__init__( self) point_drawable.__init__( self) area_colored.__init__( self) meta_enabled.__init__( self, standard=paper.standard) self.paper = paper self.selector = None self._selected = 0 self.ftext = None if xy: self.set_xy( xy[0], xy[1]) self.xml_ftext = text self.item = None if package: self.read_package( package) self.focus_item = None self.justify = 'right'
def __init__( self, paper, xy=(), package=None): area_colored.__init__( self) point_drawable.__init__( self) with_font.__init__( self) meta_enabled.__init__( self, standard=paper.standard) self.paper = paper self.x = self.y = None self.focus_item = None self.selector = None self._selected = 0 self.font_size = 14 if xy: self.x, self.y = xy if package: self.read_package( package) # standard values self.update_font()
def __init__( self, standard=None, xy=(), molecule=None): meta_enabled.__init__( self, standard=standard) vertex_common.__init__( self) self.molecule = molecule point_drawable.__init__( self) oasa.chem_vertex.__init__( self) if xy: self.x, self.y = xy self.z = 0 # hidden self._reposition_on_redraw = 0 # presentation attrs self.selector = None self._selected = 0 #used to keep track whether this is selected or not self.item = None self.ftext = None self.pos = None self.focus_item = None
def __init__(self, standard=None, xy=(), molecule=None): meta_enabled.__init__(self, standard=standard) vertex_common.__init__(self) self.molecule = molecule point_drawable.__init__(self) oasa.chem_vertex.__init__(self) if xy: self.x, self.y = xy self.z = 0 # hidden self._reposition_on_redraw = 0 # presentation attrs self.selector = None self._selected = 0 #used to keep track whether this is selected or not self.item = None self.ftext = None self.pos = None self.focus_item = None