Re: [E-devel] Fwd: EWL in a Evas/Edje application?

2008-10-04 Thread Diogo Dutra
Thank you guys!

I dont swallowed the widget into the evas, this was my mistake.

the function ewl_embed_canvas_set return void* and I think this was
void... so I dont take the evas_object pointer and dont swallowed it
to the evas.

The example of ewl_embed_test.c was very helpfull, it bring me the
light of the swallowed widget.

Now it works!

On Sat, Oct 4, 2008 at 1:40 PM, Nathan Ingersoll <[EMAIL PROTECTED]> wrote:
> Forgot to reply-all.
>
>
> -- Forwarded message --
> From: Nathan Ingersoll <[EMAIL PROTECTED]>
> Date: Sat, Oct 4, 2008 at 11:40 AM
> Subject: Re: [E-devel] EWL in a Evas/Edje application?
> To: Diogo Dutra <[EMAIL PROTECTED]>
>
>
> On Sat, Oct 4, 2008 at 10:56 AM, Diogo Dutra <[EMAIL PROTECTED]> wrote:
>> Im sorry, I dont gave the information correctly.
>> I will explain better.
>> I put a EWL widget in the evas/edje application, the widget appears,
>> but is not usable.
>> I want to put a entrybox widget in my application, to the user type 
>> something..
>> In etk I put the entrybox easily and works fine, but in EWL not.
>> The application part of evas/edje works fine.
>>
>> My ask is: Have a way to put a EWL widget in a evas/edje application?
>
> We have an example of how to accomplish this in the source tree. Take
> a  look at ewl/src/bin/ewl_embed_test.c for an example.
>
> Nathan
>
>> On Sat, Oct 4, 2008 at 12:29 PM, Gustavo Sverzut Barbieri
>> <[EMAIL PROTECTED]> wrote:
>>> On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra <[EMAIL PROTECTED]> wrote:
 Hi,
 I am creating a app in evas/edje, but I would to put some widgets in
 the app, I did it, but the widget is not accessible, a button for
 example is not clickable.
 Have a way to do this!? If yes, please tell me!

 I tested ETK and works ok, but I want to use EWL because portability,
 the EWL was ported to windows, but ETK not.. (I think), if ETK run in
 windows I will use it.
>>>
>>> not much info here, but I guess your SWALLOW part is marked with
>>> "mouse_events: 0", thus blocking events on the swallowed button.
>>>
>>> Another option is that you left an object on top of this button that
>>> gets events, maybe a transparent rectangle with "mouse_events: 1" ?
>>>
>>>
>>> --
>>> Gustavo Sverzut Barbieri
>>> http://profusion.mobi embedded systems
>>> --
>>> MSN: [EMAIL PROTECTED]
>>> Skype: gsbarbieri
>>> Mobile: +55 (19) 9225-2202
>>>
>>
>>
>>
>> --
>> ===
>>
>> Diogo Dutra Albuquerque
>>
>> Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
===

Diogo Dutra Albuquerque

Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Fwd: EWL in a Evas/Edje application?

2008-10-04 Thread Nathan Ingersoll
Forgot to reply-all.


-- Forwarded message --
From: Nathan Ingersoll <[EMAIL PROTECTED]>
Date: Sat, Oct 4, 2008 at 11:40 AM
Subject: Re: [E-devel] EWL in a Evas/Edje application?
To: Diogo Dutra <[EMAIL PROTECTED]>


On Sat, Oct 4, 2008 at 10:56 AM, Diogo Dutra <[EMAIL PROTECTED]> wrote:
> Im sorry, I dont gave the information correctly.
> I will explain better.
> I put a EWL widget in the evas/edje application, the widget appears,
> but is not usable.
> I want to put a entrybox widget in my application, to the user type 
> something..
> In etk I put the entrybox easily and works fine, but in EWL not.
> The application part of evas/edje works fine.
>
> My ask is: Have a way to put a EWL widget in a evas/edje application?

We have an example of how to accomplish this in the source tree. Take
a  look at ewl/src/bin/ewl_embed_test.c for an example.

Nathan

> On Sat, Oct 4, 2008 at 12:29 PM, Gustavo Sverzut Barbieri
> <[EMAIL PROTECTED]> wrote:
>> On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> I am creating a app in evas/edje, but I would to put some widgets in
>>> the app, I did it, but the widget is not accessible, a button for
>>> example is not clickable.
>>> Have a way to do this!? If yes, please tell me!
>>>
>>> I tested ETK and works ok, but I want to use EWL because portability,
>>> the EWL was ported to windows, but ETK not.. (I think), if ETK run in
>>> windows I will use it.
>>
>> not much info here, but I guess your SWALLOW part is marked with
>> "mouse_events: 0", thus blocking events on the swallowed button.
>>
>> Another option is that you left an object on top of this button that
>> gets events, maybe a transparent rectangle with "mouse_events: 1" ?
>>
>>
>> --
>> Gustavo Sverzut Barbieri
>> http://profusion.mobi embedded systems
>> --
>> MSN: [EMAIL PROTECTED]
>> Skype: gsbarbieri
>> Mobile: +55 (19) 9225-2202
>>
>
>
>
> --
> ===
>
> Diogo Dutra Albuquerque
>
> Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel