Use EGUI as windows sidebar #2803
chrisheib
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Working on this as a kind of system status monitor alike of 8gadgets or SidebarDiagnostics.
I couldn't find anything on how to get an rust gui app running with this, so I came up with this, adopting the C# WpfAppBar.
Haven't dabbled much in windows api calling, so I'm proud i got this far and wanted to share, in the case others searched for this.
Using the windows crate, building off of the custom_window_frame example.
My goal is to build something resembling the left status bar. So far I got the right one running.
Open questions: Is there a more reliable way to get the window handle from the egui context then trough the active_window crate?
Cargo.toml:
main.rs
sidebar.rs
Beta Was this translation helpful? Give feedback.
All reactions