Re: Tree Iter: Text out of pango markup

2005-02-03 Thread A. Pagaltzis
* muppet <[EMAIL PROTECTED]> [2005-02-04 03:45]: > All you really want to do, though, is strip tags, so even > pango_parse_markup() would be overkill for you. Things like > $markup =~ s/<[^>]*>//g are what perl does best. :-) Is that sufficient in the case of Pango markup? Are there no edge case

Reset theme

2005-02-03 Thread Peter Simon
Hi All, When I change the theme in the program - & of course reload the main window - some elements, which the new theme doesn't contain, will not be overwritten. I think before I load the new theme I should reset the theme to the default and after load the new one. If there's an idea how to r

Re: Tree Iter: Text out of pango markup

2005-02-03 Thread muppet
On Feb 3, 2005, at 8:53 AM, Dirk van der Walt wrote: Is there an easy way to get just the text that is displayed from the iter? ... I've thought of filtering it out via a regexp, if all else fails. So far as i know, that's the only way. The C code for GtkCellRendererText uses pango_parse_markup(

Re: Frame Buffer Support

2005-02-03 Thread muppet
On Feb 3, 2005, at 6:53 PM, Raul Dias wrote: On Thu, 2005-02-03 at 16:43 -0500, muppet wrote: The easiest solution is to install Gtk2 for X11 and FB in different prefixes, and use the PERL5LIB env var to switch between them. (Sandboxes, essentially; see the README with Gtk2.) AFAIU, there is an

Re: Frame Buffer Support

2005-02-03 Thread Raul Dias
On Thu, 2005-02-03 at 16:43 -0500, muppet wrote: > Torsten Schoenfeld said: > > On Thu, 2005-02-03 at 18:41 -0200, Raul Dias wrote: > > > >> If so, can I use the same Modules (Gtk2.pm) from X11 or do I need a > >> separate module compile only for FB? > > > > No, I think the same Gtk2.pm installatio

Re: Frame Buffer Support

2005-02-03 Thread muppet
Torsten Schoenfeld said: > On Thu, 2005-02-03 at 18:41 -0200, Raul Dias wrote: > >> If so, can I use the same Modules (Gtk2.pm) from X11 or do I need a >> separate module compile only for FB? > > No, I think the same Gtk2.pm installation will work. Actually, i don't think so. Gtk2.pm is going to

Re: Frame Buffer Support

2005-02-03 Thread Torsten Schoenfeld
On Thu, 2005-02-03 at 22:00 +0100, Torsten Schoenfeld wrote: > > If so, can I use the same Modules (Gtk2.pm) from X11 or do I need a > > separate module compile only for FB? > > No, I think the same Gtk2.pm installation will work. I think I'll have to take that back. When compiled against a gtk

Re: Frame Buffer Support

2005-02-03 Thread Torsten Schoenfeld
On Thu, 2005-02-03 at 18:41 -0200, Raul Dias wrote: > Does Gtk2 supports/can be compiled with framebuffer support? AFAIK, all it takes is a gtk+ compiled with framebuffer support. The gtk+ and most of the gdk API is backend-agnostic. We don't wrap the stuff from gdkfb.h, but I don't think you'l

Frame Buffer Support

2005-02-03 Thread Raul Dias
Hi, Does Gtk2 supports/can be compiled with framebuffer support? If so, can I use the same Modules (Gtk2.pm) from X11 or do I need a separate module compile only for FB? If it is possible with a separete recompilation is there any name space separation from the X11 version? Is there something p

Tree Iter: Text out of pango markup

2005-02-03 Thread Dirk van der Walt
Hi, I've created a treeview, and are linking the "markup" attribute to a column in my store with pango markup text. eg: #in data store {label => "Suiwel", pix => $suiwel, children => [EMAIL PROTECTED], #and linking the attribute $coll_food->add_a

Re: Gtk2::Ex::TreeMaker - 0.04 is now available !

2005-02-03 Thread Christian Borup
On Wed, 2005-02-02 at 19:09 -0800, ofey aikon wrote: > Some documentation and a screenshot of this widget are available at > http://ofey.blogspot.com/2005_02_01_ofey_archive.html Looks neat. I'm looking forward to playing with it. ./borup ___ gtk-perl-