Main menu native API. 
- Namespace
 - xtd::forms::native 
 
- Library
 - xtd.forms.native
 
- Warning
 - Internal use only 
 
 
◆ create()
  
  
      
        
          | static intptr xtd::forms::native::main_menu::create  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Creates main menu. 
- Returns
 - The created main menu handle. 
 
- Warning
 - Internal use only 
 
 
 
◆ destroy()
  
  
      
        
          | static void xtd::forms::native::main_menu::destroy  | 
          ( | 
          intptr  | 
          main_menu | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Destroys main menu. 
- Parameters
 - 
  
  
 
- Warning
 - Internal use only 
 
 
 
◆ insert_item()
  
  
      
        
          | static void xtd::forms::native::main_menu::insert_item  | 
          ( | 
          intptr  | 
          main_menu,  | 
         
        
           | 
           | 
          size_t  | 
          pos,  | 
         
        
           | 
           | 
          intptr  | 
          menu_item,  | 
         
        
           | 
           | 
          const xtd::string &  | 
          text  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Insert specified menu item to specisified position. 
- Parameters
 - 
  
    | main_menu | Main menu handle.  | 
    | pos | Position to insert menu item.  | 
    | menu_item | Menu item to insert.  | 
    | text | The text associated with this menu.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ remove_item()
  
  
      
        
          | static void xtd::forms::native::main_menu::remove_item  | 
          ( | 
          intptr  | 
          main_menu,  | 
         
        
           | 
           | 
          size_t  | 
          pos  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Remove menu item from specisified position. 
- Parameters
 - 
  
    | menu | Menu handle.  | 
    | pos | Position to insert menu item.  | 
  
   
- Warning
 - Internal use only 
 
 
 
The documentation for this class was generated from the following file: