[E-devel] SW development with EFL

2007-06-13 Thread Alin Popa
Hello all,

I was looking for a while for a good GUI toolkit, free, open sorce and most 
importat GPL-free. The EVAS ideea is one of the best, but i am asking if it 
is also practical in sense of time efficient for developer and hardware 
resorces usage. What about ETK? how complete the API will be (=~GTK)?

Thanks,
Alin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Shelf stacking behavior and invisible shelves

2007-06-13 Thread Nikolas Arend
Hi,

I have a doubt about the stacking behavior of e's shelves. There is 
Above Everything, Below Windows, Below Everything, and windows can 
be allowed to overlap the shelf or not. I like the invisible style and 
use it even for one of my shelves which is auto-hiding. The current 
behavior is that when an invisible shelf is set to be above everything, 
it becomes not only transparent, but rather non-existent in the sense 
that any mouse interaction seems to be suppressed (e.g. right-click on 
it has no effect in terms of bringing up the shelves popdown menu shelf 
0 - Begin Moving/Resizing Items| etc.). That has the consequence 
that for an auto-hiding shelf, the few pixels of the boarder that remain 
unhidden to trigger the unhiding when hovered over with the mouse are 
not accessible and prevent the shelf from coming up again. I cannot, for 
example, use the default theme with an invisible and auto-hidden shelf 
that contains an ibar, since the aforementioned boarder for that theme 
is so thin.
On the other hand, if the stacking is set to Below Everything, the 
shelf is responsive to mouse clicks and hovering and therefore, unhiding 
it is not an issue. Unfortunately, the shelf will of course unhide below 
any window, which makes it more or less useless for me with these settings.
Shouldn't this behaviour be reversed (at least for invisible shelves), 
i.e. Above Everything makes invisible shelves react to the mouse and 
Below Everything doesn't? Is there a technical reason for the current 
implementation?

Hope I could make myself clear,

best regards,   Nick.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] SW development with EFL

2007-06-13 Thread Hisham Mardam Bey
On 6/13/07, Alin Popa [EMAIL PROTECTED] wrote:
 Hello all,

 I was looking for a while for a good GUI toolkit, free, open sorce and most
 importat GPL-free. The EVAS ideea is one of the best, but i am asking if it
 is also practical in sense of time efficient for developer and hardware
 resorces usage. What about ETK? how complete the API will be (=~GTK)?


Etk's API is pretty much complete and similar to GTK's. There are lots
of working apps already out there including an image viewer, audio
ripper, file manager, music player, and others.

There's also a lib (enhance) that will allow you to design a gui in
glade and use it in an Etk app, and Evolve, a middle-ware Edje like
language (and an equivalent glade like tool, which is still in dev
though) to ease things for you.

Feel free to hop by #etk on irc.freenode.net for some more information and help.

Some Etk screenshots:

http://room42.hisham.cc/shots/modular9_main_eq_list2.png
http://room42.hisham.cc/shots/2007.06.02.evolve8.png
http://www.deviantart.com/deviation/39020399/
http://room42.hisham.cc/shots/2007.05.29.evolve4.png

-- 
Hisham Mardam Bey
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] SW development with EFL

2007-06-13 Thread Stephen Houston
A different coding philosophy and api was used to create EWL, another evas
toolkit.  Try both(etk and ewl) out for appearance and for performance and
choose which you like best.

On 6/13/07, Alin Popa [EMAIL PROTECTED] wrote:

 Hello all,

 I was looking for a while for a good GUI toolkit, free, open sorce and
 most
 importat GPL-free. The EVAS ideea is one of the best, but i am asking if
 it
 is also practical in sense of time efficient for developer and hardware
 resorces usage. What about ETK? how complete the API will be (=~GTK)?

 Thanks,
 Alin

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] skip pager property and vdesk drag and drop

2007-06-13 Thread lok
Hi,

I was working on two things recently.
The first one was the skip pager property, raster was faster than me adding it
to the pager, but it still miss from the border menu. The patch change the
Skip Window List into a Skip menu with two subelements Window List and
Pager.

The second one new drag to the pager that allow to drag a vdesk from the pager
to a pager. This will switch the two vdesks (moving all the windows from one to
the other, and also switching there name and background property). By default
this drag is unset. I find it helpful to reorganize the desktop order.

lokIndex: pager/e_mod_config.c
===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.30
diff -u -u -r1.30 e_mod_config.c
--- pager/e_mod_config.c	19 Apr 2007 16:57:47 -	1.30
+++ pager/e_mod_config.c	14 Jun 2007 02:15:17 -
@@ -5,7 +5,8 @@
 enum _Pager_Grab_Button
 {
GRAB_BUTTON_DRAG,
-   GRAB_BUTTON_NOPLACE
+   GRAB_BUTTON_NOPLACE,
+   GRAB_BUTTON_DESK
 };
 
 struct _E_Config_Dialog_Data
