- self.throbbers['label']['throbber'] = Throbber(self, -1,
- images, #size=(36, 36),
- frameDelay = 0.1,
- label = 'Label')
- self.throbbers['label']['throbber'].SetFont(wxFont(pointSize = 10,
- family = wxDEFAULT,
- style = wxNORMAL,
- weight = wxBOLD))
- self.throbbers['overlay']['throbber'] = Throbber(self, -1,
- images, #size=(36, 36),
- frameDelay = 0.1,
- overlay = throbImages.catalog['logo'].getBitmap())
- self.throbbers['overlay+text']['throbber'] = Throbber(self, -1,
- images, #size=(36, 36),
- frameDelay = 0.1,
- overlay = throbImages.catalog['logo'].getBitmap(),
- label = "Python!")
- self.throbbers['overlay+text']['throbber'].SetFont(wxFont(pointSize = 8,
- family = wxDEFAULT,
- style = wxNORMAL,
- weight = wxBOLD))
-
-
- # this throbber is created using a single, composite image
- self.otherThrobber = Throbber(self, -1,
- throbImages.catalog['eclouds'].getBitmap(), #size=(48, 48),
- frameDelay = 0.15,
- frames = 12,
- frameWidth = 48,
- label = "Stop")
-
-
- EVT_LEFT_DOWN(self.otherThrobber, self.OnClickThrobber)
-
- box = wxBoxSizer(wxVERTICAL)
- sizer = RowColSizer()
- box.Add(sizer, 1, wxEXPAND|wxALL, 5)
- sizer.AddGrowableCol(1)