View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#167
Originally Posted by No!No!No!Yes!
However I also have one more issue which is bothering me since QBW was born. I already opened a thread in Development forum but no brave member came up with suggestions.

I hope I have a better chance now that community has gone much more cerebral about Maemo, N900 and Hildon-Desktop.
I repost here my original request as it could move QBW a step further with still one new possibility.

Thanks to new extended IPC mechanism it could be now possible to treat many QBW instances as one intercommunicating entity thus allowing stacked instances (and hot spots over beecons) like in this example:

Originally Posted by No!No!No!Yes! View Post
I believe the cheapest solution could be this one:



With "A" being the "status" beecon (with status querying script updating manually, every startup, on desktop change, every 30 or so seconds updated via new QBW IPC features by "B") and "B" being the "toggle" beecon/button (with status toggling script just for manual interaction)

ISSUE: Still unable to programmatically control the stacking of different widgets on desktop.

This was the original enigma:
Originally Posted by No!No!No!Yes! View Post
Hi, as per subject I need to programmatically control the overlaying positions of 3 instances of the same multi-instance hildon desktop (hildon-home) widget.
Programming Language is C.

I basically need to send the top most yellow box behind the red and green boxes (the very-very back) while I'm in the top most widget's settings dialog box.





I've already tried:
  1. gtk_window_set_keep_below gtk_window_set_keep_below
  2. HildonWindowStack family functions

No success so far... anyone can help?

Bye!
Sorry for bringing this back again but I received some tips from a friend and I'd like you guys to help me elaborating on them:

Originally Posted by friend
I was reading the applet positioning code in hildon-desktop a bit and it seems that the applets are placed on the desktop in the order of modification timestamps so that recently modified applet windows are on top. The modification timestamp is stored to GConf, under /apps/osso/hildon-desktop/applets/<applet>/modified for each applet.

So you could edit this timestamp to change the stacking order of the applets. I think you'd need to trigger the restacking of applets somehow aftre changing the value. The stacking code is here:
http://maemo.gitorious.org/fremantle...hd-home-view.c
Anyone has any idea on how to "trigger the restacking of applets"

Ciao.
__________________
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