Re: Programming style: using Classes or inline

2006-03-15 Thread Daniel Kasak
David wrote: I suppose this is more of a Perl question, but since I'm working with Gtk, maybe it will pass.. :) I'm quite new to Perl programming, and for starters, I have built a gtk-perl interface to my PostGresql business records database. Cool. That's almost what I'm doing, but with MySQL

Programming style: using Classes or inline

2006-03-15 Thread David
I suppose this is more of a Perl question, but since I'm working with Gtk, maybe it will pass.. :) I'm quite new to Perl programming, and for starters, I have built a gtk-perl interface to my PostGresql business records database. Some of my windows are built with glade using libglade and some are

Re: Correct use of pixbuf, pixmap, and image?

2006-03-15 Thread Dov Grobgeld
For a much simpler example than gimp you may want to have a look at my two projects gtk_image_viewer and giv, both which currently are available only through the gnome cvs. They are an example of how to do very efficient pixel display and manipulation. The server holding the perl binding for the Gt

Re: exporting textbuffer formatting

2006-03-15 Thread muppet
On Mar 15, 2006, at 4:44 AM, Fabrizio Lanza wrote: an HTML export filter? Note that this sort of thing could be very useful with the new serialization API that's being added to TextBuffer in gtk+ 2.10. This stuff will allow you to register your own serialization formats, with perl call

Re: exporting textbuffer formatting

2006-03-15 Thread muppet
On Mar 15, 2006, at 4:44 AM, Fabrizio Lanza wrote: A couple of other questions. I'm writing a filter that will load an HTML document in a TextView (this could be useful to the community also; I could not find such a thing yet). A problem I met with the export filter, is when tags overl

Re: 'fill' justification does nothing

2006-03-15 Thread Dov Grobgeld
Yes that behaviour is unfortunately expected. The fill option has never been implemented in the GtkTextView nor in Pango on which it depends. Dov On 3/15/06, Fabrizio Lanza <[EMAIL PROTECTED]> wrote: > Hello, > I'm developing an application in GTK2::Perl. I noticed a possible bug. Maybe > someb

exporting textbuffer formatting

2006-03-15 Thread Fabrizio Lanza
 A couple of other questions. I'm writing a filter that will load an HTML document in a TextView (this could be useful to the community also; I could not find such a thing yet). A problem I met with the export filter, is when tags overlap. Example: there is a div align="center" which includes a cou

'fill' justification does nothing

2006-03-15 Thread Fabrizio Lanza
 Hello,I'm developing an application in GTK2::Perl. I noticed a possible bug. Maybe somebody can tell me more.-If I set the justification on the TextView to 'fill', nothing happens (justification appears 'left'). -If I add a tag in a TextBuffer with the 'fill' justification, nothing happens (justif

Re: glade is preferred?

2006-03-15 Thread Grant McLean
On Mon, 2006-03-13 at 17:55 +0700, Beast wrote: > Is creating UI with glade is now the preferred way to make GUI > application using perl-gtk (or any other gtk binding language)? what is > the pros and cons? It certainly is convenient. It means you don't have to write code to create your GUI.