Urho.UrhoConsole Class

%Console window with log history and command line prompt.

See Also: UrhoConsole


public class UrhoConsole : UrhoObject


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

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.
BackgroundBorderImage. Return the background element.
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.
HistoryPositionUInt32. Return current history position.
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.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
VisibleBoolean. Show or hide the console.

Public Methods

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

Public Events