wlmaker
|
Go to the source code of this file.
Classes | |
struct | wlmaker_dock_app_config_t |
Typedefs | |
typedef struct _wlmaker_dock_app_t | wlmaker_dock_app_t |
Functions | |
wlmaker_dock_app_t * | wlmaker_dock_app_create (wlmaker_view_t *view_ptr, struct wlr_scene_tree *wlr_scene_tree_ptr, int x, int y, wlmaker_dock_app_config_t *dock_app_config_ptr) |
void | wlmaker_dock_app_destroy (wlmaker_dock_app_t *dock_app_ptr) |
wlmaker_dock_app_t * | wlmaker_dock_app_from_dlnode (bs_dllist_node_t *dlnode_ptr) |
bs_dllist_node_t * | wlmaker_dlnode_from_dock_app (wlmaker_dock_app_t *dock_app_ptr) |
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.
An application attached to the dock.
More verbosely: Handlers and status for the interactive element describing an application attached to the wlmaker dock. Used to launch applications conveniently.
typedef struct _wlmaker_dock_app_t wlmaker_dock_app_t |
Forward declaration: State of the dock-attached application.
bs_dllist_node_t * wlmaker_dlnode_from_dock_app | ( | wlmaker_dock_app_t * | dock_app_ptr | ) |
Type cast: Returns the dlnode from |dock_app_ptr|.
dock_app_ptr |
bs_dllist_node_t
of wlmaker_dock_app_t
. wlmaker_dock_app_t * wlmaker_dock_app_create | ( | wlmaker_view_t * | view_ptr, |
struct wlr_scene_tree * | wlr_scene_tree_ptr, | ||
int | x, | ||
int | y, | ||
wlmaker_dock_app_config_t * | dock_app_config_ptr ) |
Creates an application attached to the dock.
view_ptr | |
wlr_scene_tree_ptr | |
x | X-Position relative to parent. |
y | Y-Position relative to parent. |
dock_app_config_ptr | Configuration of the docked application. Must outlive the dock app. |
void wlmaker_dock_app_destroy | ( | wlmaker_dock_app_t * | dock_app_ptr | ) |
Destroys the application.
dock_app_ptr |
wlmaker_dock_app_t * wlmaker_dock_app_from_dlnode | ( | bs_dllist_node_t * | dlnode_ptr | ) |
Type cast: Returns the wlmaker_dock_app_t
from the dlnode.
dlnode_ptr |
wlmaker_dock_app_t
holding bs_dllist_node_t
.