GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
widgets
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
27
#include <
widgets/gp_widget_types.h
>
28
36
void
gp_widget_disable
(
gp_widget
*self);
37
45
void
gp_widget_enable
(
gp_widget
*self);
46
55
void
gp_widget_disabled_set
(
gp_widget
*self,
bool
disabled);
56
67
bool
gp_widget_disabled_get
(
gp_widget
*self);
68
69
#endif
/* GP_WIDGET_DISABLE_H */
gp_widget_disabled_get
bool gp_widget_disabled_get(gp_widget *self)
Returns true if widget is disabled.
gp_widget_disabled_set
void gp_widget_disabled_set(gp_widget *self, bool disabled)
Sets disabled/enabled widget state.
gp_widget_disable
void gp_widget_disable(gp_widget *self)
Disables widget and all its subwidgets.
gp_widget_enable
void gp_widget_enable(gp_widget *self)
Enables widget and all its subwidgets.
gp_widget_types.h
Common widget types.
gp_widget
A widget base.
Definition
gp_widget.h:28
Generated by
1.9.8