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

Go to the source code of this file.

Classes

struct  _wlmtk_popup_t
 

Typedefs

typedef struct _wlmtk_popup_t wlmtk_popup_t
 

Functions

bool wlmtk_popup_init (wlmtk_popup_t *popup_ptr, wlmtk_env_t *env_ptr, wlmtk_element_t *element_ptr)
 
void wlmtk_popup_fini (wlmtk_popup_t *popup_ptr)
 
wlmtk_element_twlmtk_popup_element (wlmtk_popup_t *popup_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_t

typedef struct _wlmtk_popup_t wlmtk_popup_t

Forward declaration: Popup.

Function Documentation

◆ wlmtk_popup_element()

wlmtk_element_t * wlmtk_popup_element ( wlmtk_popup_t * popup_ptr)

Returns the base wlmtk_element_t.

◆ wlmtk_popup_fini()

void wlmtk_popup_fini ( wlmtk_popup_t * popup_ptr)

Un-initializes the popup. Will remove it from the parent container.

Parameters
popup_ptr

◆ wlmtk_popup_init()

bool wlmtk_popup_init ( wlmtk_popup_t * popup_ptr,
wlmtk_env_t * env_ptr,
wlmtk_element_t * element_ptr )

Initializes the popup.

Parameters
popup_ptr
env_ptr
element_ptr
Returns
true on success.