At Mon, 9 Dec 2013 16:53:38 +0000 Enlightenment developer list <enlightenment-devel@lists.sourceforge.net> wrote:
> > The ELM docs don't explain the concept... nor does a Google search AFAICT. > So what is it? It is a *standard* window manager thing: a "withdrawn" is a window that has been unmapped (or never mapped). Just about all widget toolkits have this sort of feature, usually there is some 'window manager' interface API for this and other interactions with the window manager (such as size / geometry hints and grabbing access to the 'close/delete' window function, window resizing/moving, and things like window manager decoration and things like transient properties. (Tcl/Tk has a function 'wm' for all of that for example). Usually this is done because: 1) A bunch of complex stuff will be placed in the window and the the programmer does not want to give the user an 'interesting' view of the window being set up (think: keeping the curtian closed while the stage hands set up the scenery). 2) The window is a dialog box (or something) that gets re-used and is withdrawn when not in use. > > Currently, setting a window as withdrawn appears to just hide it (i.e. > elm_win_withdrawn_set(..., EINA_TRUE))... so what's the point, why not use > evas_object_hide(...) instead? > > Next, if we call evas_object_show(...) on a withdrawn window, should it be > unwithdrawn too? This is how it works right now on X11 engine, but is that > correct? Or should you be required to call elm_win_withdrawn_set(..., > EINA_FALSE)? > > Essentially, I'm asking because I want to make sure it's consistent (which > it's not) and correct across engines (e.g. X11 vs. Wayland), or should it be? > As Tom basically stated on IRC, this probably shouldn't even be logic that > is specific to any engine, rather it's a general thing. > > Finally, the clear definition of a withdrawn window should be added to the > docs. > > ---- > U. Artie > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > -- Robert Heller -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software -- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel