From 0b57d4aa2f7b7b0eb95cf04cfedf577dfd3e644a Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Thu, 28 Feb 2002 23:19:04 +0000 Subject: [PATCH] add new attribute "enabled". bug 126786 r=hyatt,rginda a=asa git-svn-id: svn://10.0.0.236/trunk@115518 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/public/nsIBaseWindow.idl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/public/nsIBaseWindow.idl b/mozilla/widget/public/nsIBaseWindow.idl index 26da3d0e22c..6f84797d129 100644 --- a/mozilla/widget/public/nsIBaseWindow.idl +++ b/mozilla/widget/public/nsIBaseWindow.idl @@ -174,10 +174,16 @@ interface nsIBaseWindow : nsISupports */ attribute boolean visibility; + /* + a disabled window should accept no user interaction; it's a dead window, + like the parent of a modal window. + */ + attribute boolean enabled; + /* Allows you to find out what the widget is of a given object. Depending on the object, this may return the parent widget in which this object - lives if it has not had to create it's own widget. + lives if it has not had to create its own widget. */ [noscript] readonly attribute nsIWidget mainWidget;