Topics

Note Selector

Clickable Menu Icons

Wednesday, September 18, 2019

  • Window stores menus as individual member variables, but can be passed around as pointers.
  • Menus are opened by Window::open_menu().
  • Clicking a menu icon button means that menu must exist within Window::menu_stack.
Handwritten Example of Menu Icons
  • The currently open menu is the last menu in the stack.
  • Clicking a menu icon will open_menu() on that already opened menu and close all subsequent menus.
  • Titlebar will need same functions to handle window icon.
Handwritten Signal/Slot Notes for Menu Icons
  • open_menu() on menu that already exists in the stack.
Handwritten Click Example for Menu Icons