wlmaker
Loading...
Searching...
No Matches
Functions
popup.c File Reference
#include "popup.h"
#include <libbase/libbase.h>
#include <string.h>
Include dependency graph for popup.c:

Functions

bool wlmtk_popup_init (wlmtk_popup_t *popup_ptr, wlmtk_element_t *element_ptr)
 
void wlmtk_popup_fini (wlmtk_popup_t *popup_ptr)
 
void wlmtk_popup_add_popup (wlmtk_popup_t *popup_ptr, wlmtk_popup_t *further_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.

Function Documentation

◆ wlmtk_popup_add_popup()

void wlmtk_popup_add_popup ( wlmtk_popup_t popup_ptr,
wlmtk_popup_t further_popup_ptr 
)

Adds a further popup to popup_ptr.

Parameters
popup_ptr
further_popup_ptr

◆ 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_element_t element_ptr 
)

Initializes the popup.

Parameters
popup_ptr
element_ptr
Returns
true on success.