Urho.UrhoConsole Class

%Console window with log history and command line prompt.

See Also: UrhoConsole

Syntax

public class UrhoConsole : UrhoObject

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.UrhoConsole are listed below.

See Also: UrhoObject

Public Constructors

Constructs a new instance of Urho.UrhoConsole which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.UrhoConsole, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.UrhoConsole linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

AutoVisibleOnErrorBoolean. Controls whether the console is set to automatically visible when receiving an error log message.
[read-only]
BackgroundBorderImage. Return the background element.
[read-only]
CloseButtonButton. Return the close butoon element.
CommandInterpreterString. Return the last used command interpreter. Or Set the command interpreter.
DefaultStyleXmlFile. Return the UI style file. Or Set UI elements' style from an XML file.
FocusOnShowBoolean. Return whether automatically focuses the line edit when showing. Or Set whether to automatically focus the line edit when showing. Default true on desktops and false on mobile devices, as on mobiles it would pop up the screen keyboard.
[read-only]
HistoryPositionUInt32. Return current history position.
[read-only]
LineEditLineEdit. Return the line edit element.
NumBufferedRowsUInt32. Return number of buffered rows. Or Set number of buffered rows.
NumHistoryRowsUInt32. Return history maximum size. Or Set command history maximum size, 0 disables history.
NumRowsUInt32. Return number of displayed rows. Or Set number of displayed rows.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
VisibleBoolean. Show or hide the console.

Public Methods

CopySelectedRows()
Copy selected rows to system clipboard.
static
GetConsoleInput() : String
GetHistoryRow(UInt32) : String
Return history row at index.
static
OpenConsoleWindow()
SubscribeToConsoleCommand(Action<ConsoleCommandEventArgs>) : Subscription
Subscribes to the ConsoleCommand event raised by the UrhoConsole.
Toggle()
Toggle visibility.
UpdateElements()
Update elements to layout properly. Call this after manually adjusting the sub-elements.

Public Events