Beispiel #1
0
    def __set_properties(self):
        self.profileName = skeinforge_profile.getProfileName(skeinforge_profile.getCraftTypeName())
        self.SetTitle("Skeinforge Quick Edit Profile: " + self.profileName)

        # For some reason the dialog size is not consistent between Windows and Linux - this is a hack to get it working
        if (os.name == 'nt'):
            self.SetMinSize(wx.DLG_SZE(self, (465, 370)))
        else:
            self.SetSize(wx.DLG_SZE(self, (465, 325)))

        self.SetPosition((0, 0))
        self.scrollbarPanel.SetScrollRate(10, 10)
 def getActiveProfileName(self):
     return skeinforge_profile.getProfileName('extrusion')