Lines Matching refs:self
31 def __init__(self, os_name='mac', os_version='snowleopard', is_highdpi=False):
32 self.os_name = os_name
33 self.os_version = os_version
34 self._is_highdpi = is_highdpi
36 def is_mac(self):
37 return self.os_name == 'mac'
39 def is_linux(self):
40 return self.os_name == 'linux'
42 def is_win(self):
43 return self.os_name == 'win'
45 def is_highdpi(self):
46 return self._is_highdpi
48 def is_cygwin(self):
49 return self.os_name == 'cygwin'
51 def is_freebsd(self):
52 return self.os_name == 'freebsd'
54 def display_name(self):
57 def total_bytes_memory(self):
60 def terminal_width(self):