GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_widget_disable.h
Go to the documentation of this file.
1//SPDX-License-Identifier: LGPL-2.0-or-later
2
3/*
4
5 Copyright (c) 2014-2024 Cyril Hrubis <metan@ucw.cz>
6
7 */
8
24#ifndef GP_WIDGET_DISABLE_H
25#define GP_WIDGET_DISABLE_H
26
28
37
46
55void gp_widget_disabled_set(gp_widget *self, bool disabled);
56
68
69#endif /* GP_WIDGET_DISABLE_H */
bool gp_widget_disabled_get(gp_widget *self)
Returns true if widget is disabled.
void gp_widget_disabled_set(gp_widget *self, bool disabled)
Sets disabled/enabled widget state.
void gp_widget_disable(gp_widget *self)
Disables widget and all its subwidgets.
void gp_widget_enable(gp_widget *self)
Enables widget and all its subwidgets.
Common widget types.
A widget base.
Definition gp_widget.h:28