示例#1
0
    def _update_item_properties(self, id_, rules):
        if len(rules) > 0:
            bits = 1 << self.property_shift
        else:
            bits = 0 << self.property_shift

        wxgui_api.update_item_properties(self.filename, id_, bits,
                                                            self.property_mask)
示例#2
0
    def _update_item_properties(self, id_, rules):
        if len(rules) > 0:
            bits = 1 << self.property_shift
        else:
            bits = 0 << self.property_shift

        wxgui_api.update_item_properties(self.filename, id_, bits,
                                                            self.property_mask)
示例#3
0
 def _update_item_properties(self, id_, rbits):
     bits = rbits << self.property_shift
     wxgui_api.update_item_properties(self.filename, id_, bits,
                                                     self.property_mask)
示例#4
0
 def _update_item_properties(self, id_, rbits):
     bits = rbits << self.property_shift
     wxgui_api.update_item_properties(self.filename, id_, bits,
                                      self.property_mask)