Editing Queen BeeCon Widget

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 68 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 578: Line 578:
QBW implements the following list of methods to trigger specific actions:
QBW implements the following list of methods to trigger specific actions:
-
WARNING!!! Methods' Parameters are case-sensitive
+
'''WARNING!!!''' Methods' Parameters are '''case-sensitive'''
-
{|class="wikitable"
+
{|class="wikitable" border="2"
!Method!!Input Params!!Returns!!Description
!Method!!Input Params!!Returns!!Description
|-
|-
-
|<code>logger_action</code>||<code>string:'disable<nowiki> | </nowiki>v0<nowiki> | </nowiki>v1<nowiki> | </nowiki>v2<nowiki> | </nowiki>v3<nowiki> | </nowiki>v4<nowiki> | </nowiki>reset<nowiki> | </nowiki>flush'</code>||||Performs the following actions on the qbw logger subsystem:<br/><br/><code>disable</code> Disables logging<br/><br/><code>v0-4</code> Sets Logger Verbosity to specified depth level<br/><br/><code>reset</code> Resets the logfile <code>queen_beecon.log</code> in directory <code>/home/user/.queen_beecon_dir</code> to empty<br/><br/><code>flush</code> Flushes content of logfile <code>queen_beecon.log</code>
+
|'''<code>logger_action'''</code>||<code>string:'disable<nowiki> | </nowiki>v0<nowiki> | </nowiki>v1<nowiki> | </nowiki>v2<nowiki> | </nowiki>v3<nowiki> | </nowiki>v4<nowiki> | </nowiki>reset<nowiki> | </nowiki>flush'</code>||||Performs the following actions on the qbw logger subsystem:<br/><br/><code>'''disable'''</code> Disables logging<br/><br/><code>'''v0-4'''</code> Sets Logger Verbosity to specified depth level<br/><br/><code>'''reset'''</code> Resets the logfile <code>'''queen_beecon.log'''</code> in directory <code>'''/home/user/.queen_beecon_dir'''</code> to empty<br/><br/><code>'''flush'''</code> Flushes content of logfile <code>'''queen_beecon.log'''</code>
|-
|-
-
|<code>dbus_method_monitor</code>||<code>string:'on<nowiki> | </nowiki>off'</code>||||Toggle on-screen yellow notification message of incoming DBUS method requests for destination Instance (for debug purposes). Default=OFF
+
|'''<code>dbus_method_monitor</code>'''||<code>string:'on<nowiki> | </nowiki>off'</code>||||Toggle on-screen yellow notification message of incoming DBUS method requests for destination Instance (for debug purposes). Default=OFF
|-
|-
-
|<code>reset_rearm_timer</code>||||||Reset and rearm timer for periodically auto-updating QBW, needed to be explicitly called if parameter <code>delayIndex</code> has been changed via DBUS <code>set_param_uint32</code> method
+
|'''<code>reset_rearm_timer'''</code>||||||Reset and rearm timer for periodically auto-updating QBW, needed to be explicitly called if parameter <code>'''delayIndex'''</code> has been changed via DBUS <code>'''set_param_uint32'''</code> method
|-
|-
-
|<code>reset_rearm_connection</code>||||||Reset and rearm the network connection subsystem, needed to be explicitly called if parameter <code>updNeworkPolicy</code> has been changed via DBUS method
+
|'''<code>reset_rearm_connection'''</code>||||||Reset and rearm the network connection subsystem, needed to be explicitly called if parameter <code>'''updNeworkPolicy'''</code> has been changed via DBUS method
|-
|-
-
|<code>reset_rearm_location</code>||||||Reset and rearm the GPS location subsystem, needed to be explicitly called if parameter <code>GPSsettings</code> has been changed via DBUS method
+
|'''<code>reset_rearm_location'''</code>||||||Reset and rearm the GPS location subsystem, needed to be explicitly called if parameter <code>'''GPSsettings'''</code> has been changed via DBUS method
|-
|-
-
|<code>reset_rearm_orientation</code>||||||Reset and rearm the Phone Orientation subsystem, needed to be explicitly called if parameter <code>updOnOrientation</code> has been changed via DBUS method
+
|'''<code>reset_rearm_orientation'''</code>||||||Reset and rearm the Phone Orientation subsystem, needed to be explicitly called if parameter <code>'''updOnOrientation'''</code> has been changed via DBUS method
|-
|-
-
|<code>reset_rearm_dbus_monitor</code>||||||Reset and rearm the DBUS Monitor subsystem, needed to be explicitly called if parameters <code>updOnDBUS</code>, <code>updOnDBUSBus</code> and <code>updOnDBUSMatchRule</code> have been changed via DBUS method
+
|'''<code>reset_rearm_dbus_monitor'''</code>||||||Reset and rearm the DBUS Monitor subsystem, needed to be explicitly called if parameters <code>'''updOnDBUS'''</code>, <code>'''updOnDBUSBus'''</code> and <code>'''updOnDBUSMatchRule'''</code> have been changed via DBUS method
|-
|-
-
|<code>show</code>||||||Give show impulse to a QBW
+
|'''<code>show'''</code>||||||Give show impulse to a QBW
|-
|-
-
|<code>hide</code>||||||Give hide impulse to a QBW
+
|'''<code>hide'''</code>||||||Give hide impulse to a QBW
|-
|-
-
|<code>wakeup</code>||||||Give wake up impulse to a QBW and update content and layout
+
|'''<code>wakeup'''</code>||||||Give wake up impulse to a QBW and update content and layout
|-
|-
-
|<code>sleep</code>||||||Give sleep/disable/minimize impulse to a QBW
+
|'''<code>sleep'''</code>||||||Give sleep/disable/minimize impulse to a QBW
|-
|-
-
|<code>update_content</code>||||||Give impulse to a QBW for content update
+
|'''<code>update_content'''</code>||||||Give impulse to a QBW for content update
|-
|-
-
|<code>update_layout</code>||||||Give impulse to a QBW for layout update
+
|'''<code>update_layout'''</code>||||||Give impulse to a QBW for layout update
|-
|-
-
|<code>exec</code>||<code>string:'<command<nowiki>|</nowiki>script>'</code>||||Give other QBWs one-shot alternative scripts/commands to execute and update content accordingly
+
|'''<code>exec'''</code>||<code>string:'<command<nowiki>|</nowiki>script>'</code>||||Give other QBWs one-shot alternative scripts/commands to execute and update content accordingly
|-
|-
-
|<code>set_param_string</code>||<code>string:'<param name>'</code><br /><code>string:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>|||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type string
+
|'''<code>set_param_string'''</code>||<code>string:'<param name>'</code><br /><code>string:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>|||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type string
|-
|-
-
|<code>set_param_int32</code>||<code>string:'<param name>'</code><br /><code>int32:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type int
+
|'''<code>set_param_int32'''</code>||<code>string:'<param name>'</code><br /><code>int32:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type int
|-
|-
-
|<code>set_param_uint32</code>||<code>string:'<param name>'</code><br /><code>uint32:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type uint
+
|'''<code>set_param_uint32'''</code>||<code>string:'<param name>'</code><br /><code>uint32:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type uint
|-
|-
-
|<code>set_param_double</code>||<code>string:'<param name>'</code><br \><code>double:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type double
+
|'''<code>set_param_double'''</code>||<code>string:'<param name>'</code><br \><code>double:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type double
|-
|-
-
|<code>set_param_boolean</code>||<code>string:'<param name>'</code><br /><code>boolean:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type boolean
+
|'''<code>set_param_boolean'''</code>||<code>string:'<param name>'</code><br /><code>boolean:'<new value>'</code><br /><code>string:<nowiki>'' | </nowiki>'update_content'<nowiki> | </nowiki>'update_layout'</code>||||Change and store QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]] of type boolean
|-
|-
-
|<code>get_param</code>||<code>string:'<param name>'</code>||<code>string:'value'</code>||Get QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]]
+
|'''<code>get_param'''</code>||<code>string:'<param name>'</code>||<code>string:'value'</code>||Get QBW settings [[#Configuration_Parameters.2C_Types_.26_Reference|parameter]]
|-
|-
-
|<code>is_on_sight</code>||||<code>string:'value'</code>||Get current widget On Sight status<br/>'''<code>true</code>'''=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by.<br/><code>false</code>=QBW Instance is not on current desktop and visible or display is off or on stand by
+
|'''<code>is_on_sight'''</code>||||<code>string:'value'</code>||Get current widget On Sight status<br/>'''<code>true</code>'''=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by.<br/>'''<code>false</code>'''=QBW Instance is not on current desktop and visible or display is off or on stand by
|-
|-
-
|<code>get_current_results_text</code>||||<code>string:'value'</code>||Get current content of results text
+
|'''<code>get_current_results_text'''</code>||||<code>string:'value'</code>||Get current content of results text
|-
|-
-
|<code>set_position</code>||<code>int32:'<X-coord>'</code><br /><code>int32:'<Y-coord>'</code>||||Set QBW position on desktop
+
|'''<code>set_position'''</code>||<code>int32:'<X-coord>'</code><br /><code>int32:'<Y-coord>'</code>||||Set QBW position on desktop
|-
|-
-
|<code>get_position</code>||||<code>int32:'<X-coord>'</code><br /><code>int32:'<Y-coord>'</code>||Get QBW position on desktop
+
|'''<code>get_position'''</code>||||<code>int32:'<X-coord>'</code><br /><code>int32:'<Y-coord>'</code>||Get QBW position on desktop
|-
|-
-
|<code>get_exit_status</code>||||<code>int32:'<ExitStatus>'</code>||Retrieve other QBW's last executed commands exit status
+
|'''<code>get_exit_status'''</code>||||<code>int32:'<ExitStatus>'</code>||Retrieve other QBW's last executed commands exit status
|}
|}
Line 644: Line 644:
* <idX> is the [[#QBW_Instance_ID|QBW Instance ID]]
* <idX> is the [[#QBW_Instance_ID|QBW Instance ID]]
-
{|class="wikitable"
+
{|class="wikitable" border="2"
!Signal!!Broadcasts!!Description
!Signal!!Broadcasts!!Description
|-
|-
-
|<code>signal_content_update</code>||<code>int32:'<ExitStatus>'</code>||Issued when [[#QBW_Instance_ID|QBW Instance <idX>]] executes and returns an exit status
+
|'''<code>signal_content_update</code>'''||<code>int32:'<ExitStatus>'</code>||Issued when '''[[#QBW_Instance_ID|QBW Instance <idX>]]''' executes and returns an exit status
|}
|}
Line 665: Line 665:
* <code><idX></code> is the [[#QBW Instance ID|QBW Instance ID]]
* <code><idX></code> is the [[#QBW Instance ID|QBW Instance ID]]
* <code><method></code> is the [[#DBUS Methods|Method]] to be called for the specific QBW Instance
* <code><method></code> is the [[#DBUS Methods|Method]] to be called for the specific QBW Instance
-
* <code><typeX></code> and <code><paramX></code> are the parameter type and value as per the specific [[#DBUS Methods|Method Synopsis]]
+
* <code><typeX></code> and <code><paramX></code> are the parameter '''type''' and '''value''' as per the specific [[#DBUS Methods|Method Synopsis]]
For example:
For example:

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: