Re: [E-devel] swallow question

2008-11-02 Thread MALBROUKOU Karel
Hi,

When you unswallow an object, the object will stay displayed on his
container.
You need to hide() the unswallowed object, if you dont want it to be
displayed anymore.

Regarding the new swallowed object, you must specify that you want do
display it. By default the object will be hidden. Use the method show() of
the new object to make it displayed.

On Sun, Nov 2, 2008 at 10:08 AM, flower-mei [EMAIL PROTECTED] wrote:


  hi all,

  Maybe I don't understand the  swallow and  unswallow  very  well, when I
 unswallow a part, then swallow a new part it just display nothing that is
 the current part is unswallowed  but  the new part maybe  not be swallowed
 successfully or some reason made it not displayed, I am confused  by this.
 what's  the problem?

 the code is:

  self.sub_menu = edje.Edje(self.ee.evas,
   file=self.edje_file,
   group=current_menu)

  self.main_group.part_unswallow(sub_menu_contents,self.sub_menu)
  self.sub_menu_new =  edje.Edje(self.ee.evas,
   file=self.edje_file,
   group=new_menu)
  self.main_group.part_swallow(sub_menu_contents,self.sub_menu_new)


  thanks!
 -
 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=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Karel Malbroukou
Sr. Linux Admin

PowerE2E
-
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=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] swallow question

2008-11-02 Thread Gustavo Sverzut Barbieri
On Sun, Nov 2, 2008 at 12:28 PM, MALBROUKOU Karel [EMAIL PROTECTED] wrote:
 Hi,

 When you unswallow an object, the object will stay displayed on his
 container.
 You need to hide() the unswallowed object, if you dont want it to be
 displayed anymore.

 Regarding the new swallowed object, you must specify that you want do
 display it. By default the object will be hidden. Use the method show() of
 the new object to make it displayed.

Noo...!  If you swallow an object, geometry, clipper AND
visibility are managed by edje, so after you swallow the object you
should *NOT* call show().

Possible something wrong with the way object is swallowed.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] swallow question

2008-11-01 Thread flower-mei
 
 hi all,

  Maybe I don't understand the  swallow and  unswallow  very  well, when I 
unswallow a part, then swallow a new part it just display nothing that is the 
current part is unswallowed  but  the new part maybe  not be swallowed 
successfully or some reason made it not displayed, I am confused  by this. 
what's  the problem?
 
the code is: 

 self.sub_menu = edje.Edje(self.ee.evas, 
   file=self.edje_file, 
   group=current_menu)

 self.main_group.part_unswallow(sub_menu_contents,self.sub_menu)
 self.sub_menu_new =  edje.Edje(self.ee.evas, 
   file=self.edje_file, 
   group=new_menu)
 self.main_group.part_swallow(sub_menu_contents,self.sub_menu_new)
 

 thanks! 
-
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=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel