wlmaker
|
Functions | |
static void | handle_reposition (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_destroy (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_new_popup (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_surface_map (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_xdg_popup_t * | wlmaker_xdg_popup_create (struct wlr_xdg_popup *wlr_xdg_popup_ptr, wlmtk_env_t *env_ptr) |
void | wlmaker_xdg_popup_destroy (wlmaker_xdg_popup_t *wlmaker_xdg_popup_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.
|
static |
Handles popup destruction: Removes from parent content, and destroy.
|
static |
Handles further popups. Creates them and adds them to parent's content.
|
static |
Handles repositioning. Yet unimplemented.
|
static |
Handler for the map
signal of the wlmtk_surface_t.
The only aspect to handle here is the positioning of the surface. Note: It might be recommendable to move this under a configure
handler (?).
listener_ptr | |
data_ptr |
wlmaker_xdg_popup_t * wlmaker_xdg_popup_create | ( | struct wlr_xdg_popup * | wlr_xdg_popup_ptr, |
wlmtk_env_t * | env_ptr ) |
Creates a popup.
wlr_xdg_popup_ptr | |
env_ptr |
void wlmaker_xdg_popup_destroy | ( | wlmaker_xdg_popup_t * | wlmaker_xdg_popup_ptr | ) |
Destroys the popup.
wlmaker_xdg_popup_ptr |