Пример #1
0
 /// <summary>
 /// Returns the submenu at the specified |index| or empty if invalid.
 /// </summary>
 public CefMenuModel GetSubMenuAt(int index)
 {
     return(CefMenuModel.FromNativeOrNull(
                cef_menu_model_t.get_sub_menu_at(_self, index)
                ));
 }
Пример #2
0
 /// <summary>
 /// Returns the submenu for the specified |commandId| or empty if invalid.
 /// </summary>
 public CefMenuModel GetSubMenu(int commandId)
 {
     return(CefMenuModel.FromNativeOrNull(
                cef_menu_model_t.get_sub_menu(_self, commandId)
                ));
 }