Cinder 无法在应用程序运行时更新窗口的标题
Cinder can't update window's title when the application is running
我尝试将设置 *settings 复制到类变量并使用
sets->setTitle("new title");
但是在 setup() 方法之外它不起作用。有没有解决方法?
应用中包含煤渣应用标头的所有位置
#include "cinder/app/AppNative.h"
可以调用此函数来更改标题和其他 Window 属性。
ci::app::getWindow()->setTitle("Respoducir Video");
更新 - 15/12/2018
煤渣 v0.9.1
包含路径已更改为:
#include "cinder/app/Window.h"
相关文章:
- 我的主窗口在创建时或单击更新区域时是否会收到编辑控件?
- WinAPI 窗口在使用 PrintWindow 截屏后不再更新
- 无法在 consol 应用程序中更新窗口
- 如何在脱机时检测当前的窗口更新状态?
- 是否可以使用标准的C 线程而不是FLTK超时来更新窗口
- C++从异步线程更新窗口
- 使用第二个线程快速更新 GUI 窗口会通过调整窗口大小或移动窗口而崩溃
- QT - 除非关闭,否则主窗口不会更新
- Cinder 无法在应用程序运行时更新窗口的标题
- wxwidgets UI 更新:声明窗口标识符
- 如何在命令窗口的一个位置编写变量并在同一位置更新其值
- 如何允许工作线程更新 X11 窗口
- 如何从未创建该窗口的线程更新该窗口
- OpenGL/GLUT-更新几个窗口
- OpenGL窗口应用程序检查事件更新的频率
- QT油漆工更新,计时器仅在关闭窗口时更新
- 窗口将只在鼠标移动时更新
- 更新对话框的主窗口
- 更新窗口的标志
- 更新窗口显示OpenGL/GLUT c++