a GdkKeymap
> other than getting this "default for display" keymap.
>
> Is there something I've missed here?
>
> Richard Shann
I've created a minimal example of the problem:
//gcc -Wall KeyMap-test.c -o KeyMapTest `pkg-config --cflags --libs gtk+-3.0`
//Tested on debian s
me to look at the documentation and I see that there is
nothing to suggest you can access the GdkKeymap that the GtkWidgets are
using - indeed there is nothing to suggest you can create a GdkKeymap
other than getting this "default for display" keymap.
Is there something I've missed
> Date: Sun, 09 Sep 2018 20:21:54 +0100
> From: Richard Shann
> To: gtk-app-devel-list@gnome.org
> Subject: g_log_set_fatal_mask () does not appear to be present
> Message-ID: <1536520914.1394.1.ca...@rshann.plus.com>
> Content-Type: text/plain; charset=&qu
I used to call
g_log_set_fatal_mask ()
via gdb to catch the place where critical errors happen. But now I get
(gdb) call g_log_set_fatal_mask ("Gtk", 0x)
No symbol "g_log_set_fatal_mask" in current context.
any ideas?
Richard Shann
___
On Mon, 2018-06-04 at 13:24 +0100, Emmanuele Bassi wrote:
>
>
> On 4 June 2018 at 13:06, Richard Shann
> wrote:
> > Hi,
> >
> > I have seen GtkFileChooser for getting a file from the user, but
> > how to
> > get a directory (fol
Hi,
I have seen GtkFileChooser for getting a file from the user, but how to
get a directory (folder)?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sun, 2017-12-17 at 17:54 -0500, cecas...@aol.com wrote:
>
> Hi Richard,
>
> This sounds similar to the problem Dino Aljević had in "Scrolled
> TreeView and size allocation warnings" in this list in September?
>
> I can get the warning
>
> "(treeview4:3830): Gtk-WARNING **: Allocating size
main the warning is not converted into a fatal error.
I've tried
call g_log_set_fatal_mask ("Gtk", 0x)
as well, to no avail.
This is with Gtk version runtime: 3.22.11, compiled against: 3.22.11
Any suggestions to track down the source of the trouble gratefully
On Wed, 2017-05-10 at 18:34 +0100, Emmanuele Bassi wrote:
> On 2017-05-08 at 13:57, Richard Shann wrote:
> > On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote:
>
> > > > But I will have to wait for
> > > > Debian to catch up with
On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote:
> On 8 May 2017 at 12:04, Richard Shann <rich...@rshann.plus.com> wrote:
>
> >> But I'd strongly recommend you use CSS classes instead of styling the
> >> bare element name.
> >>
> >>
On Mon, 2017-05-08 at 08:42 +0100, Emmanuele Bassi wrote:
> On 7 May 2017 at 20:57, Richard Shann <rich...@rshann.plus.com> wrote:
> > On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote:
> >>
> >> On Sun, 7 May 2017 at 19:53, Richard Shann <
On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote:
>
> On Sun, 7 May 2017 at 19:53, Richard Shann <rich...@rshann.plus.com>
> wrote:
>
> On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote:
> > On 7 May 2017 at 16:52, Richard Shann
>
On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote:
> On 7 May 2017 at 16:52, Richard Shann <rich...@rshann.plus.com> wrote:
> > I have a test program that pops up a label with a customized
> background
> > and foreground color. This works in 3.12 using the
label=gtk_label_new("Label");
set_background_color (label, "#00");
set_foreground_color (label, "#FF00FF");
gtk_widget_set_size_request(label, 400, 400);
gtk_container_add (GTK_CONTAINER (eventbox), label);
gtk_container_add (GTK_CONTAINER(top_
On Mon, 2017-04-24 at 14:48 -0400, cecas...@aol.com wrote:
>
> Hi Richard,
>
> It looks like how you add containers makes a difference in this case.
> Also the window placement might have to be adjusted after the window
> is shown. Here is a try at it.
Thank you very much - it seems you are
("value %p is %f\n", ADJ, gtk_adjustment_get_value (ADJ));
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8&g
= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
g_free (str);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
HTH
Richard Shann
___
gtk-app-devel-list mailing
g_type_name (G_TYPE_FROM_INSTANCE (w));
gchar *str = g_strdup_printf ("%s {background-color: %s;}", type,
color);
gcp= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
g_free (str);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
I don't know if there is a memory leak here though...
HTH
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t; Hi,
>
> Le 26/01/2017 ? 16:57, Richard Shann a ?crit :
> > I see at
> >
> > https://developer.gnome.org/gtk3/stable/chap-css-properties.html
> >
> > that there is a caret-color property. Is it possible to change the
> > thickness of the text caret?
>
Widget:cursor-color has been deprecated since version 3.20 and should not be
used in newly-written code.
Use the caret-color CSS property
indicates that these "Style Properties" are not the CSS properties that
can be altered for the widget concerned.
So where are they documented, on a
: rgb(200,128,0);}";
gcp= gtk_css_provider_new();
gtk_css_provider_load_from_data(gcp, str, -1, 0);
gtk_style_context_add_provider(gsc, GTK_STYLE_PROVIDER(gcp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
working nicely).
Richard Shann
___
gtk-app-dev
On Thu, 2017-01-05 at 17:02 +0100, infirit wrote:
> Op 01/05/2017 om 03:39 PM schreef Richard Shann:
> > I see that pango_scan_string() is deprecated since version 1.38
> > but the documentation doesn't indicate what it should be replaced with -
> > anyone got a
I see that pango_scan_string() is deprecated since version 1.38
but the documentation doesn't indicate what it should be replaced with -
anyone got any ideas?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https
On Sat, 2016-12-31 at 20:10 +, Emmanuele Bassi wrote:
> Hi;
>
> On 31 December 2016 at 16:03, Richard Shann <rich...@rshann.plus.com> wrote:
> > On Sat, 2016-12-31 at 15:44 +, Emmanuele Bassi wrote:
> >> Hi;
> >>
> >>
> >> Depreca
his deprecation.
Richard
>
> Best,
> Gergely
>
>
> On Sat, Dec 31, 2016, 10:39 Richard Shann <rich...@rshann.plus.com>
> wrote:
>
> The documentation for gtk_dialog_get_action_area() suggests
> using
> gtk_dialog_add_but
The documentation for gtk_dialog_get_action_area() suggests using
gtk_dialog_add_button() etc. However, my application is storing a GtkBox
in that area - is there a way to do this, going forward?
Richard
___
gtk-app-devel-list mailing list
Can anyone suggest a way forward?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> Message: 1
> Date: Thu, 13 Oct 2016 09:49:53 -0400 (EDT)
> From: Allin Cottrell
> To: Jason Benjamin
> Cc: gtk-app-devel-list@gnome.org
> Subject: Re: GTK menus on Ubuntu
> Message-ID:
>
s into the program.
> >
> > Is there a way to get the objecttype ?
> > If it's a gtk-combo we do this, if it's a gtk-entry we do that in the
> > program and so on...
In GNU-Denemo I use
g_type_name (G_TYPE_FROM_INSTANCE (widget))
Richard Shann
___
re very
difficult to throw off; the tooltip time out is no longer controllable.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
For a long time now I have been working around
gtk_image_new_from_file ()
not working on windows trying to load SVG images. Instead I have used
pb = rsvg_pixbuf_from_file (filename, );
and then
gtk_image_new_from_pixbuf (pb)
and this works for some SVG images. However, even this is failing
On Sun, 2015-12-20 at 19:22 +, Emmanuele Bassi wrote:
> Hi;
>
> On 20 December 2015 at 18:01, Richard Shann <rich...@rshann.plus.com> wrote:
> > I would like to know which of the top-level windows in my application is
> > on top. Is there a way of doing this? I see
for my (simpler) question?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sat, 2015-11-28 at 12:00 +, gtk-app-devel-list-requ...@gnome.org
wrote:
> Date: Fri, 27 Nov 2015 20:42:25 +0100 (CET)
> From: Lucas Levrel
> To: gtk-app-devel-list@gnome.org
> Subject: Re: [Denemo-devel] Tooltips - what am I doing wrong?
> Message-ID:
On Wed, 2015-11-18 at 23:41 +0100, Johan Vromans wrote:
> On Wed, 18 Nov 2015 18:49:52 +
> Richard Shann <rich...@rshann.plus.com> wrote:
>
> > I've pushed a fix that turns off tooltips on menus while leaving them on
> > everything else (for GTK version >=3.10).
On Thu, 2015-11-19 at 13:33 +, Richard Shann wrote:
> On Thu, 2015-11-19 at 12:01 +, Emmanuele Bassi wrote:
> > Hi;
> >
> > On 19 November 2015 at 09:53, Richard Shann <rich...@rshann.plus.com> wrote:
> > > On Wed, 2015-11-18 at 23:41 +0100, Johan Vroma
On Thu, 2015-11-19 at 12:01 +, Emmanuele Bassi wrote:
> Hi;
>
> On 19 November 2015 at 09:53, Richard Shann <rich...@rshann.plus.com> wrote:
> > On Wed, 2015-11-18 at 23:41 +0100, Johan Vromans wrote:
> >> On Wed, 18 Nov 2015 18:49:52 +
> >> Richar
On Wed, 2015-11-18 at 12:27 +, Emmanuele Bassi wrote:
> Hi;
>
> On 18 November 2015 at 11:16, Richard Shann <rich...@rshann.plus.com> wrote:
>
> > I've tracked this down, in the latest manual for gtk3:
> > https://developer.gnome.org/gtk3/stable/GtkSettings
On Wed, 2015-11-18 at 17:15 +, Emmanuele Bassi wrote:
> Hi;
>
> On 18 November 2015 at 16:55, Richard Shann <rich...@rshann.plus.com> wrote:
>
> >> > But in the longer term we are coming up to a crunch - the people
> >> > developing Gtk are clearly
On Wed, 2015-11-18 at 10:35 +0100, Johan Vromans wrote:
> On Wed, 18 Nov 2015 07:59:38 +
> Richard Shann <rich...@rshann.plus.com> wrote:
>
> > One of the time settings available in the preferences sets the browse
> > timeout, choosing a value for this
On Mon, 2015-08-10 at 15:05 +0100, Emmanuele Bassi wrote:
Hi;
On 10 August 2015 at 14:51, Richard Shann rich...@rshann.plus.com wrote:
Having invested effort in this it is exasperating to discover that GTK+
chooses a default theme that cripples one of the widgets - by failing to
draw
even more recent versions. So
I can treat this as a closed issue.
Thank you for help
Richard Shann
Ciao,
Emmanuele.
On 9 August 2015 at 17:07, Richard Shann rich...@rshann.plus.com wrote:
I've recently noticed that the GtkFrames in my application have lost the
line drawn around
against GTK version 3.4.2 on 64-bit Debian Wheezy.
The same application built for Windows using GTK 3.6.5 *does* show a
line around frames, albeit rather indistinct...
Is this a known bug?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app
I wanted to pop up two buttons for the user to choose between two
options (primary and secondary), returning true or false depending
which was chosen. I tried this
gboolean
choose_option (gchar *title, gchar * primary, gchar * secondary)
{
GtkWidget *dialog;
dialog =
On Thu, 2015-05-07 at 16:21 +0200, Stefan Salewski wrote:
On Thu, 2015-05-07 at 13:02 +0100, Richard Shann wrote:
From https://developer.gnome.org/gtk3/stable/GtkDialog.html
GTK_RESPONSE_REJECT Generic response id, not used by GTK+ dialogs
GTK_RESPONSE_ACCEPT Generic response id, not used
);
and the like are not doing it, because presumably these would affect the
border of the text.
I would prefer not to have to insert and remove tags from the text on
the focus signal - is there any way to achieve this otherwise?
Richard Shann
___
gtk-app-devel-list
On Tue, 2014-03-11 at 21:43 +0100, Joël Krähemann wrote:
[...]
Please consider the documentation of gtk_widget_set_app_paintable()
don't believe GtkLayout can do your job. You could try id with a
GtkDrawingArea with a cairo surface. I do some drawing in C take a look
at
On Tue, 2014-03-11 at 13:18 +0100, Joël Krähemann wrote:
On Tue, 2014-03-11 at 08:12 +, Richard Shann wrote:
On Tue, 2014-03-11 at 04:43 +0100, Joël Krähemann wrote:
On Mon, 2014-03-10 at 09:52 +, Richard Shann wrote:
On Mon, 2014-03-10 at 09:29 +0100, Joël Krähemann wrote
On Mon, 2014-03-10 at 09:29 +0100, Joël Krähemann wrote:
On Mon, 2014-03-10 at 09:26 +0100, Joël Krähemann wrote:
On Sun, 2014-03-09 at 14:03 +, Richard Shann wrote:
From: Jo?l Kr?hemann j...@weedlight.ch
To: gtk-app-devel-list@gnome.org
Subject: Re: Help replacing
From: Jo?l Kr?hemann j...@weedlight.ch
To: gtk-app-devel-list@gnome.org
Subject: Re: Help replacing GtkDrawingArea with GtkLayout
Message-ID: 1394327737.3369.3.camel@debian
Content-Type: text/plain; charset=us-ascii
Hi,
Didn't before but may be check the following:
();
return 0;
}
Richard Shann
From: Richard Shann rich...@rshann.plus.com
To: gtk-app-devel-list@gnome.org
Subject: Help replacing GtkDrawingArea with GtkLayout
Message-ID: 1393771664.4221.117.ca...@debianbox.loc
Content-Type: text/plain; charset=UTF-8
I want to replace the existing
On Mon, 2014-03-03 at 16:49 +0100, Stefan Salewski wrote:
On Mon, 2014-03-03 at 15:17 +, Richard Shann wrote:
I have constructed the following minimal example,
Yes indeed,
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-events
This function must be called
On Mon, 2014-03-03 at 16:38 +0001, Bernhard Schuster wrote:
On Mon, Mar 3, 2014 at 5:26 PM, Richard Shann
rich...@rshann.plus.com wrote:
On Mon, 2014-03-03 at 16:49 +0100, Stefan Salewski wrote:
On Mon, 2014-03-03 at 15:17 +, Richard Shann wrote: I
have constructed
GtkDrawingArea to GtkLayout would be much
appreciated.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
of times, but otherwise there is no sign of it doing anything.
Does anyone have any idea what might be wrong?
(I should add that the program runs fine - apart from not loading .svg
files for which a loader is present - making extensive use of gtk)
Richard Shann
Location for gspawn_win32_helper.exe in a static build.
It turns out there are two helper programs, and it was calling the other
one gspawn_win32_helper-console.exe which was not installed.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app
argument)
Anyone know where it should be/if there are environment variables that
can be set to help glib here? As it is we cannot spawn processes.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org
.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
window in a GtkVbox in a
GtkFrame in a GtkNotebook in a GtkWindow. If, instead I put it directly
in a top level window the cursor shows.
The Gtk version 2.20.1, does anyone have any insights into this problem?
Richard Shann
___
gtk-app-devel-list
on the GtkPrintOperation widget start to work again.
I don't know if that is documented anywhere.
Richard Shann
On Mon, 2011-11-21 at 12:00 +, gtk-app-devel-list-requ...@gnome.org
wrote:
Message: 4
Date: Sun, 20 Nov 2011 16:13:57 +
From: Richard Shann richard.sh...@virgin.net
To: gtk
widget demo code which I wrote to test out.
Richard Shann
#include stdio.h
#include gtk/gtk.h
#include evince-view.h
evince_print() {
GError *err = NULL;
GFile *file;
gchar *filename = test.pdf;
file = g_file_new_for_commandline_arg (filename);
gchar *uri = g_file_get_uri
and other text which it would
normally render in some default or use preferred font?
Richard Shann
http://www.denemo.org
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
to switch fonts using markup, but instead use just one font
for both regular text and music symbols.
So I too need to know, how do you tell a gtk application to use a
specific font for all the widget labels and other text which it would
normally render in some default or use preferred font?
Richard
called ad infinitum.
Anyone have a working example? I am using Debian Lenny standard standard
packages.
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
it was wanting the list of
files/directories I would be a happy bunny.
Preferably some hooks in the backend but even at the cost of having to
monitor version changes... can it be done in a few lines of code?
Richard Shann
___
gtk-app-devel-list mailing list
On Sat, 2009-05-16 at 12:00 +, gtk-app-devel-list-requ...@gnome.org
wrote:
To: richard.sh...@virgin.net
Cc: gtk-app-devel-list@gnome.org
Message-ID: 20090516022833.415b5...@resin14.mta.everyone.net
Content-Type: text/plain; charset=UTF-8
Have you try GNet? http://www.gnetlibrary.org/
Does anyone know if the gio library is working for getting files from
the internet in the latest Debian Lenny distribution, x86?
I have tried the following code:
GError *err = NULL;
GFile * file=g_file_new_for_uri
(http://www.rshann.plus.com/denemo.html;);
GFileInputStream *stream =
On Fri, 2009-05-15 at 19:12 +0300, Paul Pogonyshev wrote:
Richard Shann wrote:
Does anyone know if the gio library is working for getting files from
the internet in the latest Debian Lenny distribution, x86?
You probably need GVFS package. GIO itself doesn't contain any
implementations
On Mon, 2009-04-27 at 12:52 +0300, Tor Lillqvist wrote:
My application invokes the lilypond program using the g_spawn...
functions. This works fine on linux, but on windows the files created by
lilypond are left locked when lilypond has exited.
That sounds very odd and in fact impossible.
know if this have the 'locking effect'), and you may
interest using a GIOChannel for file operations.
--- ajhwb
--- richard.sh...@virgin.net wrote:
From: Richard Shann richard.sh...@virgin.net
To: gtk-app-devel-list@gnome.org
Subject: Re: g_spawn and files left locked on windows
in lilypond, or could there
be something about the way I invoke it?
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
#gdk-pixbuf-render-threshold-alpha
Thank you for this - I have now taken the this approach - adding an
alpha channel to a pixbuf created from the .png and then going to xbm
format and finally to the GdkBitmap.
Richard Shann
___
gtk-app-devel-list mailing
to let the
user select a (small) rectangular area in the .png image for use in as
the GdkBitmap *mask in the above code.
Anyone with a wider view on this stuff? Help would be much appreciated!
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app
there in some future invocation of the program).
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-event is working fine, but that leaves you with a lot more
work since you have to decide whether a character would be inserted...
Richard Shann
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk
Well, I've passed in a constant string
gtk_settings_set_long_property(settings, gtk-can-change-accels,
TRUE, .gtkrc:0);
and the code has started working
- thank you very much!
Richard Shann
On Fri, 2008-02-08 at 00:19 +0100, Torsten Reuss wrote:
On Feb 7, 2008 10:28 PM, Richard
Hi Torsten,
Thanks for this - curiously I get
(denemo:16377): Gtk-CRITICAL **: gtk_settings_set_long_property:
assertion `origin != NULL' failed
with your code. I'll dig into this.
Richard
___
gtk-app-devel-list mailing list
a function
static void gtk_label_class_init (GtkLabelClass *class)
which is not called within the file, even though it is static. Short of
some preprocesser magic, I can't see how this could ever get called.
Is there a way to set the class defaults?
Richard Shann
78 matches
Mail list logo