haxeui / hxWidgets

Haxe externs (and wrappers) for wxWidgets
MIT License
77 stars 22 forks source link

Feature request : Support for tray application / icon #52

Closed datee closed 3 years ago

datee commented 6 years ago

Is it possible to get support for having the application minimize to the tray, with a tray menu? I think there is support for this in WxWidgets via wxTaskBarIcon etc?

ianharrigan commented 6 years ago

Sure - ill look into it.... Ill probably also add it as an option properly for haxeui-hxwidgets too (assuming it works)... something like haxe.ui.hxwidgets.minimizeToTray=true

datee commented 6 years ago

Any update on this? I'm writing a haxeui-hxwidgets based app where this would be so good to have :)

ianharrigan commented 6 years ago

Hey, sorry, forgot about this, had a quick look at wxTaskBarIcon - looks pretty straightforward, will have a crack at it tomorrow evening.

ianharrigan commented 6 years ago

Ok, got an initial implementation done, see change above for usage.

image

datee commented 6 years ago

Hey thats awesome! Does it support opening a tray menu also?

ianharrigan commented 6 years ago

Nope, its doesnt support much at the moment, but its a start at least,