wlmaker
|
Go to the source code of this file.
Classes | |
struct | _wlmtk_menu_style_t |
struct | _wlmtk_menu_t |
Typedefs | |
typedef struct _wlmtk_menu_t | wlmtk_menu_t |
typedef struct _wlmtk_menu_style_t | wlmtk_menu_style_t |
Functions | |
bool | wlmtk_menu_init (wlmtk_menu_t *menu_ptr, const wlmtk_menu_style_t *style_ptr, wlmtk_env_t *env_ptr) |
void | wlmtk_menu_fini (wlmtk_menu_t *menu_ptr) |
wlmtk_element_t * | wlmtk_menu_element (wlmtk_menu_t *menu_ptr) |
void | wlmtk_menu_add_item (wlmtk_menu_t *menu_ptr, wlmtk_menu_item_t *menu_item_ptr) |
void | wlmtk_menu_remove_item (wlmtk_menu_t *menu_ptr, wlmtk_menu_item_t *menu_item_ptr) |
Variables | |
const bs_test_case_t | wlmtk_menu_test_cases [] |
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 struct _wlmtk_menu_style_t wlmtk_menu_style_t |
Forward declaration: Menu style.
typedef struct _wlmtk_menu_t wlmtk_menu_t |
Forward declaration: Menu handle.
void wlmtk_menu_add_item | ( | wlmtk_menu_t * | menu_ptr, |
wlmtk_menu_item_t * | menu_item_ptr ) |
Adds a menu item to the menu.
menu_ptr | |
menu_item_ptr |
wlmtk_element_t * wlmtk_menu_element | ( | wlmtk_menu_t * | menu_ptr | ) |
void wlmtk_menu_fini | ( | wlmtk_menu_t * | menu_ptr | ) |
Uninitializes the menu.
menu_ptr |
bool wlmtk_menu_init | ( | wlmtk_menu_t * | menu_ptr, |
const wlmtk_menu_style_t * | style_ptr, | ||
wlmtk_env_t * | env_ptr ) |
Initializes the menu.
menu_ptr | |
style_ptr | |
env_ptr |
void wlmtk_menu_remove_item | ( | wlmtk_menu_t * | menu_ptr, |
wlmtk_menu_item_t * | menu_item_ptr ) |
Removes a menu item from the menu.
menu_ptr | |
menu_item_ptr |
|
extern |
Unit test cases.