fix dnd
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-09-15 07:39:29 +09:00
commit e5255bcbfa
2 changed files with 5 additions and 0 deletions

View file

@ -40,6 +40,7 @@ int main() {
window = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 400, 400,
MwNtitle, "dnd",
MwNacceptsDnD, 1,
NULL);
instructions = MwVaCreateWidget(MwLabelClass, "button", window, 50, 50, 300, 125,
MwNtext, "drag a file and its name will show up below.",

View file

@ -107,6 +107,7 @@
<integer name="columns" />
<integer name="columnSpan" column="yes" />
<integer name="rowSpan" column="yes" />
<integer name="acceptsDnD" column="yes" />
<integer name="hour" />
<integer name="minute" />
<integer name="second" />
@ -197,6 +198,9 @@
<handler name="darkTheme" common="yes">
<integer pointer="yes" />
</handler>
<handler name="dragAndDrop" common="yes">
<string />
</handler>
</handlers>
<enumerations>
<enumeration name="MwDIRECTION">