コード例 #1
0
 def set_active(self, active):
     if active is None:
         active = -1
     IdComboBox.set_active(self, active)
コード例 #2
0
ファイル: __init__.py プロジェクト: amirkarimi/starcal
 def set_active(self, active):
     if active is None:
         active = -1
     IdComboBox.set_active(self, active)
コード例 #3
0
 def get_active(self):
     active = IdComboBox.get_active(self)
     if active is -1:
         active = None
     return active
コード例 #4
0
ファイル: __init__.py プロジェクト: amirkarimi/starcal
 def get_active(self):
     active = IdComboBox.get_active(self)
     if active is -1:
         active = None
     return active