utils: Add DnD target widget

Another utility function.
This commit is contained in:
Georges Basile Stavracas Neto
2025-03-19 19:23:57 -03:00
parent 69ac7468e2
commit fbca670b62
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -30,3 +30,11 @@ gcal_create_selection_widget (void)
"css-name", "selection",
NULL);
}
GtkWidget*
gcal_create_drop_target_widget (void)
{
return g_object_new (ADW_TYPE_BIN,
"css-name", "droptarget",
NULL);
}
+2
View File
@@ -27,4 +27,6 @@ G_BEGIN_DECLS
GtkWidget* gcal_create_selection_widget (void);
GtkWidget* gcal_create_drop_target_widget (void);
G_END_DECLS