wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
xwl_toplevel.h File Reference
#include <stdbool.h>
#include "server.h"
#include "toolkit/toolkit.h"
#include "xwl_content.h"
Include dependency graph for xwl_toplevel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmaker_xwl_toplevel_t wlmaker_xwl_toplevel_t
 

Functions

wlmaker_xwl_toplevel_twlmaker_xwl_toplevel_create (wlmaker_xwl_content_t *content_ptr, wlmaker_server_t *server_ptr)
 
void wlmaker_xwl_toplevel_destroy (wlmaker_xwl_toplevel_t *xwl_toplevel_ptr)
 
void wlmaker_xwl_toplevel_set_decorations (wlmaker_xwl_toplevel_t *xwl_toplevel_ptr, bool decorated)
 
wlmtk_window_twlmtk_window_from_xwl_toplevel (wlmaker_xwl_toplevel_t *xwl_toplevel_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_xwl_toplevel_t

Forward declaration.

Function Documentation

◆ wlmaker_xwl_toplevel_create()

wlmaker_xwl_toplevel_t * wlmaker_xwl_toplevel_create ( wlmaker_xwl_content_t content_ptr,
wlmaker_server_t server_ptr 
)

Creates a toplevel XWayland window.

Parameters
content_ptr
server_ptr

◆ wlmaker_xwl_toplevel_destroy()

void wlmaker_xwl_toplevel_destroy ( wlmaker_xwl_toplevel_t xwl_toplevel_ptr)

Destroys the toplevel XWayland window.

Parameters
xwl_toplevel_ptr

◆ wlmaker_xwl_toplevel_set_decorations()

void wlmaker_xwl_toplevel_set_decorations ( wlmaker_xwl_toplevel_t xwl_toplevel_ptr,
bool  decorated 
)

Sets decoration for the toplevel window.

Parameters
xwl_toplevel_ptr
decorated

◆ wlmtk_window_from_xwl_toplevel()

wlmtk_window_t * wlmtk_window_from_xwl_toplevel ( wlmaker_xwl_toplevel_t xwl_toplevel_ptr)

Accessor: Exposes wlmtk_window_t.