コード例 #1
0
 def get_icon(self, size=(16, 16), client=wal.ART_OTHER):
     if self.is_icon:
         return resources.get_bitmap_by_id(self.action_id, client, size)
     return None
コード例 #2
0
ファイル: actions.py プロジェクト: sk1project/sk1-wx
	def get_icon(self, size=(16, 16), client=wx.ART_OTHER):
		if self.is_icon:
			return resources.get_bitmap_by_id(self.action_id, client, size)
		return None