On Sun, 2 Mar 2014 12:50:29 +0000 Gavin McCord <[email protected]> said:

> I'm dabbling at the moment with a couple of
> simple apps using  elm widgets.
> 
> What I want to do is create a window which I
> can stick to a screen edge and not have it
> covered by any windows, even when maximised,
> similar to how shelves behave.
> 
> So, I've created my window using
> 
> win = elm_win_add(NULL, "title", ELM_WIN_DOCK);
> box = elm_box_add(win);
> ...
> evas_object_show(win);
> elm_win_center(win, EINA_TRUE, EINA_FALSE);
> elm_win_sticky_set(win, EINA_TRUE);
> 
> And this achieves the object of having the window
> on all screens, centred and above other windows.
> But to make it look neater can I also prevent other
> windows from overlapping it?

elm_win_layer_set()

btw - what you are doing may break depending on desktop policies, env, wm, etc.
- it's not guaranteed.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to