@@ -16,8 +17,9 @@
int popup_urgent_stick;
double popup_urgent_speed;
int drag_resist;
-   unsigned char btn_drag;
-   unsigned char btn_noplace;
+   unsigned int btn_drag;
+   unsigned int btn_noplace;
+   unsigned int btn_desk;
int flip_desk;
 
struct {
@@ -32,6 +34,7 @@
   Evas_Object *o_urgent_speed;
   Evas_Object *o_btn1;
   Evas_Object *o_btn2;
+  Evas_Object *o_btn3;
} gui;
 };
 
@@ -85,6 +88,7 @@
cfdata-drag_resist = pager_config-drag_resist;
cfdata-btn_drag = pager_config-btn_drag;
cfdata-btn_noplace = pager_config-btn_noplace;
+   cfdata-btn_desk = pager_config-btn_desk;
cfdata-flip_desk = pager_config-flip_desk;
 }
 
@@ -144,17 +148,22 @@
e_widget_frametable_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 1);
ob = e_widget_label_add(evas, _(Drag and Drop button (Keeps rel. loc.)));
e_widget_frametable_object_append(of, ob, 1, 3, 1, 1, 1, 1, 1, 1);
+   ob = e_widget_label_add(evas, _(Drag whole desktop (Move every windowsof a desk)));
+   e_widget_frametable_object_append(of, ob, 1, 4, 1, 1, 1, 1, 1, 1);
ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, (void *)GRAB_BUTTON_DRAG, cfdata);
e_widget_frametable_object_append(of, ob, 2, 2, 1, 1, 1, 1, 0, 0);
cfdata-gui.o_btn1 = ob;
ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, (void *)GRAB_BUTTON_NOPLACE, cfdata);
e_widget_frametable_object_append(of, ob, 2, 3, 1, 1, 1, 1, 0, 0);
cfdata-gui.o_btn2 = ob;
+   ob = e_widget_button_add(evas, _(Click to set), NULL, _grab_wnd_show, (void *)GRAB_BUTTON_DESK, cfdata);
+   e_widget_frametable_object_append(of, ob, 2, 4, 1, 1, 1, 1, 0, 0);
+   cfdata-gui.o_btn3 = ob;
_advanced_update_button_label(cfdata);
ob = e_widget_label_add(evas, _(Resistance to dragging));
-   e_widget_frametable_object_append(of, ob, 1, 4, 1, 1, 1, 1, 0, 0);
+   e_widget_frametable_object_append(of, ob, 1, 5, 1, 1, 1, 1, 0, 0);
ob = e_widget_slider_add(evas, 1, 0, _(%.0f px), 0.0, 10.0, 1.0, 0, NULL, (cfdata-drag_resist), 200);
-   e_widget_frametable_object_append(of, ob, 1, 5, 2, 1, 1, 1, 0, 0);
+   e_widget_frametable_object_append(of, ob, 1, 6, 2, 1, 1, 1, 0, 0);
e_widget_list_object_append(o, of, 1, 1, 0.5);
 
of = e_widget_framelist_add(evas, _(Pager Popup Settings), 0);   
@@ -196,6 +205,7 @@
pager_config-drag_resist = cfdata-drag_resist;
pager_config-btn_drag = cfdata-btn_drag;
pager_config-btn_noplace = cfdata-btn_noplace;
+   pager_config-btn_desk = cfdata-btn_desk;
pager_config-flip_desk = cfdata-flip_desk;
_pager_cb_config_updated();
e_config_save_queue();
@@ -218,6 +228,12 @@
else
  snprintf(label, sizeof(label), _(Click to set));
e_widget_button_label_set(cfdata-gui.o_btn2, label);
+   
+   if (cfdata-btn_desk)
+ snprintf(label, sizeof(label), _(Button %i), cfdata-btn_desk);
+   else
+ snprintf(label, sizeof(label), _(Click to set));
+   e_widget_button_label_set(cfdata-gui.o_btn3, label);
 }
 
 static void
@@ -231,6 +247,8 @@
 
if ((Pager_Grab_Button)data1 == GRAB_BUTTON_DRAG)
  cfdata-grab.btn = 1;
+   else if ((Pager_Grab_Button)data1 == GRAB_BUTTON_NOPLACE)
+ cfdata-grab.btn = 2;
else
  cfdata-grab.btn = 0;
 
@@ -290,8 +308,10 @@
  {
 	if (cfdata-grab.btn == 1)
 	  cfdata-btn_drag = ev-button;
-	else
+	else if (cfdata-grab.btn == 2)
 	  cfdata-btn_noplace = ev-button;
+	else
+	  cfdata-btn_desk = ev-button;
  }
else
  {
@@ -320,8 +340,10 @@
  {
 	if (cfdata-grab.btn == 1)
 	  cfdata-btn_drag = 0;
-	else
+	else if (cfdata-grab.btn == 2)
 	  cfdata-btn_noplace = 0;
+	else
+	  cfdata-btn_desk = 0;
 	_grab_wnd_hide(cfdata);
  }
return 1;
Index: pager/e_mod_main.c
===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.213
diff