Changeset 1448
- Timestamp:
- Jul 31, 2014 12:19:10 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r1445 r1448 4654 4654 try: 4655 4655 plotNum = G2frame.G2plotNB.plotList.index(generalData['Name']) 4656 Page = G2frame.G2plotNB.nb.GetPage(plotNum) 4656 Page = G2frame.G2plotNB.nb.GetPage(plotNum) 4657 4657 except ValueError: 4658 4658 Plot = G2frame.G2plotNB.addOgl(generalData['Name']) … … 4662 4662 view = False 4663 4663 altDown = False 4664 G2frame.G2plotNB.nb.SetSelection(plotNum) # make sure plot tab is raised for wx >2.8 4664 4665 Font = Page.GetFont() 4665 4666 Page.SetFocus() -
trunk/gltext.py
r1299 r1448 61 61 text (String) - Text 62 62 font (wx.Font) - Font to draw with (None = System default) 63 foreground (wx.Colo r)- Color of the text63 foreground (wx.Colour)- Color of the text 64 64 or (wx.Bitmap)- Bitmap to overlay the text with 65 65 centered (bool) - Center the text … … 205 205 alpha = img.GetData() 206 206 207 if isinstance(self._foreground, wx.Colo r):207 if isinstance(self._foreground, wx.Colour): 208 208 """ 209 209 If we have a static color... … … 324 324 font (wx.Font) - if None, system default font will be used with font_size 325 325 font_size (int) - font size in points 326 foreground (wx.Colo r) - Color of the text326 foreground (wx.Colour) - Color of the text 327 327 or (wx.Bitmap) - Bitmap to overlay the text with 328 328 centered (bool) - should the text drawn centered towards position?
Note: See TracChangeset
for help on using the changeset viewer.