Changeset 47ead24 in sasview for sansguiframe/src


Ignore:
Timestamp:
Aug 11, 2011 12:27:54 PM (13 years ago)
Author:
Jessica Tumarkin <jtumarki@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
9e2e7e9
Parents:
ac5c7d4
Message:

Added color properties to plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/plugin_base.py

    r8c347a6 r47ead24  
    4949        #flag to tell the current plugin that aaplication is in batch mode 
    5050        self.batch_on = False 
     51        #properties for color and ID of a specific plugin.. 
     52        self.color = None 
     53        self.id = -1 
     54         
     55    def add_color(self, color, id): 
     56        """ 
     57        Adds color to a plugin 
     58        """ 
    5159         
    5260    def clear_panel(self): 
Note: See TracChangeset for help on using the changeset viewer.