wlmaker
Loading...
Searching...
No Matches
tl_menu.h File Reference
#include "toolkit/toolkit.h"
#include "server.h"
Include dependency graph for tl_menu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmaker_tl_menu_t wlmaker_tl_menu_t

Functions

wlmaker_tl_menu_twlmaker_tl_menu_create (wlmtk_window_t *window_ptr, wlmaker_server_t *server_ptr)
void wlmaker_tl_menu_destroy (wlmaker_tl_menu_t *tl_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

◆ wlmaker_tl_menu_t

Forward declaration: State of a toplevel's menu.

Function Documentation

◆ wlmaker_tl_menu_create()

wlmaker_tl_menu_t * wlmaker_tl_menu_create ( wlmtk_window_t * window_ptr,
wlmaker_server_t * server_ptr )

Creates a (window) menu for a toplevel (window).

Parameters
window_ptr
server_ptr
Returns
pointer to the toplevel's menu state or NULL on error.

◆ wlmaker_tl_menu_destroy()

void wlmaker_tl_menu_destroy ( wlmaker_tl_menu_t * tl_menu_ptr)

Destroys the toplevel's menu.

Parameters
tl_menu_ptr