Re: gtk_text_buffer_delete ?

2015-10-09 Thread Liam R E Quin
On Thu, 08 Oct 2015 20:59:21 +0200 Stefan Salewski wrote: > I was hoping that it could be possible to simple block input when buffer > has a maximum length, but I got that not working. Note that this can give an unpleasant user experience. It might be more helpful just to

Re: glade 3.19.0 and header bars

2015-10-09 Thread Marcus Karlsson
On Fri, Oct 09, 2015 at 06:37:02PM +0200, rastersoft wrote: > Hi all: > > Yesterday I tried to open the Glade ui files from Gedit, but glade > returned an error because they use header bars. > > I cloned the GIT repository of Glade, compiled and installed it (devel > version, 3.19.0), but it

glade 3.19.0 and header bars

2015-10-09 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all: Yesterday I tried to open the Glade ui files from Gedit, but glade returned an error because they use header bars. I cloned the GIT repository of Glade, compiled and installed it (devel version, 3.19.0), but it still shows an error

Re: TypeError in GtkWindow

2015-10-09 Thread Stefan Salewski
On Thu, 2015-10-08 at 22:05 -0300, Germán Racca wrote: > About "coor.run()", I have followed the exact steps in the official > PyGObject tutorial: > > https://python-gtk-3-tutorial.readthedocs.org/en/latest/dialogs.html#c > ustom-dialogs Good to know :-) Well, I do not know much about Python.

Re: TypeError in GtkWindow

2015-10-09 Thread Felipe Borges
As mentioned by Stefan, Coor2MASS was expecting a GtkWindow (the parent window), and you are passing a TitleBar object. Try something like this: diff --git a/q2MASS.py b/q2MASS.py index 43af88c..6b6a6d7 100644 --- a/q2MASS.py +++ b/q2MASS.py @@ -37,7 +37,7 @@ class Query2MASS(Gtk.Window):