コード例 #1
0
ファイル: popup.py プロジェクト: baowuji/quickpalm.future
 def show(self):
     # when the popup becomes visible, get the cursor
     # so we know how to replace the selection
     self.dotPosition = self.textComponent.getCaretPosition()
     self.setSize(self.getPreferredSize())
     JWindow.show(self)
コード例 #2
0
ファイル: popup.py プロジェクト: CafeGIS/gvSIG2_0
 def show(self):
     # when the popup becomes visible, get the cursor
     # so we know how to replace the selection
     self.dotPosition = self.textComponent.getCaretPosition()
     self.setSize(self.getPreferredSize())
     JWindow.show(self)