mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Applets: Add tooltip for Clipboard History
This commit is contained in:
parent
7f02270f01
commit
4563d6da8d
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ int main(int argc, char* argv[])
|
|||
applet_window->set_window_type(GUI::WindowType::Applet);
|
||||
applet_window->set_has_alpha_channel(true);
|
||||
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
|
||||
icon.set_tooltip("Clipboard History");
|
||||
icon.load_from_file("/res/icons/16x16/edit-copy.png");
|
||||
icon.on_click = [&main_window = *main_window] {
|
||||
main_window.show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue