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

Go to the source code of this file.

Typedefs

typedef struct _wlmtk_popup_menu_t wlmtk_popup_menu_t
 

Functions

wlmtk_popup_menu_twlmtk_popup_menu_create (const wlmtk_menu_style_t *style_ptr, wlmtk_env_t *env_ptr)
 
void wlmtk_popup_menu_destroy (wlmtk_popup_menu_t *popup_menu_ptr)
 
wlmtk_popup_twlmtk_popup_menu_popup (wlmtk_popup_menu_t *popup_menu_ptr)
 
wlmtk_menu_twlmtk_popup_menu_menu (wlmtk_popup_menu_t *popup_menu_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_popup_menu_t

Forward declaration: State of a popup menu.

Function Documentation

◆ wlmtk_popup_menu_create()

wlmtk_popup_menu_t * wlmtk_popup_menu_create ( const wlmtk_menu_style_t * style_ptr,
wlmtk_env_t * env_ptr )

Creates a popup menu.

Parameters
style_ptr
env_ptr
Returns
Pointer to the popup menu handle or NULL on error.

◆ wlmtk_popup_menu_destroy()

void wlmtk_popup_menu_destroy ( wlmtk_popup_menu_t * popup_menu_ptr)

Destroys the popup menu.

Parameters
popup_menu_ptr

◆ wlmtk_popup_menu_menu()

wlmtk_menu_t * wlmtk_popup_menu_menu ( wlmtk_popup_menu_t * popup_menu_ptr)

Returns the contained wlmtk_menu_t.

◆ wlmtk_popup_menu_popup()

wlmtk_popup_t * wlmtk_popup_menu_popup ( wlmtk_popup_menu_t * popup_menu_ptr)

Returns pointer to the popup menu's wlmtk_popup_t superclass.