Home | Trees | Indices | Help |
---|
|
1 from rox import Window 2 3 from traylib import * 4 from traylib.tray_container import TrayContainer 5 68 """ 9 A window showing a L{Tray}. 10 """ 114012 - def __init__(self, 13 min_size, 14 max_size, 15 tray_class, 16 icon_config, 17 tray_config, 18 *tray_args):19 """ 20 Creates a new C{TrayWindow}. 21 """ 22 Window.__init__(self) 23 self.set_size_request(-1, 48) 24 TrayContainer.__init__(self, 25 min_size, 26 max_size, 27 False, 28 tray_class, 29 icon_config, 30 tray_config, 31 *tray_args)3234 """ 35 @return: Half the height of the window. 36 """ 37 size = TrayContainer.get_icon_size(self) 38 size *= 0.5 39 return int(size)
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 14 06:58:33 2008 | http://epydoc.sourceforge.net |