Re: [E-devel] Finding focused window

2009-04-30 Thread Gustavo Sverzut Barbieri
On Thu, Apr 30, 2009 at 12:00 PM, Sergey Semernin
 wrote:
> Hello, All.
>
> Help please, how correctly find pointer to focused window?
> e_border_focused_get gives me pointer to E_Border* and how find window object
> from it?

What do you want to do? But e_border is what you generally consider a
toplevel window :-) It contains the window decorations (if any),
actions like move, resize, center, show, hide...

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Finding focused window

2009-04-30 Thread Sergey Semernin
Hello, All.

In message from 1 мая 2009 Gustavo Sverzut Barbieri wrote:

> > Help please, how correctly find pointer to focused window?
> > e_border_focused_get gives me pointer to E_Border* and how find window
> > object from it?
>
> What do you want to do? But e_border is what you generally consider a
> toplevel window :-) It contains the window decorations (if any),
> actions like move, resize, center, show, hide...

I try to get access to focused window's internal widgets, nor border and 
decorations. For example: check the smart type ID, then find needed widget 
and check it's state.


Sincerely yours, Sergey.

--
Jabber/XMPP: sergey.semer...@gmail.com
Cellular: +7-909-206-5992

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Finding focused window

2009-05-01 Thread Gustavo Sverzut Barbieri
On Fri, May 1, 2009 at 2:55 AM, Sergey Semernin
 wrote:
> Hello, All.
>
> In message from 1 мая 2009 Gustavo Sverzut Barbieri wrote:
>
>> > Help please, how correctly find pointer to focused window?
>> > e_border_focused_get gives me pointer to E_Border* and how find window
>> > object from it?
>>
>> What do you want to do? But e_border is what you generally consider a
>> toplevel window :-) It contains the window decorations (if any),
>> actions like move, resize, center, show, hide...
>
> I try to get access to focused window's internal widgets, nor border and
> decorations. For example: check the smart type ID, then find needed widget
> and check it's state.

that's bit bad, avoid going that route.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel