Re: Template Widgets inside another GtkBuilder file

2015-10-07 Thread Victor Aurélio Santos
So the really question becomes, how to get `g_type_ensure` generated in output code when subclassing Widgets in Vala ? 2015-10-05 17:54 GMT-03:00 Victor Aurélio Santos : > Emmanuele, > >> In order to do that, you should use `g_type_ensure()` inside the > instance

Filechooserbuttons and gtk_widget_set_sensitive

2015-10-07 Thread Roger Matthews
To someone willing to help, 1) Following the example Listing 4.10 of the GTK+ Development book filechooserbuttons.c I have created a filechooser button and label, which are attached to a grid rather than a box. When clicked a "dialogue" appears, I can then navigate directories to the

Trigger a GtkEntryCompletion's popup

2015-10-07 Thread Daniel Kasak
Hi all. I have some GtkEntry widgets with a GtkEntryCompletion attached. I've set the minimum key length to 0, hoping this would make the completion's popup appear on focus in, but it doesn't. I have noticed that if I type something, then hit backspace, the popup appears. So I guess I can hook up

gtk_text_buffer_delete ?

2015-10-07 Thread Pierre Wieser
Hello, On the application I'm currently working on [1], I want limit the size of the text entered in a GtkTextBuffer to those saved in the DBMS, so 4096 chars. I so connected to the 'changed' signal of the GtkTextBuffer, and the handler is : static void on_notes_changed( GtkTextBuffer *buffer,

Re: gtk_text_buffer_delete ?

2015-10-07 Thread Pierre Wieser
> On the application I'm currently working on [1], I want limit the size of the > [...] I omit the application link, for reference ;) [1] https://github.com/trychlos/openbook/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gtk_text_buffer_delete ?

2015-10-07 Thread Jim Charlton
On 15-10-07 04:14 AM, Pierre Wieser wrote: Hello, On the application I'm currently working on [1], I want limit the size of the text entered in a GtkTextBuffer to those saved in the DBMS, so 4096 chars. I so connected to the 'changed' signal of the GtkTextBuffer, and the handler is : static

Broadway backend fails with ”can't write to client”

2015-10-07 Thread Jay Jay Billings
Everyone, I am playing with the Broadway backend on Fedora 21 and I am getting a ”can't write to client” error. It works fine with simple applications like gedit, but it hangs and prints this error on more complicated applications like Eclipse. Specifically, I get one good click or tooltip access

Re: gtk_text_buffer_delete ?

2015-10-07 Thread Stefan Salewski
On Wed, 2015-10-07 at 13:14 +0200, Pierre Wieser wrote: > Hello, > > On the application I'm currently working on [1], I want limit the size > of the > text entered in a GtkTextBuffer to those saved in the DBMS, so 4096 > chars. Seen that: http://www.gtkforums.com/viewtopic.php?t=1012 Very

Re: gtk_text_buffer_delete ?

2015-10-07 Thread Stefan Salewski
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 signal -- changed signal may be emitted again when you delete. See http://stackoverflow.com/questions/2791035/how-do-i-set-buffer-limit-for

Re: gtk_text_buffer_delete ?

2015-10-07 Thread Pierre Wieser
On Wed, 2015-10-07 at 15:05 +0200, Stefan Salewski wrote: > On Wed, 2015-10-07 at 13:14 +0200, Pierre Wieser wrote: >> Hello, >> >> On the application I'm currently working on [1], I want limit the size >> of the >> text entered in a GtkTextBuffer to those saved in the DBMS, so 4096 >> chars.

Fwd: RE: Pthread lock on g_once_init_enter (_define_type_id__volatile) **Important Information**

2015-10-07 Thread Gonzalo Aguilar Delgado
Please remove this spam address no_re...@2020mobile.com Or the one subscribed to the list. Mensaje reenviado Asunto: RE: Pthread lock on g_once_init_enter (_define_type_id__volatile) **Important Information** Fecha: 6 Oct 2015 09:36:48 +0100

Embedding GSettings schema in binary

2015-10-07 Thread George Barrett
Hi, I was curious about the possibility of adding a gschema to an application's GResources (or something similar). I'm using the GSettings API for a small command-line application that uses the keyfile GSettingsBackend, no (intentional) interaction with dconf, and feel that the need to add the

Re: Embedding GSettings schema in binary

2015-10-07 Thread Emmanuele Bassi
Hi; On 3 October 2015 at 20:45, George Barrett wrote: > Hi, I was curious about the possibility of adding a gschema to an > application's GResources (or something similar). I'm using the GSettings API > for a small command-line application that uses the keyfile GSettingsBackend,