XPopupMenu.idl (d026be40) | XPopupMenu.idl (31d843d7) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 9 unchanged lines hidden (view full) --- 18 * under the License. 19 * 20 *************************************************************/ 21 22#ifndef __com_sun_star_awt_XPopupMenu_idl__ 23#define __com_sun_star_awt_XPopupMenu_idl__ 24 25#include <com/sun/star/awt/KeyEvent.idl> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 9 unchanged lines hidden (view full) --- 18 * under the License. 19 * 20 *************************************************************/ 21 22#ifndef __com_sun_star_awt_XPopupMenu_idl__ 23#define __com_sun_star_awt_XPopupMenu_idl__ 24 25#include <com/sun/star/awt/KeyEvent.idl> |
26#include <com/sun/star/awt/Point.idl> | 26#include <com/sun/star/awt/Rectangle.idl> |
27#include <com/sun/star/awt/XMenu.idl> 28#include <com/sun/star/graphic/XGraphic.idl> 29 30module com { module sun { module star { module awt { 31 32published interface XWindowPeer; 33 34/** controls a popup menu. --- 44 unchanged lines hidden (view full) --- 79 80 /** executes the popup menu and returns the selected item 81 or <code>0</code>, if cancelled. 82 83 @param Parent 84 the parent window. 85 86 @param Position | 27#include <com/sun/star/awt/XMenu.idl> 28#include <com/sun/star/graphic/XGraphic.idl> 29 30module com { module sun { module star { module awt { 31 32published interface XWindowPeer; 33 34/** controls a popup menu. --- 44 unchanged lines hidden (view full) --- 79 80 /** executes the popup menu and returns the selected item 81 or <code>0</code>, if cancelled. 82 83 @param Parent 84 the parent window. 85 86 @param Position |
87 the coordinates where the popup menu should be executed. | 87 a <type>Rectangle</type> representing the coordinates system 88 where the popup menu should be executed. |
88 89 @param Direction 90 the direction in which a popup menu will grow, as specified 91 by one of the <type>PopupMenuDirection</type> constants. 92 93 @return 94 returns the selected item or <code>0</code>, if cancelled. 95 */ 96 short execute( [in] XWindowPeer Parent, | 89 90 @param Direction 91 the direction in which a popup menu will grow, as specified 92 by one of the <type>PopupMenuDirection</type> constants. 93 94 @return 95 returns the selected item or <code>0</code>, if cancelled. 96 */ 97 short execute( [in] XWindowPeer Parent, |
97 [in] Point Position, | 98 [in] Rectangle Position, |
98 [in] short Direction ); 99 100 /** queries if the <type>PopupMenu</type> is being. 101 102 <p>Returns <TRUE/> only if the <type>PopupMenu</type> is being executed 103 as a result of invoking <member >XPopupMenu::execute()</member>; that is, 104 for a <type>PopupMenu</type> activated by a <type>MenuBar</type> item, 105 this methods returns <FALSE/>.</p> --- 80 unchanged lines hidden --- | 99 [in] short Direction ); 100 101 /** queries if the <type>PopupMenu</type> is being. 102 103 <p>Returns <TRUE/> only if the <type>PopupMenu</type> is being executed 104 as a result of invoking <member >XPopupMenu::execute()</member>; that is, 105 for a <type>PopupMenu</type> activated by a <type>MenuBar</type> item, 106 this methods returns <FALSE/>.</p> --- 80 unchanged lines hidden --- |