ConsoleApp
Object Hierarchy:
Description:
public class ConsoleApp : Application
Does all of the low level setting up of a virtual console so you don't have to.
To use it, your main function should look something like this:
using Ev3devKit;
static int main (string[] args) {
try {
ConsoleApp.init ();
// Program-specific initialization goes here. It must include something
// that calls ConsoleApp.quit () when the program is finished.
ConsoleApp.run ();
// Any additional cleanup needed before application exits goes here.
return 0;
} catch (ConsoleAppError err) {
critical ("%s", err.message);
return 1;
}
}
Content:
Creation methods:
Methods:
- public override bool event (Event event)
Inherited Members:
All known members inherited from class Grx.Application
All known members inherited from class GLib.Application
- action_group
- application_id
- flags
- inactivity_timeout
- is_busy
- is_registered
- is_remote
- resource_base_path
- get_default
- id_is_valid
- add_main_option
- add_main_option_entries
- add_option_group
- add_platform_data
- after_emit
- before_emit
- bind_busy_property
- dbus_register
- dbus_unregister
- get_application_id
- get_dbus_connection
- get_dbus_object_path
- get_flags
- get_inactivity_timeout
- get_is_busy
- get_is_registered
- get_is_remote
- get_resource_base_path
- hold
- local_command_line
- mark_busy
- quit
- quit_mainloop
- register
- release
- run
- run_mainloop
- send_notification
- set_action_group
- set_application_id
- set_default
- set_flags
- set_inactivity_timeout
- set_resource_base_path
- unbind_busy_property
- unmark_busy
- withdraw_notification
- activate
- command_line
- handle_local_options
- open
- shutdown
- startup
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count
All known members inherited from interface GLib.Initable
All known members inherited from interface GLib.ActionGroup
- activate_action
- change_action_state
- get_action_enabled
- get_action_parameter_type
- get_action_state
- get_action_state_hint
- get_action_state_type
- has_action
- list_actions
- query_action
- action_added
- action_enabled_changed
- action_removed
- action_state_changed
All known members inherited from interface GLib.ActionMap
- add_action
- add_action_entries