[Libreoffice-commits] core.git: Branch 'aoo/trunk' - offapi/com

Tsutomu Uchino hanya at apache.org
Wed Nov 18 06:08:08 PST 2015


 offapi/com/sun/star/awt/UnoControlButtonModel.idl |   10 ++++++++++
 offapi/com/sun/star/awt/XButton.idl               |    3 +++
 2 files changed, 13 insertions(+)

New commits:
commit 78dce87d4bd6936f0310d96381a0130f3ba82ed0
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Wed Nov 18 12:44:57 2015 +0000

    #i72580# Add descriptions about State property and button command

diff --git a/offapi/com/sun/star/awt/UnoControlButtonModel.idl b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
index a5d4124..d66e46d 100644
--- a/offapi/com/sun/star/awt/UnoControlButtonModel.idl
+++ b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
@@ -225,6 +225,16 @@ published service UnoControlButtonModel
     //-------------------------------------------------------------------------
 
     /** specifies the state of the control.
+
+        If <member>Toggle</member> property is set to <TRUE/>, the pressed state
+        is enabled and its pressed state can be obtained with this property.
+
+        <pre>
+        0: not pressed
+        1: pressed
+        2: don't know
+        </pre>
+        @see <member>Toggle</member>
      */
     [property] short State;
 
diff --git a/offapi/com/sun/star/awt/XButton.idl b/offapi/com/sun/star/awt/XButton.idl
index fdd5b71..fe3f703 100644
--- a/offapi/com/sun/star/awt/XButton.idl
+++ b/offapi/com/sun/star/awt/XButton.idl
@@ -63,6 +63,9 @@ published interface XButton: com::sun::star::uno::XInterface
     //-------------------------------------------------------------------------
 
     /** sets a command string for pushing the button.
+
+        @param Command
+                value can be used to detect which button is pressed.
      */
     [oneway] void setActionCommand( [in] string Command );
 


More information about the Libreoffice-commits mailing list