|
wlmaker
|
#include "tilebox.h"#include <stdbool.h>#include <stdlib.h>#include "libbase/libbase.h"#include "toolkit/toolkit.h"
Classes | |
| struct | _wlmdock_tilebox |
Functions | |
| wlmdock_tilebox_t * | wlmdock_tilebox_create (wlmtk_box_orientation_t orientation, bool reverse, const struct wlmtk_dock_style *style_ptr) |
| void | wlmdock_tilebox_destroy (wlmdock_tilebox_t *tilebox_ptr) |
| wlmtk_element_t * | wlmdock_tilebox_element (wlmdock_tilebox_t *tilebox_ptr) |
| wlmtk_container_t * | wlmdock_tilebox_container (wlmdock_tilebox_t *tilebox_ptr) |
| void | wlmdock_tilebox_add_tile (wlmdock_tilebox_t *tilebox_ptr, wlmtk_tile_t *tile_ptr) |
| void | wlmdock_tilebox_remove_tile (wlmdock_tilebox_t *tilebox_ptr, wlmtk_tile_t *tile_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.
| void wlmdock_tilebox_add_tile | ( | wlmdock_tilebox_t * | tilebox_ptr, |
| wlmtk_tile_t * | tile_ptr | ||
| ) |
Adds the tile to the tile box.
| tilebox_ptr | |
| tile_ptr |
| wlmtk_container_t * wlmdock_tilebox_container | ( | wlmdock_tilebox_t * | tilebox_ptr | ) |
Returns the tilebox' root wlmtk_container_t.
| tilebox_ptr |
| wlmdock_tilebox_t * wlmdock_tilebox_create | ( | wlmtk_box_orientation_t | orientation, |
| bool | reverse, | ||
| const struct wlmtk_dock_style * | style_ptr | ||
| ) |
Creates a tile box.
| orientation | |
| reverse | |
| style_ptr |
| void wlmdock_tilebox_destroy | ( | wlmdock_tilebox_t * | tilebox_ptr | ) |
Destroys the tile box.
| tilebox_ptr |
| wlmtk_element_t * wlmdock_tilebox_element | ( | wlmdock_tilebox_t * | tilebox_ptr | ) |
Returns the tilebox' root wlmtk_element_t.
| tilebox_ptr |
| void wlmdock_tilebox_remove_tile | ( | wlmdock_tilebox_t * | tilebox_ptr, |
| wlmtk_tile_t * | tile_ptr | ||
| ) |
Removes the tile from the tilebox.
| tilebox_ptr | |
| tile_ptr | Tile to remove. Must have been added to the tile box before. |