Re: gtk_text_buffer_delete ?

2015-10-08 Thread Pierre Wieser
> - Original Message - >> From: "Stefan Salewski" >> Sent: Wednesday, October 7, 2015 7:36:05 PM > >> On Wed, 2015-10-07 at 13:14 +0200, Pierre Wieser wrote: >>> I so connected to the 'changed' signal of the GtkTextBuffer, >> >> Maybe try connecting to insert-text

Re: gtk_text_buffer_delete ?

2015-10-08 Thread Stefan Salewski
On Thu, 2015-10-08 at 10:30 +0200, Pierre Wieser wrote: > Oop's. Sorry ! I've clicked on the bad button !! Yes, it is sad that this trivial task is so hard, and that no one can really help. I was hoping that it could be possible to simple block input when buffer has a maximum length, but I got

Re: Vala API causing double definition ?

2015-10-08 Thread Emmanuele Bassi
Hi; You likely want to send this email to vala-list, since it has nothing to do with GTK. Ciao, Emmanuele. On Thursday, October 8, 2015, Victor Aurélio Santos < victoraur.san...@gmail.com> wrote: > Hi, consider the following Vala API file: > > namespace CAjami { > [CCode (cprefix = "io_",

close button

2015-10-08 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all: I want to fix the problem in GTK, that doesn't show the "close" button when it is put at the left side and the left panel is visible. But to do so in a consisten way I need a way of painting a standard "close" button, the one used in

TypeError in GtkWindow

2015-10-08 Thread Germán Racca
Hello guys, This is my first time posting in this list. My name is Germán, I'm from Argentina (currently living in Brazil) and I'm Astronomer. I use Fedora 22 with Gnome. I did some work with Python and Gtk+ before, but had to learn mostly everything again. I'm programming an interface to

Re: close button

2015-10-08 Thread Marcus Karlsson
On Thu, Oct 08, 2015 at 10:54:01PM +0200, rastersoft wrote: > Hi all: > > I want to fix the problem in GTK, that doesn't show the "close" button > when it is put at the left side and the left panel is visible. I'm affraid it's not clear what you mean here. What doesn't show what button? > But

Re: TypeError in GtkWindow

2015-10-08 Thread Stefan Salewski
On Thu, 2015-10-08 at 17:09 -0300, Germán Racca wrote: > --> 134 coor = Coor2MASS(self) I do not use Python, but that line seems to make no sense. Self is class TitleBar: but later you call resp = coor.run(). So I guess for coor you want something like a dialog, so you have to create it.

Vala API causing double definition ?

2015-10-08 Thread Victor Aurélio Santos
Hi, consider the following Vala API file: namespace CAjami { [CCode (cprefix = "io_", cheader_filename = "io.h")] namespace IO { [CCode (cname = "io_init")] public void init(); [CCode (cname = "io_cleanup")] public void cleanup(); } } there's something

Re: Filechooserbuttons and gtk_widget_set_sensitive

2015-10-08 Thread Stefan Salewski
On Thu, 2015-10-08 at 14:04 +1030, Roger Matthews wrote: > To someone willing to help, Of course the file chooser example from the book of Andrew Krause does not really open a file. What should it open? A Video, a picture, a text? It shows you how you can get a file path, if I remember correctly.

Re: TypeError in GtkWindow

2015-10-08 Thread Germán Racca
On 10/08/2015 06:45 PM, Stefan Salewski wrote: On Thu, 2015-10-08 at 17:09 -0300, Germán Racca wrote: --> 134 coor = Coor2MASS(self) I do not use Python, but that line seems to make no sense. Self is class TitleBar: but later you call resp = coor.run(). So I guess for coor you want

Re: close button

2015-10-08 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi: Thanks! El 08/10/15 a las 23:46, Marcus Karlsson escribió: > On Thu, Oct 08, 2015 at 10:54:01PM +0200, rastersoft wrote: >> Hi all: >> >> I want to fix the problem in GTK, that doesn't show the "close" button >> when it is put at the left