Gooey GUI Library
Loading...
Searching...
No Matches
gooey_layout.h
Go to the documentation of this file.
1#ifndef GOOEY_LAYOUT_H
2#define GOOEY_LAYOUT_H
3
4#include "core/gooey_backend_internal.h"
5#include "gooey_widgets_internal.h"
6
21GooeyLayout *GooeyLayout_Create(GooeyWindow *win, GooeyLayoutType layout_type,
22 int x, int y, int width, int height);
23
30void GooeyLayout_AddChild(GooeyLayout *layout, void *widget);
31
37void GooeyLayout_Build(GooeyLayout *layout);
38
39
40#endif
void GooeyLayout_AddChild(GooeyLayout *layout, void *widget)
Adds a child widget to a layout.
GooeyLayout * GooeyLayout_Create(GooeyWindow *win, GooeyLayoutType layout_type, int x, int y, int width, int height)
Creates a layout for the specified window.
void GooeyLayout_Build(GooeyLayout *layout)
Builds the layout, arranging all child widgets according to the layout type.