wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
root_menu.h File Reference
#include <libbase/libbase.h>
#include "toolkit/toolkit.h"
#include "server.h"
Include dependency graph for root_menu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmaker_root_menu_t wlmaker_root_menu_t
 

Functions

wlmaker_root_menu_twlmaker_root_menu_create (wlmaker_server_t *server_ptr, const char *arg_root_menu_file_ptr, const wlmtk_window_style_t *window_style_ptr, const wlmtk_menu_style_t *menu_style_ptr)
 
void wlmaker_root_menu_destroy (wlmaker_root_menu_t *root_menu_ptr)
 
wlmtk_window_twlmaker_root_menu_window (wlmaker_root_menu_t *root_menu_ptr)
 
wlmtk_menu_twlmaker_root_menu_menu (wlmaker_root_menu_t *root_menu_ptr)
 

Variables

const bs_test_case_t wlmaker_root_menu_test_cases []
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ wlmaker_root_menu_t

Forward declaration: State of root menu.

Function Documentation

◆ wlmaker_root_menu_create()

wlmaker_root_menu_t * wlmaker_root_menu_create ( wlmaker_server_t server_ptr,
const char *  arg_root_menu_file_ptr,
const wlmtk_window_style_t window_style_ptr,
const wlmtk_menu_style_t menu_style_ptr 
)

Creates a root menu.

Parameters
server_ptr
arg_root_menu_file_ptr
window_style_ptr
menu_style_ptr
Returns
Handle of the root menu, or NULL on error.

◆ wlmaker_root_menu_destroy()

void wlmaker_root_menu_destroy ( wlmaker_root_menu_t root_menu_ptr)

Destroys the root menu.

Parameters
root_menu_ptr

◆ wlmaker_root_menu_menu()

wlmtk_menu_t * wlmaker_root_menu_menu ( wlmaker_root_menu_t root_menu_ptr)
Returns
Pointer to wlmtk_menu_t of the root menu.

◆ wlmaker_root_menu_window()

wlmtk_window_t * wlmaker_root_menu_window ( wlmaker_root_menu_t root_menu_ptr)
Returns
the window holding the root menu.

Variable Documentation

◆ wlmaker_root_menu_test_cases

const bs_test_case_t wlmaker_root_menu_test_cases[]
extern

Unit test cases.