Commit Graph

19 Commits

Author SHA1 Message Date
Isaiah Odhner
edc0048ecc Half-implement menu item hotkeys 2023-04-23 01:43:54 -04:00
Isaiah Odhner
1a6bfb5b90 Lazily add a triangle to indicate the Zoom submenu 2023-04-23 01:03:52 -04:00
Isaiah Odhner
5d778c1879 Annotate **kwargs as Any 2023-04-22 21:44:05 -04:00
Isaiah Odhner
2c8d74808a Add a whole bunch more type checking 2023-04-22 18:54:21 -04:00
Isaiah Odhner
2e839b2564 Clean up unused imports 2023-04-22 17:49:15 -04:00
Isaiah Odhner
00ab062d3e Assert type so Pyright knows about .plain and .markup 2023-04-22 13:58:09 -04:00
Isaiah Odhner
f52201eebe Fix presumed method for removing nodes
(This removal code never runs, currently.)
2023-04-22 02:42:19 -04:00
Isaiah Odhner
1b56d78f70 Start type checking code 2023-04-22 02:31:58 -04:00
Isaiah Odhner
4a9ef84d28 Rely on Python class names instead of CSS class names for menu CSS 2023-04-20 17:40:15 -04:00
Isaiah Odhner
18ef3898c6 Fix scroll wheel while hovering over a menu separator 2023-04-19 14:27:12 -04:00
Isaiah Odhner
0ee058216e Position submenu 2023-04-19 00:09:40 -04:00
Isaiah Odhner
4cbafea3cb Show accelerators/shortcuts in menus 2023-04-18 23:34:05 -04:00
Isaiah Odhner
365eb6e4c7 Dynamically position menus instead of guessing
I must've missed this property when looking through the properties in the debugger before.
2023-04-18 22:58:58 -04:00
Isaiah Odhner
b8c7e0eb72 Add all of the menu items from MS Paint 2023-04-18 18:56:29 -04:00
Isaiah Odhner
accc2fe85b Fix AttributeError for "parent_menu.focus" for menu bar (top level menu) 2023-04-15 23:50:45 -04:00
Isaiah Odhner
02fcffbb00 Position menu popup below the respective menu button 2023-04-12 23:09:34 -04:00
Isaiah Odhner
2a89948717 Get menu popups floating 2023-04-12 22:42:48 -04:00
Isaiah Odhner
044b404a0e Start making menus work 2023-04-12 22:07:38 -04:00
Isaiah Odhner
b779059208 Add non-functional menu bar 2023-04-12 20:54:21 -04:00