> - Original Message -
>> From: "Stefan Salewski" <m...@ssalewski.de>
>> 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 GtkTextB
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,
> 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
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 sa
Test you stuff in python first, then move it to c/c++ if need be. This
allows for rapid testing of what you really need to do. Whatever you
are trying to do, it is possible, for complete menubar, menus, menuitems
on any platform. Windowing APIs for windows, linux, mac all can handle
this.
Hi all,
In the Gtk3 application I am writing, I'd wish show to the user the
erroneous fields by setting the border color of the GtkEntry widgets
to a specific (e.g. red) color.
What I've done:
- allocate a new CSSProvider, loads my .css file and try to apply it:
void
my_utils_entry_set_valid(
Hi all,
When working with GtkAssistant, I used to find the widgets of the pages
as children of the GtkAssistant by doing a recursive search starting
from the GtkAssistant container.
But, as of Gtk+ 3.2 (at least), I have found that GtkAssistant is now
an empty container, and widgets are to be
Hi all,
Reading this list, I see some questions which talk about threads: main
thread, event thread, and so on.
I was not conscious Gtk+ was multithreaded. I'm conscious of asynchronous code
with the mail loop and idle function (which are rather in Glib, I believe ?),
but really not of
Hi,
Is there a standard Gtk way of defining controls as read-only at runtime ?
In my user interface, I have entries, radio and toggle buttons, and
a combo list ; I would set them as read-only when the current item
cannot be updated for a reason or another.
For now, I set all these controls as
- Johannes Schmid j...@jsschmid.de a écrit :
Hi!
In the process of migrating from GnomeVFS to GVFS, I've to replace
gnome_vfs_uri_get_host_name() and gnome_vfs_uri_get_user_name()
functions.
g_get_host_name() and g_get_user_name() are your friends. Please
don't
ask such
Date: Sun, 12 Jul 2009 13:25:48 +0200 (CEST)
From: pwie...@trychlos.org
Subject: GtkAssistant flow question
To: gtk-app-devel-list@gnome.org
Hi,
I have a simple GtkAssistant with :
- one intro page
- two content pages
- one confirm page
- one summary page.
All works fine : the
Hi all,
I'm building a GtkAssistant which embeds a GtkFileChooserWidget
in one of the content pages.
My problem is when I run the assistant for the second times, the
GtkfileChooserWidget doesn't display at all. Below the sample code
which reproduces the problem :
enum {
12 matches
Mail list logo