forked from pyrite-dev/milsko
add clipboard stuff to milsko.xml
This commit is contained in:
parent
b641a03bae
commit
e77eb5e08a
1 changed files with 22 additions and 2 deletions
24
milsko.xml
24
milsko.xml
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
Basically, you have to implement 10+n types:
|
||||
- Integer (int)
|
||||
|
|
@ -67,7 +67,10 @@
|
|||
<integer name="hasBorder" />
|
||||
<integer name="inverted" />
|
||||
<integer name="modernLook" common="yes" />
|
||||
<integer name="waitMS" common="yes" /> <!-- This is a special property, only applies to toplevel widget -->
|
||||
<integer
|
||||
name="waitMS"
|
||||
common="yes"
|
||||
/> <!-- This is a special property, only applies to toplevel widget -->
|
||||
<integer name="hideInput" />
|
||||
<integer name="singleClickSelectable" />
|
||||
<integer name="flat" />
|
||||
|
|
@ -146,6 +149,10 @@
|
|||
<integer name="MwMB_ICONERROR" />
|
||||
<integer name="MwMB_ICONCLOCK" />
|
||||
</enumeration>
|
||||
<enumeration name="MwClipboardType">
|
||||
<integer name="MwClipboardMain">0</integer>
|
||||
<integer name="MwClipboardPrimary" />
|
||||
</enumeration>
|
||||
</enumerations>
|
||||
<constants>
|
||||
<integer name="MwDEFAULT">0x0fffffff</integer>
|
||||
|
|
@ -399,6 +406,19 @@
|
|||
<struct defname="MwRect" pointer="yes" name="rect" />
|
||||
</arguments>
|
||||
</function>
|
||||
<function name="MwGetClipboard">
|
||||
<arguments>
|
||||
<widget name="handle" />
|
||||
<struct defname="MwClipboardType" pointer="no" name="clipboard_type" />
|
||||
</arguments>
|
||||
</function>
|
||||
<function name="MwSetClipboard">
|
||||
<arguments>
|
||||
<widget name="handle" />
|
||||
<string name="text" />
|
||||
<enum defname="MwClipboardType" pointer="no" name="clipboard_type" />
|
||||
</arguments>
|
||||
</function>
|
||||
</functions>
|
||||
</header>
|
||||
<header name="FileChooser">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue