#include <content.h>
Virtual method table of wlmtk_content_t.
◆ request_close
Requests the content to close.
- Parameters
-
◆ request_fullscreen
uint32_t(* _wlmtk_content_vmt_t::request_fullscreen) (wlmtk_content_t *content_ptr, bool fullscreen) |
Requests the content to be set to fullscreen mode.
Some contents may adjust the decoration suitably. Once the content has changed to fullscreen mode (potentially an asynchronous operation), wlmtk_window_commit_fullscreen ought to be called, if the content belongs to a window.
- Parameters
-
- Returns
- XDG toplevel configuration serial.
◆ request_maximized
uint32_t(* _wlmtk_content_vmt_t::request_maximized) (wlmtk_content_t *content_ptr, bool maximized) |
Requests the content to be set to maximized mode.
Once the content has changed to maximized
mode (potentially an asynchronous operation), wlmtk_window_commit_maximized ought to be called, if the content belongs to a window.
- Parameters
-
- Returns
- XDG toplevel configuration serial.
◆ request_size
uint32_t(* _wlmtk_content_vmt_t::request_size) (wlmtk_content_t *content_ptr, int width, int height) |
Requests the content to change to the specified size.
This may be implemented as an asynchronous implementation. Once the content has committed the adapted size, wlmtk_content_commit should be called with the corresponding serial.
- Parameters
-
- Returns
- XDG toplevel configuration serial.
◆ set_activated
void(* _wlmtk_content_vmt_t::set_activated) (wlmtk_content_t *content_ptr, bool activated) |
Sets whether this content as activated (keyboard focus).
- Parameters
-
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/wlmaker-0.4.1/src/toolkit/content.h