In theory you could use the set gtk theme pathnames to generate a theme.

eg; themes/BlueCurve/gtk-2.0/buttons/button-default.png

then use that file for a button base. You could then go and parse the
index.theme for the borders for that file and set it.

This would require a bash script to parse, a template theme that can
have files dropped into it by the script, then have the same bash
script roll it into an edje.

The huge flaw in those however, is that it would only work with pixmap
themes, and only if they are complete themes. GTK themes have a
tendency for being semi-complete and have bits missing. That being
said, Im sure some creative spark could find a way to handle missing
files and pixmaps.


-Toma.



2009/8/28 Wido <[email protected]>:
> I don't know about edje files, but wouldn't be possible to hack edje
> structures to grab gtk info from somewhere?
>
> changing from
> ~/theme/image/clock.png
> to
> /usr/share/gtk/clock.png
>
> or somethink alike, so it can grab whatever is in that path?
>
> 2009/8/27 Carsten Haitzler <[email protected]>
>
>> On Wed, 26 Aug 2009 17:51:02 -0300 Wido <[email protected]> said:
>>
>> > would it be possible to write a theme that copys the gtk or qt one?
>> > something like gtk-qt-engine, that makes gtk aps looks like qt ones
>>
>> no, as themes are data files and have no access to anything outside the
>> .edj
>> file they are in - for security.
>>
>>
>> --
>> ------------- Codito, ergo sum - "I code, therefore I am" --------------
>> The Rasterman (Carsten Haitzler)    [email protected]
>>
>>
>
>
> --
> Wido
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to