Re: GTK+ in Linux Console with Framebuffer support

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

 



On Thu, 2003-08-21 at 09:22, Michael L Torrie wrote:
> On Thu, 2003-08-21 at 05:30, suriya mohan wrote:
> > Hi all,
> >     I had compiled the vanilla kernel 2.4.20 with frame buffer 
> > device
> > support. I had executed GTK+ programs using DirectFB. What I want 
> > is
> > to execute GTK+ programs without using DirectFB in Linux Console. 
> > Say
> > suppose I coded a program which on execution display a gtk widget 
> > with
> > command buttons. I should get that widget when I execute the 
> > program
> > in linux console. And then as usual events can be triggered. Is 
> > this
> > possible ? GTK widgets in Framebuffer without using DirectFB. If 
> > so
> > how to do this ?
> 
> Isn't that a bit like saying I want use vesa to draw graphics without
> using vesa?  DirectFB is the framebuffer API that GTK/FB uses.  Without
> DirectFB you have no method of writing to the framebuffer.  So far as I
> know there is no other framebuffer api that you can use except DirectFB
> for gtk.


Well, unless I misunderstand what you're trying to do, you can using
GtkFB (http://developer.gnome.org/doc/API/2.2/gtk/gtk-framebuffer.html).
Now I don't know why you want you use something else, but I would
suggest DirectFB simply because it is better at what it does than GtkFB.
It offers things like hardware graphics acceleration and puts IO in a
seperate thread.


> 
> That said, let me put in a plug for using X11 instead of FB.  X11 can be
> very light (like the kdrive X server for handhelds) and faster than a
> framebuffer. 
> 
> I'm not sure what you are talking about with the events triggering on
> the console and things.  Perhaps clarify what you are looking for.
> 
> Michael
> 
> > 
> > With Regards,
> > S.Suriya Mohan
> > 
> > ___________________________________________________
> > Meet your old school or college friends from
> > 1 Million + database...
> > Click here to reunite www.batchmates.com/rediff.asp
> > 
> > 
> > _______________________________________________
> > 
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
Peter Gasper <pgasper@xxxxxxxxxxxxxxxxxxx>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux