Ignore:
Timestamp:
Feb 19, 2006 8:10:19 PM (18 years ago)
Author:
mmc
Message:
  • Added "Upload..." capability to the <loader> widget. You can now add an <upload> directive containing the path of the control that will receive data. A file is uploaded from the desktop and saved in the specified control.
  • Fixed download capability to work properly for all result types, including contour plots and molecules.
  • Added rappture::signal so we can catch SIGHUP and clean up the upload/download spool directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/deviceresult.tcl

    r115 r193  
    2828    public method delete {args}
    2929    public method scale {args}
    30     public method download {}
     30    public method download {option}
    3131
    3232    set _dataobj ""  ;# data object currently being displayed
     
    116116
    117117# ----------------------------------------------------------------------
    118 # USAGE: download
     118# USAGE: download coming
     119# USAGE: download now
    119120#
    120121# Clients use this method to create a downloadable representation
     
    123124# "string" is the data itself.
    124125# ----------------------------------------------------------------------
    125 itcl::body Rappture::DeviceResult::download {} {
    126     return ""
     126itcl::body Rappture::DeviceResult::download {option} {
     127    return [$itk_component(viewer) download $option]
    127128}
Note: See TracChangeset for help on using the changeset viewer.