mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-31 18:07:05 +02:00
file chooser dialog events implementation.
This commit is contained in:
parent
22d31e871c
commit
d4e0287eb5
13 changed files with 129 additions and 157 deletions
|
@ -134,13 +134,16 @@ func (ws *WebSocketManagerCtx) Start() {
|
|||
}
|
||||
})
|
||||
|
||||
ws.desktop.OnWindowCreated(func(window uint32, name string, role string) {
|
||||
ws.desktop.OnFileChooserDialogOpened(func() {
|
||||
// TODO: Implement.
|
||||
ws.logger.Info().
|
||||
Uint32("window", window).
|
||||
Str("name", name).
|
||||
Str("role", role).
|
||||
Msg("created new window")
|
||||
Msg("FileChooserDialog opened")
|
||||
})
|
||||
|
||||
ws.desktop.OnFileChooserDialogClosed(func() {
|
||||
// TODO: Implement.
|
||||
ws.logger.Info().
|
||||
Msg("FileChooserDialog closed")
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue