[Glade-users] glade, opengl & fonts
- From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
- Subject: [Glade-users] glade, opengl & fonts
- Date: Mon, 17 Aug 2009 16:24:54 -0400
On Mon, Aug 17, 2009 at 4:08 PM, Peter Keller<psilord at cs.wisc.edu> wrote:
[...]
It'd be nice if I could overlay a TextWidget onto an opengl surface and
get the signals and whatnot from it when it is "in focus". ?Does such
a thing already exist?
You could look at GtkSourceView, which is what gedit uses for syntax
highlighting.
Something of a rewrite of GtkSourceView using clutter would probably
produce very good results (i.e. harnessing the opengl capabilities to
make a much more featureful source editor).
Redirecting a textwidget to a buffer and drawing over cell positions
is also probably possible, but hiding this type of rendering logic inside
a textview widget implementation itself is probably cleaner and safer.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]