parameters: (self)
return_statement: return span
docstring: event = WebContainer.get_event_container()
          caller = event.get_event_caller(ClipboardWdg.EVENT_ID)
  
          from file_wdg import ThumbWdg
          post_script = [caller]
  
          if self.thumbnail_mode: 
              post_script.append( ThumbWdg.get_refresh_script(\
                  self.sobject, self.icon_size, show_progress=False) )
          progress.set_post_ajax_script(';'.join(post_script))
          
          if Clipboard.is_selected(self.sobject):
              checkbox.set_option("checked", "1")
docstring_summary: event = WebContainer.get_event_container()
          caller = event.get_event_caller(ClipboardWdg.EVENT_ID)
docstring_tokens: event = WebContainer . get_event_container () caller = event . get_event_caller ( ClipboardWdg . EVENT_ID )
function: def get_display(self):
          ajax = AjaxCmd()
          ajax.register_cmd("pyasm.widget.ClipboardAddCbk")
          progress = ajax.generate_div()
          progress.add_style('display', 'inline')
  
          search_type = self.sobject.get_search_type()
          search_id = self.sobject.get_id()
          ajax.set_option("search_type", search_type)
          ajax.set_option("search_id", search_id)
  
          search_key = self.sobject.get_search_key()
  
          span = SpanWdg()
          span.set_id("clipboard_%s" % search_key)
          span.add_style("display: none")
  
          checkbox = CheckboxWdg()
          checkbox.add_style("vertical-align: top")
          checkbox.add_style("width: 7px")
  
          checkbox.add_event("onclick", "%s" % ajax.get_on_script(show_progress=False) )
          #checkbox.add_event("onmouseover", "this.style.width=15")
          #checkbox.add_event("onmouseout", "this.style.width=7")
          
          # FIXME :DEPRECATED
          """
          event = WebContainer.get_event_container()
          caller = event.get_event_caller(ClipboardWdg.EVENT_ID)
  
          from file_wdg import ThumbWdg
          post_script = [caller]
  
          if self.thumbnail_mode: 
              post_script.append( ThumbWdg.get_refresh_script(\
                  self.sobject, self.icon_size, show_progress=False) )
          progress.set_post_ajax_script(';'.join(post_script))
          
          if Clipboard.is_selected(self.sobject):
              checkbox.set_option("checked", "1")
          """
          span.add(checkbox)
          span.add(progress)
  
          return span
function_tokens: def get_display ( self ) : ajax = AjaxCmd ( ) ajax . register_cmd ( "pyasm.widget.ClipboardAddCbk" ) progress = ajax . generate_div ( ) progress . add_style ( 'display' , 'inline' ) search_type = self . sobject . get_search_type ( ) search_id = self . sobject . get_id ( ) ajax . set_option ( "search_type" , search_type ) ajax . set_option ( "search_id" , search_id ) search_key = self . sobject . get_search_key ( ) span = SpanWdg ( ) span . set_id ( "clipboard_%s" % search_key ) span . add_style ( "display: none" ) checkbox = CheckboxWdg ( ) checkbox . add_style ( "vertical-align: top" ) checkbox . add_style ( "width: 7px" ) checkbox . add_event ( "onclick" , "%s" % ajax . get_on_script ( show_progress = False ) ) #checkbox.add_event("onmouseover", "this.style.width=15") #checkbox.add_event("onmouseout", "this.style.width=7") # FIXME :DEPRECATED span . add ( checkbox ) span . add ( progress ) return span