• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

EmptyPanel sample for mac, How can I set textField programmatically?

New Here ,
Oct 02, 2022 Oct 02, 2022

Copy link to clipboard

Copied

I want to set TextField's text programmatically in MAC. But it doesn't work.

 

In EmptyPanel sample, I called setStringValue function at the end of EmptyPanelPlugin::AddWidgets() function like below.

#ifdef MAC_ENV
...
[calculator->output setStringValue:@"3333"];
#endif

When I click "Third Party Panel" menu, output text doesn't set to "3333".

 

How can I set this TextFiled programmatically?

TOPICS
SDK

Views

20

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation