Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

407 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

适配多操作系统的【文件选择器(模态)对话框】与【通知消息(模态)对话框】

Fork分支的独有贡献

相较于Origin分支,我尤其解决了rfdMacOS操作系统内,从cocoaappKit上下文外(包括“事件循环”与“主窗体”),凭空弹出NSAlert消息对话框不能自动收起的缺陷。比如,从命令行上下文(在这,既没事件循环,更无主窗体)弹出的【通知消息(模态)对话框】,在点击OK按钮后,无法自动收起且进入无响应状态。我是在给公司技术团队制作生产力工具过程中遇到此问题 — 伤害性不大,恶心度很高。这么一比还是Win32COM ABI更好用,没那么多技术细节的坑要踩。希望华为鸿蒙的N-APINDK应用程序二进制接口不会出现类似的坑。

修复后效果

点击按钮之后,【通知消息(模态)对话框】真的会被折叠收起。

rfd-修复成果

有坑

简单地讲,按钮的本文标签不支持【中文】,虽然标题与正文都能正常地显示中文字符。

其它简介

img

version Documentation dependency status

Rusty File Dialogs is a cross platform Rust library for using native file open/save dialogs. It provides both asynchronous and synchronous APIs. Supported platforms:

  • Windows
  • macOS
  • Linux & BSDs (GTK3 or XDG Desktop Portal)
  • WASM32 (async only)

Refer to the documentation for more details.

Platform-specific notes

Linux

Please refer to Linux & BSD backends for information about the needed dependencies to be able to compile on Linux.

About

Rusty File & MessageBox Dialog

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages