diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-06-19 23:17:58 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-06-19 23:17:58 +0200 |
| commit | 1af3d14f3f995645a0de08a54b244c19840709e9 (patch) | |
| tree | 3c4098863d8a8fd004a2acc8912a23b6036ab4dd /csrc/widgets/limit-container.h | |
| parent | 40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff) | |
init hs project
Diffstat (limited to 'csrc/widgets/limit-container.h')
| -rw-r--r-- | csrc/widgets/limit-container.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/csrc/widgets/limit-container.h b/csrc/widgets/limit-container.h new file mode 100644 index 0000000..cad19aa --- /dev/null +++ b/csrc/widgets/limit-container.h @@ -0,0 +1,22 @@ +#pragma once + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +#define FOOBAR_TYPE_LIMIT_CONTAINER foobar_limit_container_get_type( ) + +G_DECLARE_FINAL_TYPE( FoobarLimitContainer, foobar_limit_container, FOOBAR, LIMIT_CONTAINER, GtkWidget ) + +GtkWidget* foobar_limit_container_new ( void ); +GtkWidget* foobar_limit_container_get_child ( FoobarLimitContainer* self ); +gint foobar_limit_container_get_max_width ( FoobarLimitContainer* self ); +gint foobar_limit_container_get_max_height( FoobarLimitContainer* self ); +void foobar_limit_container_set_child ( FoobarLimitContainer* self, + GtkWidget* value ); +void foobar_limit_container_set_max_width ( FoobarLimitContainer* self, + gint value ); +void foobar_limit_container_set_max_height( FoobarLimitContainer* self, + gint value ); + +G_END_DECLS |
