summaryrefslogtreecommitdiffstats
path: root/src/nautilus-container-max-width.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-container-max-width.h')
-rw-r--r--src/nautilus-container-max-width.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nautilus-container-max-width.h b/src/nautilus-container-max-width.h
new file mode 100644
index 0000000..3373416
--- /dev/null
+++ b/src/nautilus-container-max-width.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <glib.h>
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define NAUTILUS_TYPE_CONTAINER_MAX_WIDTH (nautilus_container_max_width_get_type())
+
+G_DECLARE_FINAL_TYPE (NautilusContainerMaxWidth, nautilus_container_max_width, NAUTILUS, CONTAINER_MAX_WIDTH, GtkBin)
+
+NautilusContainerMaxWidth *nautilus_container_max_width_new (void);
+
+void nautilus_container_max_width_set_max_width (NautilusContainerMaxWidth *self,
+ guint max_width);
+guint nautilus_container_max_width_get_max_width (NautilusContainerMaxWidth *self);
+gboolean nautilus_container_max_width_get_width_maximized (NautilusContainerMaxWidth *self);
+
+G_END_DECLS