✨ feat(wifi): enhance WiFi scanning with pull-to-refresh and improved feedback

This commit is contained in:
sankalp committed 2025-07-31 21:12:26 +05:45
1 parent 9d83d960ef
commit 0aecb28a4f
3 files changed
+112 -73

No files matched your search

+9 -3
View File
@@ -367,6 +367,12 @@ class MenuBar(Box):
self.dropdown_system.global_menu_button_help,
]
def show_system_dropdown(self, _):
"""Show the system dropdown menu"""
self.dropdown_system.menu_button_dropdown.toggle_mousecapture()
def show_system_dropdown(self, imac_button):
self.dropdown_system.menu_button_dropdown.child_window.set_pointing_to(
imac_button
)
mouse_capture = self.dropdown_system.menu_button_dropdown
if mouse_capture.is_visible():
mouse_capture.set_child_window_visible(False)
else:
mouse_capture.set_child_window_visible(True)