GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
widgets
gp_widget_frame.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
25
#ifndef GP_WIDGET_FRAME_H
26
#define GP_WIDGET_FRAME_H
27
37
gp_widget
*
gp_widget_frame_new
(
const
char
*title,
gp_widget_tattr
tattr,
gp_widget
*child);
38
45
void
gp_widget_frame_title_set
(
gp_widget
*self,
const
char
*title);
46
55
gp_widget
*
gp_widget_frame_put
(
gp_widget
*self,
gp_widget
*child);
56
57
#endif
/* GP_WIDGET_FRAME_H */
gp_widget_frame_title_set
void gp_widget_frame_title_set(gp_widget *self, const char *title)
Sets a new frame title.
gp_widget_frame_new
gp_widget * gp_widget_frame_new(const char *title, gp_widget_tattr tattr, gp_widget *child)
Allocates and initializes a new frame widget.
gp_widget_frame_put
gp_widget * gp_widget_frame_put(gp_widget *self, gp_widget *child)
Puts a child widget into a frame widget.
gp_widget_tattr
gp_widget_tattr
Text attribute flags.
Definition
gp_widget_tattr.h:27
gp_widget
A widget base.
Definition
gp_widget.h:28
Generated by
1.9.8