[Libreoffice-commits] core.git: offapi/com

Tsutomu Uchino hanya at apache.org
Thu Nov 19 13:02:18 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 054d3251d770a6104c524fa7483011877ed657b1
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Wed Nov 18 12:44:57 2015 +0000

    Related: #i72580# Add descriptions about State property and button command
    
    (cherry picked from commit 78dce87d4bd6936f0310d96381a0130f3ba82ed0)
    
    Change-Id: Ide972a5574c0062a7ee4e4300e512715c55e8d37

diff --git a/offapi/com/sun/star/awt/UnoControlButtonModel.idl b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
index 3a5f01c..c28e31c 100644
--- a/offapi/com/sun/star/awt/UnoControlButtonModel.idl
+++ b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
@@ -188,6 +188,16 @@ published service UnoControlButtonModel
 
 
     /** specifies the state of the control.
+
+        If #Toggle 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 #Toggle
      */
     [property] short State;
 
diff --git a/offapi/com/sun/star/awt/XButton.idl b/offapi/com/sun/star/awt/XButton.idl
index 24dfa73..3840d40 100644
--- a/offapi/com/sun/star/awt/XButton.idl
+++ b/offapi/com/sun/star/awt/XButton.idl
@@ -49,6 +49,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.
      */
     void setActionCommand( [in] string Command );
 


More information about the Libreoffice-commits mailing list