Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-26 Thread Massimiliano Calamelli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 25 Nov 2007 18:36:46 -0500
Hisham Mardam Bey [EMAIL PROTECTED] wrote:

 Are the XML output formats still the same? If so, we're not affected,
 if not, and we want to stay compatible, we have to update Enhance to
 use the new format.

It seems that there's differences, googling i found this doc

http://library.gnome.org/devel/gtk/2.12/gtk-migrating-GtkBuilder.html

My 2 cents

Massimiliano
- -- 
Massimiliano Calamelli
http://mcalamelli.netsons.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFHSoMNleGEL56NNP4RAh43AKCMomY5GK/HgOU5S70Zu8nIvgIp+ACfXrEE
w0YoLGybZFB9ZIh9Mhgy8Kg=
=r4W1
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-25 Thread Daniel Kasak
On Fri, 2007-11-23 at 18:15 +0200, Chady Kassouf wrote:

 Just a quick update regarding this.
 It turns out it's not as trivial as I first thought it was.
 I did write the bindings, and it all works, but I hit a speed bump:
 signal handling is done in Enhance through dlsym which won't work in
 a perl script context.
 
 
 What probably needs to be done is provide a generic signal handling
 function in the XS code, and then use some other way to handle events
 inside perl... but that still needs some thinking to become a
 reality. 

Ah. Bummer. I don't think I can help with any of this - I'm only vaguely
aware of what you're talking about. But anyway, it sounds like I should
probably start by learning some XS. I've bookmarked some pages to read.

Also, libglade is being depreciated soon in favour of GtkBuilder. How
will this affect enhance?

Dan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-25 Thread Hisham Mardam Bey
On Nov 25, 2007 6:30 PM, Daniel Kasak [EMAIL PROTECTED] wrote:

 Also, libglade is being depreciated soon in favour of GtkBuilder. How
 will this affect enhance?

Are the XML output formats still the same? If so, we're not affected,
if not, and we want to stay compatible, we have to update Enhance to
use the new format.

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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-24 Thread Ogla Sungutay

Hi Chady,

I urge anyone dealing with Perl C bindings to use Inline-C. 
For testing purposes I had created minimal evas  ecore bindings,
plus some shortcuts in the Perl API level. In matter of minutes literally.

As for signals and such there should be solutions, as it is a well known
problem AFAIK, Inline-C crowd has very good knowledge and support. 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-23 Thread Chady Kassouf
On Nov 15, 2007 2:18 AM, Daniel Kasak [EMAIL PROTECTED] wrote:

 On Wed, 2007-11-14 at 11:03 +0200, Chady Kassouf wrote:

  I haven't used Enhance before, but a quick look at the source shows
  that bindings for it are simple to do, I'll have something ready for
  it soon.

 Great.



Just a quick update regarding this.
It turns out it's not as trivial as I first thought it was.
I did write the bindings, and it all works, but I hit a speed bump: signal
handling is done in Enhance through dlsym which won't work in a perl
script context.

What probably needs to be done is provide a generic signal handling function
in the XS code, and then use some other way to handle events inside perl...
but that still needs some thinking to become a reality.


-- 
Chady 'Leviathan' Kassouf
http://chady.net/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-14 Thread Chady Kassouf
On Nov 14, 2007 6:10 AM, Daniel Kasak [EMAIL PROTECTED] wrote:

 On Tue, 2007-11-13 at 21:33 -0500, Hisham Mardam Bey wrote:

  On Nov 13, 2007 9:19 PM, Daniel Kasak [EMAIL PROTECTED] wrote:
   Quite a while back, I remember reading about etk-server, that would
   create an ETK layout from a GladeXML file. What's the status of this?
 
  Enhance - allows you to use a GladeXML file to create an Etk gui.
  Works great an is already in use.

 Ah. Excellent :)

   Next, if this is working, is it also inside the realms of possibility
   that Perl bindings for this will materialise.
 
  Is very simple to add to etk-perl, or to bind in a similar fashion.
  Chady, care to comment?

 I'll await this comment ...

 I'm building all my e stuff now. If I can get the bindings built ( had
 some difficulties last time ), I'll check out the treeview stuff first,
 since it doesn't require enhance.


I haven't used Enhance before, but a quick look at the source shows that
bindings for it are simple to do, I'll have something ready for it soon.

Etk-Perl is quite usable now, but besides lack of proper documentation, it
also still has some pending TODO items.

