Today I was chatting with tbf in the irc, about implementing something like:
http://www.cidadedomoble.com/smultron/a.swf
for gtksourceview. But finally he said that I should point this here as
would
be better implement it in gtk+ directly.
Here you have the chat:
tbf, I think you kind of a cairo guru, any tip to make something
like http://www.cidadedomoble.com/smultron/a.swf with cairo for
gtksourceview?
nacho: shiny
nacho: should be doable with compositing
robtaylor, any example on how to make it with compositing?
no idea about developing with compositing stuff
nacho, robtaylor: this doesn't even need composition
nacho, robtaylor: i'd just create a GtkTextTag and use this
information to do a regular animation
nacho, robtaylor: maybe even could be directly added to gtk+ by
introducing some new GtkTextTag property
GktTextTag::show-with-bling
tbf: you're the expert :)
would be great
GtkTexTag::pimp-my-tag
tbf, don't think is even neccessary create a tag, we have the start
and the end iters, what I don't know is how to create the animation
nacho: well, but you want to keep that tag highlighted
nacho: so you need this anyway
the tag is already highlighted by gtk
nacho: didn't i just say, this bling probably should be directly added
to gtk?
I mean when you select some text, that's already highlighted, I
wanna add a func in gsv to select with effect
nacho: i'd suggest you raise this topic on gtk-devel-list
ok
nacho: especially as also the theme-engine guys would like to join the
discussion
Couldn't you just start a timeout callback that changed the color
of the tag?
murrayc, that was I was thinking in the first place
but if tbf says that should go in gtk+ maybe it is better
less work to me
nacho, murrayc: first experiments could be done that way
nacho, murrayc: and the implementation in gtk would look similar
yeah
nacho, murrayc: in the end my point just is, that i would be nice if
that code would be done i a generic way
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list