Menus and Menu Bars #2

已合併
kirsle 2020-06-05 02:49:26 +00:00 將 1 次代碼提交從 menus 合併至 master
  • New and completed widgets: Menu, MenuButton and MenuBar.
  • MenuButton is a kind of Button that opens a popup Menu when clicked.
  • MenuBar is a container of buttons designed to be attached to the top
    of an application window ("File, Edit, View, Help")
  • Supervisor manages the popup menus with its new concept of a Modal
    Widget. Modal widgets take exclusive event priority for all mouse and
    key events. The pop-up menu is a modal window, which means you must
    click an option inside the menu OR clicking outside the menu will
    close it and eat your click event (widgets outside the modal don't
    receive events, but the modal itself gets an event that you've done
    this).
* New and completed widgets: Menu, MenuButton and MenuBar. * MenuButton is a kind of Button that opens a popup Menu when clicked. * MenuBar is a container of buttons designed to be attached to the top of an application window ("File, Edit, View, Help") * Supervisor manages the popup menus with its new concept of a Modal Widget. Modal widgets take exclusive event priority for all mouse and key events. The pop-up menu is a modal window, which means you must click an option inside the menu OR clicking outside the menu will close it and eat your click event (widgets outside the modal don't receive events, but the modal itself gets an event that you've done this).
kirsle closed this pull request 2020-06-05 02:49:26 +00:00
登入 才能加入這對話。
No reviewers
未選擇里程碑
No Assignees
1 參與者
訊息
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: go/ui#2
尚未有任何內容