parameters: (self)
return_statement: return widget
docstring: the button which initiates the checkin
docstring_summary: the button which initiates the checkin
docstring_tokens: the button which initiates the checkin
function: def get_checkin(self):
          '''the button which initiates the checkin'''
          # create the button with the javascript function
          widget = Widget()
          #button = TextBtnWdg(label=self.PUBLISH_BUTTON, size='large', width='100', side_padding='20', vert_offset='-5')
          #button.get_top_el().add_class('smaller')
          button = ActionButtonWdg(title=self.PUBLISH_BUTTON, tip='Publish the selected assets')
          button.add_style('margin-bottom: 10px')
          #button.add_color("background", "background")
  
          hidden = HiddenWdg(self.PUBLISH_BUTTON, '')
          button.add( hidden )
         
          '''
          status_sel = SelectWdg('checkin_status', label='Status: ')
          status_sel.set_option('setting', 'checkin_status')
          status_sel.set_persist_on_submit()
          status_sel.add_empty_option('-- Checkin Status --')
          widget.add(status_sel)
          '''
          widget.add(button)
  
          # custom defined 
          server_cbk = "pyasm.prod.web.AssetCheckinCbk"
          #TODO: make other Publish Buttons call their own handle_input function
          exec( Common.get_import_from_class_path(server_cbk) )
          exec( "%s.handle_input(button, self.search_type, self.texture_search_type)" % server_cbk)
  
          return widget
function_tokens: def get_checkin ( self ) : # create the button with the javascript function widget = Widget ( ) #button = TextBtnWdg(label=self.PUBLISH_BUTTON, size='large', width='100', side_padding='20', vert_offset='-5') #button.get_top_el().add_class('smaller') button = ActionButtonWdg ( title = self . PUBLISH_BUTTON , tip = 'Publish the selected assets' ) button . add_style ( 'margin-bottom: 10px' ) #button.add_color("background", "background") hidden = HiddenWdg ( self . PUBLISH_BUTTON , '' ) button . add ( hidden ) '''
          status_sel = SelectWdg('checkin_status', label='Status: ')
          status_sel.set_option('setting', 'checkin_status')
          status_sel.set_persist_on_submit()
          status_sel.add_empty_option('-- Checkin Status --')
          widget.add(status_sel)
          ''' widget . add ( button ) # custom defined  server_cbk = "pyasm.prod.web.AssetCheckinCbk" #TODO: make other Publish Buttons call their own handle_input function exec ( Common . get_import_from_class_path ( server_cbk ) ) exec ( "%s.handle_input(button, self.search_type, self.texture_search_type)" % server_cbk ) return widget