On Sat, 1 Feb 2014 11:03:28 -0500 Robert Heller <hel...@deepsoft.com> said:

> OK, next question.  evas_object_move() does not seem to be able to 'move' 
> *windows*.  I can't find either a elm_ or evas_ function that sets the 
> position of a *window*.  Is there some function that does this?  If so, where 
> is it?  Or is there some other magic that does this?

works for me - i just added some tests for this to elementary window states
tests. works like a charm. see commit: 57f04c5c28cbe21801e70eb4d61e535d498326ed

https://git.enlightenment.org/core/elementary.git/commit/?id=57f04c5c28cbe21801e70eb4d61e535d498326ed

i'm sitting here clicking the move to 20 20 and move to 0 0 buttons and the
window does as directed - both in override redirect test and the normal managed
test.

> > 
> > > > > static
> > > > > void event_cb(void *data, Evas_Object *obj, void
> > > > > *event_info) {    
> > > > >     Evas_Coord relx, rely, topx, topy, rootx, rooty, w,
> > > > > h; Evas_Object *top = elm_object_top_widget_get ( obj
> > > > > ); 
> > > > >     evas_object_geometry_get (obj, &relx, &rely, &w,
> > > > > &h); evas_object_geometry_get (top, &topx, &topy, NULL,
> > > > > NULL); rootx = topx +
> > > > > relx; rooty = topy + rely;                                
> > > > > 
> > > > >     ...
> > > > > }
> > > > > 
> > > > > Evas_Object *button = elm_button_add(win);
> > > > > evas_object_smart_callback_add(button, "clicked", event_cb,
> > > > > mumble);    
> > > > > 
> > > > > > 
> > > > > > > --
> > > > > > > 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
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------------------------------------------------------
> > > > > > > WatchGuard Dimension instantly turns raw network data into
> > > > > > > actionable security intelligence. It gives you real-time visual
> > > > > > > feedback on key security issues and trends.  Skip the complicated
> > > > > > > setup - simply import a virtual appliance and go from zero to
> > > > > > > informed in seconds.
> > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> > > > > > > _______________________________________________
> > > > > > > enlightenment-users mailing list
> > > > > > > enlightenment-users@lists.sourceforge.net
> > > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > > > > > 
> > > > > > ------------------------------------------------------------------------------
> > > > > > WatchGuard Dimension instantly turns raw network data into
> > > > > > actionable security intelligence. It gives you real-time visual
> > > > > > feedback on key security issues and trends.  Skip the complicated
> > > > > > setup - simply import a virtual appliance and go from zero to
> > > > > > informed in seconds.
> > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> > > > > > _______________________________________________ enlightenment-users
> > > > > > mailing list enlightenment-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > > > > > 
> > > > > >                                                                     
> > > > > >                              
> > > > > 
> > > > > -- 
> > > > > 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
> > > > > 
> > > > > 
> > > > >                                                                       
> > > > >                                                       
> > > > > 
> > > > > ------------------------------------------------------------------------------
> > > > > WatchGuard Dimension instantly turns raw network data into actionable 
> > > > > security intelligence. It gives you real-time visual feedback on key
> > > > > security issues and trends.  Skip the complicated setup - simply
> > > > > import a virtual appliance and go from zero to informed in seconds.
> > > > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > enlightenment-devel mailing list
> > > > > enlightenment-de...@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
> > > 
> > > 
> > >                           
> > > 
> > > ------------------------------------------------------------------------------
> > > WatchGuard Dimension instantly turns raw network data into actionable 
> > > security intelligence. It gives you real-time visual feedback on key
> > > security issues and trends.  Skip the complicated setup - simply import
> > > a virtual appliance and go from zero to informed in seconds.
> > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > enlightenment-users mailing list
> > > enlightenment-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > > 
> > 
> > 
> 
> -- 
> 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
> 
> 
>                                                          
> 
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable 
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to