|
|
|
|
| 549 |
* the case of popups may not be this widget's toplevel |
549 |
* the case of popups may not be this widget's toplevel |
| 550 |
* window) is already active, and this function indicates |
550 |
* window) is already active, and this function indicates |
| 551 |
* that keyboard events should be reported through the |
551 |
* that keyboard events should be reported through the |
| 552 |
* aHandleEventFunction provided to this->Create(). |
552 |
* aHandleEventFunction provided to this->Create(). |
| 553 |
*/ |
553 |
*/ |
| 554 |
NS_IMETHOD SetFocus(PRBool aRaise = PR_FALSE) = 0; |
554 |
NS_IMETHOD SetFocus(PRBool aRaise = PR_FALSE) = 0; |
| 555 |
|
555 |
|
| 556 |
/** |
556 |
/** |
| 557 |
* Get this widget's outside dimensions relative to its parent widget |
557 |
* Get this widget's outside dimensions relative to its parent widget. For |
|
|
558 |
* popup widgets the returned rect is in screen coordinates and not |
| 559 |
* relative to its parent widget. |
| 558 |
* |
560 |
* |
| 559 |
* @param aRect On return it holds the x, y, width and height of |
561 |
* @param aRect On return it holds the x, y, width and height of |
| 560 |
* this widget. |
562 |
* this widget. |
| 561 |
*/ |
563 |
*/ |
| 562 |
NS_IMETHOD GetBounds(nsIntRect &aRect) = 0; |
564 |
NS_IMETHOD GetBounds(nsIntRect &aRect) = 0; |
| 563 |
|
565 |
|
| 564 |
/** |
566 |
/** |
| 565 |
* Get this widget's outside dimensions in global coordinates. This |
567 |
* Get this widget's outside dimensions in global coordinates. This |