diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
commit | ec52555862913a23417735f9f7f5402f5230da13 (patch) | |
tree | 5e43a30d289a3daa69dddfbb060216ff6332f197 /src/nautilus-view-item-model.h | |
parent | Initial commit. (diff) | |
download | nautilus-upstream/3.38.2.tar.xz nautilus-upstream/3.38.2.zip |
Adding upstream version 3.38.2.upstream/3.38.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/nautilus-view-item-model.h')
-rw-r--r-- | src/nautilus-view-item-model.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/nautilus-view-item-model.h b/src/nautilus-view-item-model.h new file mode 100644 index 0000000..7529901 --- /dev/null +++ b/src/nautilus-view-item-model.h @@ -0,0 +1,32 @@ +#pragma once + +#include <glib.h> +#include <gtk/gtk.h> + +#include "nautilus-file.h" + +G_BEGIN_DECLS + +#define NAUTILUS_TYPE_VIEW_ITEM_MODEL (nautilus_view_item_model_get_type()) + +G_DECLARE_FINAL_TYPE (NautilusViewItemModel, nautilus_view_item_model, NAUTILUS, VIEW_ITEM_MODEL, GObject) + +NautilusViewItemModel * nautilus_view_item_model_new (NautilusFile *file, + guint icon_size); + +void nautilus_view_item_model_set_icon_size (NautilusViewItemModel *self, + guint icon_size); + +guint nautilus_view_item_model_get_icon_size (NautilusViewItemModel *self); + +void nautilus_view_item_model_set_file (NautilusViewItemModel *self, + NautilusFile *file); + +NautilusFile * nautilus_view_item_model_get_file (NautilusViewItemModel *self); + +void nautilus_view_item_model_set_item_ui (NautilusViewItemModel *self, + GtkWidget *item_ui); + +GtkWidget * nautilus_view_item_model_get_item_ui (NautilusViewItemModel *self); + +G_END_DECLS
\ No newline at end of file |