There is an example of most of the widgets in the folder etk_test/ ,
I'm still trying to get some documentation going, I started a wiki at
http://etk-perl.chady.net/wiki/pmwiki.php but never gotten around to
actually adding contents to it, but it's still on my TODO list. So
meanwhile, if you have any specific question regarding how to get started,
you can email me directly.

Regards,

-- 
Chady 'Leviathan' Kassouf
http://chady.net/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-14 Thread Daniel Kasak
On Wed, 2007-11-14 at 11:03 +0200, Chady Kassouf wrote:

 I haven't used Enhance before, but a quick look at the source shows
 that bindings for it are simple to do, I'll have something ready for
 it soon. 

Great.

 Etk-Perl is quite usable now, but besides lack of proper
 documentation, it also still has some pending TODO items.

One thing that I had a quick look for in the etk documentation and
didn't see any mention of was a combo cell renderer for trees. Since I'm
doing database stuff, this is pretty important. I assume there are ways
to work around this ( I *mostly* understand the Gtk2-Perl
CellRendererDate example which I pinched and worked into
Gtk2::Ex::Datasheet::DBI, which basically uses a text renderer and pops
up a Calender when clicked ). 

 There is an example of most of the widgets in the folder etk_test/ ,
 I'm still trying to get some documentation going,

:) Yeah I know the feeling. Luckily I've *finally* managed to get my own
documentation completely up-to-date. It was quite a task.

  I started a wiki at http://etk-perl.chady.net/wiki/pmwiki.php but
 never gotten around to actually adding contents to it, but it's still
 on my TODO list.

Since I can't yet do any C, and haven't had any experience doing
bindings, once I get going I'll try to add documentation. One thing that
might help out greatly here is the existing Gtk2-Perl documentation.
Correct me if I'm wrong here, but I assume Etk is aiming to be as
similar to Gtk2 as possible, so it follows that Etk-Perl would be as
similar to Gtk2-Perl as possible ( when complete of course ).

  So meanwhile, if you have any specific question regarding how to get
 started, you can email me directly.

Luckily I don't have any questions that are stopping me going forward at
this point. I'm quite interested in both Enhance bindings, and combo
renderers for trees, but this stuff can wait. I've got plenty to muck
around with for now. Thanks :)

Dan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-13 Thread Hisham Mardam Bey
On Nov 13, 2007 9:19 PM, Daniel Kasak [EMAIL PROTECTED] wrote:
 Quite a while back, I remember reading about etk-server, that would
 create an ETK layout from a GladeXML file. What's the status of this?

Enhance - allows you to use a GladeXML file to create an Etk gui.
Works great an is already in use.

 Next, if this is working, is it also inside the realms of possibility
 that Perl bindings for this will materialise.

Is very simple to add to etk-perl, or to bind in a similar fashion.
Chady, care to comment?

 As you've probably figured, I'm a Perl developer, with a heap of
 GladeXML files that I'd like to be able to reuse. I'd also like to port
 2 of my projects to using ETK / EWL ... Gtk2::Ex::DBI and
 Gtk2::Ex::Datasheet::DBI ( they're database == GUI libraries, see
 http://entropy.homelinux.org/axis ).

 I will of course help out with whatever needs to be done. Last time I
 looked at the Perl-ETK stuff I had to admit I couldn't make head nor
 tail of it. But I'm getting a little more time to play around with stuff
 again, and thinking about having a 2nd attempt at it.


Chady is the current developer and maintainer of the bindings, he can
give more info.

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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ETK ( or EWL ), GladeXML, Perl

2007-11-13 Thread Daniel Kasak
On Tue, 2007-11-13 at 21:33 -0500, Hisham Mardam Bey wrote:

 On Nov 13, 2007 9:19 PM, Daniel Kasak [EMAIL PROTECTED] wrote:
  Quite a while back, I remember reading about etk-server, that would
  create an ETK layout from a GladeXML file. What's the status of this?
 
 Enhance - allows you to use a GladeXML file to create an Etk gui.
 Works great an is already in use.

Ah. Excellent :)

  Next, if this is working, is it also inside the realms of possibility
  that Perl bindings for this will materialise.
 
 Is very simple to add to etk-perl, or to bind in a similar fashion.
 Chady, care to comment?

I'll await this comment ...

I'm building all my e stuff now. If I can get the bindings built ( had
some difficulties last time ), I'll check out the treeview stuff first,
since it doesn't require enhance.

Thanks :)

Dan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel