wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
_wlmtk_container_vmt_t Struct Reference

#include <container.h>

Public Attributes

void(* update_layout )(wlmtk_container_t *container_ptr)
 

Detailed Description

Virtual method table of the container.

Member Data Documentation

◆ update_layout

void(* _wlmtk_container_vmt_t::update_layout) (wlmtk_container_t *container_ptr)

Updates the layout of the container elements.

Will be called by this, when an element is added or removed. Additionally, this should be invoked by contained elements when the visibility or dimensions change.

Each container will propagate a wlmtk_container_vmt_t::update_layout call upwards to it's parent container. The root container will then trigger an update to pointer focus (since by then, the layout is updated).


The documentation for this struct was generated from the following file: