Congratulations! You are a March Madness BONUS BUYER!

Enjoy 10% OFF ALL PURCHASES STOREWIDE or enjoy 30% OFF items with a SKU number lower than 16000 & 30% OFF items from Runtime DNA.

Offer valid for intended recipient only
* 10% discount DOES apply to Gift Cards and Memberships.

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: 1,113
    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.