Kimono.KHTMLPart.SetStatusMessagesEnabled C# (CSharp) Method

SetStatusMessagesEnabled() public method

Returns the JavaScript interpreter the part is using. This method is mainly intended for applications which embed and extend the part and provides a mechanism for adding additional native objects to the interpreter (or removing the built-ins). One thing people using this method to add things to the interpreter must consider, is that when you start writing new content to the part, the interpreter is cleared. This includes both use of the begin( KUrl, int, int ) method, and the openUrl( KUrl ) method. If you want your objects to have a longer lifespan, then you must retain a KJS.Object yourself to ensure that the reference count of your custom objects never reaches 0. You will also need to re-add your bindings every time this happens - one way to detect the need for this is to connect to the docCreated() signal, another is to reimplement the begin() method. Enable/disable statusbar messages. When this class wants to set the statusbar text, it emits setStatusBarText(string text) If you want to catch this for your own statusbar, note that it returns back a rich text string, starting with "". This you need to either pass this into your own QLabel or to strip out the tags before passing it to QStatusBar.Message(string message)
public SetStatusMessagesEnabled ( bool enable ) : void
enable bool
return void
        public void SetStatusMessagesEnabled(bool enable)
        {
            interceptor.Invoke("setStatusMessagesEnabled$", "setStatusMessagesEnabled(bool)", typeof(void), typeof(bool), enable);
        }
KHTMLPart