bogue
GUI library for ocaml, with animations, based on SDL2
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Dependency graph
and content =
| Action of action | |
| Flat of entry list | (* A Flat content will produce a horizontal menu *) |
| Tower of entry list | (* A Tower content will produce a vertical menu *) |
| Custom of entry list | (* In a Custom content, only Layout labels should be used, and their position should be defined before creating the menu. *) |
| Separator | (* Currently only used for inserting separator lines in Tower menus. *) |
Creation of a menu bar in the dst
layout, with drop-down submenus. bar dst entries
inserts a layout which contains the menu bar into the top of the dst
layout (so, some room should be provided). The dst
layout should be big enough to contain the submenus. Any item flowing out of dst
will not get focus.
Return a menu layout that will be installed with add_bar
into the top house at startup.
val separator : entry