wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
simple_menu_item.h File Reference
#include "env.h"
#include "menu_item.h"
Include dependency graph for simple_menu_item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmtk_simple_menu_item_t wlmtk_simple_menu_item_t
 

Functions

wlmtk_simple_menu_item_twlmtk_simple_menu_item_create (const char *text_ptr, const wlmtk_menu_item_style_t *style_ptr, wlmtk_env_t *env_ptr)
 
void wlmtk_simple_menu_item_destroy (wlmtk_simple_menu_item_t *simple_menu_item_ptr)
 
wlmtk_menu_item_twlmtk_simple_menu_item_menu_item (wlmtk_simple_menu_item_t *simple_menu_item_ptr)
 

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

◆ wlmtk_simple_menu_item_t

Forward declaration: State of simple menu item.

Function Documentation

◆ wlmtk_simple_menu_item_create()

wlmtk_simple_menu_item_t * wlmtk_simple_menu_item_create ( const char * text_ptr,
const wlmtk_menu_item_style_t * style_ptr,
wlmtk_env_t * env_ptr )

Creates a simple menu item.

Parameters
text_ptr
style_ptr
env_ptr
Returns
Pointer to the simple menu item state.

◆ wlmtk_simple_menu_item_destroy()

void wlmtk_simple_menu_item_destroy ( wlmtk_simple_menu_item_t * simple_menu_item_ptr)

Destroys the simple menu item.

Parameters
simple_menu_item_ptr

◆ wlmtk_simple_menu_item_menu_item()

wlmtk_menu_item_t * wlmtk_simple_menu_item_menu_item ( wlmtk_simple_menu_item_t * simple_menu_item_ptr)

Gets pointer to the superclass wlmtk_menu_item_t.