Home | History | Annotate | Download | only in plat-mac

Lines Matching defs:IC

0 """IC wrapper module, based on Internet Config 1.3"""
4 warnpy3k("In 3.x, the ic module is removed.", stacklevel=2)
36 """An unparseable IC entry"""
163 class IC:
164 def __init__(self, signature='Pyth', ic=None):
165 if ic:
166 self.ic = ic
168 self.ic = icglue.ICStart(signature)
169 if hasattr(self.ic, 'ICFindConfigFile'):
170 self.ic.ICFindConfigFile()
175 self.ic.ICBegin(icReadOnlyPerm)
176 num = self.ic.ICCountPref()
178 rv.append(self.ic.ICGetIndPref(i+1))
179 self.ic.ICEnd()
187 dummy = self.ic.ICFindPrefHandle(key, self.h)
193 attr = self.ic.ICFindPrefHandle(key, self.h)
198 self.ic.ICSetPref(key, ICattr_no_change, value)
205 self.ic.ICLaunchURL(hint, url, 0, len(url))
215 selStart, selEnd = self.ic.ICParseURL(hint, data, selStart, selEnd, self.h)
221 return self.ic.ICMapFilename(file)
224 return self.ic.ICMapTypeCreator(type, creator, filename)
237 if _dft_ic is None: _dft_ic = IC()
242 if _dft_ic is None: _dft_ic = IC()
247 if _dft_ic is None: _dft_ic = IC()
252 if _dft_ic is None: _dft_ic = IC()
257 if _dft_ic is None: _dft_ic = IC()
261 ic = IC()
262 for k in ic.keys():
264 v = ic[k]