summaryrefslogtreecommitdiff
path: root/csrc/widgets/limit-container.h
blob: cad19aa695311049956071264d4ed437a1493c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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