Esempio n. 1
0
 def __init__(self, identifier, instructions):
     DialogBoxModal.__init__(self, identifier, autoHide=False)
     self.setWidth('%dpx' % POPUP_WIDTH)
     self.setHeight('%dpx' % POPUP_HEIGHT)
     self.scrollpanel = ScrollPanel(
         instructions, Width='100%', Height='%dpx' % (POPUP_HEIGHT - 30,))
     self.setWidget(self.scrollpanel)
Esempio n. 2
0
 def __init__(self, identifier, query, nUsers, tabName,
              preparePanel, topPanel):
     DialogBoxModal.__init__(self, identifier, autoHide=True)
     self.setWidth('%dpx' % POPUP_WIDTH)
     self.setHeight('%dpx' % POPUP_HEIGHT)
     self.setWidget(
         TweetEditor(query, nUsers, tabName, self, preparePanel, topPanel))
Esempio n. 3
0
 def __init__(self, screen, title, width, height):
     DialogBoxModal.__init__(self, title, None, False, screen)
     self.screen = screen
     self.setText(title)
     self.dragged = False