Can I get access to "MainWindow.caption"?

esp1001esp1001 Posts: 0
edited December 1969 in Daz Script Developer Discussion

Can I get access to "MainWindow.caption"?

In new version?


  • rbtwhizrbtwhiz Posts: 656
    edited December 1969

    The caption property on the global MainWindow object, a wrapper for the QWidget::caption() and QWidget::setCaption() functions in Qt 3 (and the Qt 3 support library in Qt 4 - which is expected to be obsolete in Qt 5), is replaced by the windowTitle property in Qt 4.

    Use the following to read the value...

    print( MainWindow.windowTitle );
    ... and the following to set it ...
    MainWindow.windowTitle = "foo";

    - Rob

Sign In or Register to comment.
Rocket Fuel