def __init__(self): Composite.__init__(self) stackPanel = StackPanel() stackPanel.add(Mailboxes(), self.createHeaderHTML("mailgroup.gif", "Mail"), True) stackPanel.add(Tasks(), self.createHeaderHTML("tasksgroup.gif", "Tasks"), True) stackPanel.add(Contacts(), self.createHeaderHTML("contactsgroup.gif", "Contacts"), True) stackPanel.showStack(0) self.initWidget(stackPanel)
def __init__(self): SimplePanel.__init__(self) stack = StackPanel(Width="100%", Height="300px") stack.add(HTML('The quick<br>brown fox<br>jumps over the<br>lazy dog.'), "Stack 1") stack.add(HTML('The<br>early<br>bird<br>catches<br>the<br>worm.'), "Stack 2") stack.add(HTML('The smart money<br>is on the<br>black horse.'), "Stack 3") self.add(stack)
def __init__(self): StackPanel.__init__(self, Width="100%", Height="300px") self.add(cProviderInboxPanel(), "Inbox") self.add(cPatientInboxPanel(), "Patient Messages") self.add(HTML('The<br>early<br>bird<br>catches<br>the<br>worm.'), "Waiting list") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Demographic and identity") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Hospitalization (most recent known)") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Operation (most recent known)") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Allergies and intolerances (known)") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Medication, current (known)") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Medication, discontinued (known, past 120 days)") self.add(HTML('The smart money<br>is on the<br>black horse.'), "Problem list")