[Kst] [Bug 163980] New: The constructor of the Picture class: Picture(window, url) returns error

Yiwen Mao yiwenv at live.ca
Fri Jun 13 18:17:55 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=163980         
           Summary: The constructor of the Picture class:
                    Picture(window,url) returns error
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scripting
        AssignedTo: kst kde org
        ReportedBy: yiwenv live ca


Version:           1.7.0 (using KDE 4.0.1)
Installed from:    Unspecified
Compiler:          Fedora 6 
OS:                Linux

p=new Picture(window,url) returns error

kst> url="http://extragear.kde.org/apps/kst/images/kstdemo.png"
http://extragear.kde.org/apps/kst/images/kstdemo.png
kst> w=new Window()
Window
kst> p=new Picture(w,url)
Error: SyntaxError: Picture: Unexpected number of arguments.

The picture cannot be created and placed in the specified window


More information about the Kst mailing list