nsIPopupBoxObject

IID:33C60E14-5150-4876-9A96-2732557E6895
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool autoPosition

Allow the popup to automatically position itself.


Methods

void enableKeyboardNavigator ( PRBool enableKeyboardNavigator ) void enableRollup ( PRBool enableRollup ) void hidePopup ( ) void moveTo ( PRInt32 left , PRInt32 top ) void showPopup ( nsIDOMElement srcContent , nsIDOMElement popupContent , PRInt32 xpos , PRInt32 ypos , PRUnichar* popupType , PRUnichar* anchorAlignment , PRUnichar* popupAlignment ) void sizeTo ( PRInt32 width , PRInt32 height )

void enableKeyboardNavigator ( PRBool enableKeyboardNavigator )

Allow the popup to eat all key events

Arguments:
enableKeyboardNavigator

void enableRollup ( PRBool enableRollup )

Enable automatic popup dismissal

Arguments:
enableRollup

void hidePopup ( )


void moveTo ( PRInt32 left , PRInt32 top )

Move the popup to a point on screen

Arguments:
left
top

void showPopup ( nsIDOMElement srcContent , nsIDOMElement popupContent , PRInt32 xpos , PRInt32 ypos , PRUnichar* popupType , PRUnichar* anchorAlignment , PRUnichar* popupAlignment )

Arguments:
srcContent
popupContent
xpos
ypos
popupType
anchorAlignment
popupAlignment

void sizeTo ( PRInt32 width , PRInt32 height )

Size the popup to the given dimensions

Arguments:
width
height

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com