View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#126
Brewery update:

DBUS Methods & Parameters
QBW implements the following list of methods to trigger specific actions:
Implemented (Internal Testing in Scratchbox) dbus_method_monitor Toggle on-screen yellow notification message of incoming DBUS method requests for destination Instance (for debug purposes)
Implemented (Internal Testing in Scratchbox) show Give show impulse to a QBW
Implemented (Internal Testing in Scratchbox) hide Give hide impulse to a QBW
Implemented (Internal Testing in Scratchbox) wakeup Give wake up impulse to a QBW and update content and layout
Implemented (Internal Testing in Scratchbox) sleep Give sleep/disable/minimize impulse to a QBW
Implemented (Internal Testing in Scratchbox) update_content Give impulse to a QBW for content update
Implemented (Internal Testing in Scratchbox) update_layout Give impulse to a QBW QBW for layout update
Implemented (Internal Testing in Scratchbox) exec Give other QBWs one-shot alternative scripts/commands to execute and update content accordingly
Implemented (Internal Testing in Scratchbox) set_param_string Change and store QBW settings parameter of type string
Implemented (Internal Testing in Scratchbox) set_param_int32 Change and store QBW settings parameter of type int
Implemented (Internal Testing in Scratchbox) set_param_uint32 Change and store QBW settings parameter of type uint
Implemented (Internal Testing in Scratchbox) set_param_double Change and store QBW settings parameter of type double
Implemented (Internal Testing in Scratchbox) set_param_boolean Change and store QBW settings parameter of type boolean
Implemented (Internal Testing in Scratchbox) get_param Get QBW settings parameter
Implemented (Internal Testing in Scratchbox) set_position Set QBW position on desktop
Implemented (Internal Testing in Scratchbox) get_position Get QBW position on desktop
Implemented (Internal Testing in Scratchbox) get_exit_status Retrieve other beecon's last executed commands exit status

DBUS Signals & Parameters
QBW issues the following list of signals to notify the "world" about predefined conditions and events.
Implemented (Internal Testing in Scratchbox) signal_content_update Issued when QBW Instance executes and return and exit status

@qwerty12 ... weeeeewwww!!! fortunately no need for extra marshalling as it turned out Instance ID reaches the DBUS PATH...
Code:
[sbox-FREMANTLE_X86: ~] > run-standalone.sh dbus-monitor "interface='oh.no.more.qbw'"
signal sender=org.freedesktop.DBus -> dest=:1.29 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.29"
signal sender=:1.13 -> dest=(null destination) serial=44 path=/oh/no/more/qbwid2; interface=oh.no.more.qbw; member=sig_content_updated
   string ""
   int32 0
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras

Last edited by No!No!No!Yes!; 2010-05-20 at 20:41.
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: