Re: Gtk engine development



Am Thu, 08 Feb 2007 07:41:56 +0000 schrieb Ross Burton:

> On Thu, 2007-02-08 at 09:32 +1100, Daniel Kasak wrote:
> > I don't have a direct answer to your question, however I know that
> > work is being done on Etk, which aims to be API-compatible with gtk+
> > http://enlightenment.org/etk/
> 
> I just had a quick look at an Etk code example, and whilst it's
> certainly similar to GTK+, it's not API-compatible (after the obvious
> s/gtk/etk/.
> 
> http://code.google.com/p/etoolkit/wiki/HelloWorld
> 
> etk_window_new has no argument.
> etk_window_resize would be gtk_window_set_default_size
> 
> and so on.

Yes, etk is similar, but not 100% Gtk API. I don't think that API
compatibility is a goal of etk. I think they only follow the design and
naming scheme. Porting apps from gtk to etk may be easy if etk is
finished. My try is another. I simply tried to draw all widgets in evas
(and later edje) with the engine. But I've the problems described in my
first mail. So if it isn't possible to avoid the window clear before
redraw in the engine, how could I patch this in Gtk itself? Could anyone
help me to find these lines in the Gtk code?

regards
Andreas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]