mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Import the MacOS toolbox modules from the Carbon package.
This commit is contained in:
parent
6dba6bc0a2
commit
5a6fdcd371
100 changed files with 336 additions and 331 deletions
|
@ -1,12 +1,12 @@
|
|||
import Wbase
|
||||
import Wkeys
|
||||
import Scrap
|
||||
from Carbon import Scrap
|
||||
import string
|
||||
import Evt
|
||||
import Events
|
||||
import Qd
|
||||
import Win
|
||||
import Lists
|
||||
from Carbon import Evt
|
||||
from Carbon import Events
|
||||
from Carbon import Qd
|
||||
from Carbon import Win
|
||||
from Carbon import Lists
|
||||
|
||||
|
||||
class List(Wbase.SelectableWidget):
|
||||
|
@ -39,7 +39,7 @@ class List(Wbase.SelectableWidget):
|
|||
self.setdrawingmode(1)
|
||||
|
||||
def createlist(self):
|
||||
import List
|
||||
from Carbon import List
|
||||
self._calcbounds()
|
||||
self.SetPort()
|
||||
rect = self._bounds
|
||||
|
@ -371,7 +371,7 @@ class TwoLineList(List):
|
|||
LDEF_ID = 468
|
||||
|
||||
def createlist(self):
|
||||
import List
|
||||
from Carbon import List
|
||||
self._calcbounds()
|
||||
self.SetPort()
|
||||
rect = self._bounds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue