Re: gtk_print_operation_run hang

2016-02-08 Thread Matthew Allen
begin-print" and some use "begin_print". But the docs say '-' so I'll stick with that for the moment. I wish I could trace all the signals... is there a way to print them out to the console as they happen? On 4 February 2016 at 22:43, Matthew Allen <memec...@gmail.com> wrote: &g

Re: gtk_print_operation_run hang

2016-02-08 Thread Matthew Allen
Ok some new information. There is an incompatibility with g_idle_add and printing. I'm using g_idle_add for my own callback elsewhere in the application, and if I comment that out the printing starts working. What I think is happening is that the call to: priv->print_pages_idle_id =

[no subject]

2016-02-04 Thread Matthew Allen
So I'm working on this code: GPrinter.cpp (and it's header ). And GPrinter::Print when I call gtk_print_operation_run I get a printer

Corrupt GDK_DESTROY event

2016-01-15 Thread Matthew Allen
I'm developing applications based on a widget library called LGI: https://github.com/memecode/Lgi The Linux back end uses GTK2 and I'm having trouble with the GDK_DESTROY event being corrupt by the time it reaches my application. In GWindow::Attach I setup a the signal handler: GView *i

Re: gdk_draw_image with alpha compositing on X?

2010-10-02 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (l...@sydneyband.com.au) From: Tor Lillqvist (t...@iki.fi) Subject: Re: gdk_draw_image with alpha compositing on X? Date: 3/10/2010 4:42:34a I'm calling gdk_draw_image with a 32-bit per pixel image with some pixels having alpha=0

gdk_draw_image with alpha compositing on X?

2010-09-26 Thread Matthew Allen
Hi, I'm calling gdk_draw_image with a 32-bit per pixel image with some pixels having alpha=0 and some with alpha=255, and the transparent pixels come through as black (not surprisingly). What is the correct was to get that on to the screen? (for Win32 and X) Regards -- Matthew Allen

Getting native colors in GTK/GDK?

2010-09-21 Thread Matthew Allen
which is useful). I assume somewhere there is a library to do this, maybe something from Gnome? I don't really care about the windows side of things, because it's easy enough to wrap GetSysColor but on Linux I don't know where to start. Regards -- Matthew Allen

gtk_grab_add giving Gdk-CRITICAL

2010-09-19 Thread Matthew Allen
**: gdk_window_get_window_type: assertion `GDK_IS_WINDOW (window)' failed. I passed a valid GtkWidget to the grab add, and there is nothing in the docs to infer that what I'm doing is bad... so what do I need to do to fix this code? Regards -- Matthew Allen

Re: Custom content in GtkMenus?

2010-07-01 Thread Matthew Allen
to working just how I want it. I'd even put up with not having click events outside my app... but not getting events while a transient dialog is open too is a showstopper. Also I'm not getting much in the way of answers by posting here, am I not following some protocol? -- Matthew Allen http

Custom content in GtkMenus?

2010-06-30 Thread Matthew Allen
the user clicks away from the control (so I can't close it at the right moment). I would just use GtkMenu + GtkMenuItems, but for things like a date picker that doesn't work. Maybe one of you could point me in the right direction? Regards -- Matthew Allen

Re: Catching client events

2010-06-17 Thread Matthew Allen
application. -- Matthew Allen http://www.memecode.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Catching client events

2010-06-14 Thread Matthew Allen
); This is on windows at the moment and I see the client message get sent using Spy++, but nothing at the receiving end catches it. Both sender and receiver are in the same application. What am I missing here? -- Matthew Allen ___ gtk-app-devel-list

Translating co-ordinates from local to screen space

2010-06-11 Thread Matthew Allen
Hi, I'm trying to translate co-ordinates from local widget space into screen space and back again. Is that possible with GTK? Regards -- Matthew Allen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Top down layout

2010-06-09 Thread Matthew Allen
now I want to know how to catch the configure-event and then pass it on to the next handler so I get normal behaviour AND have access to that event. (I'm a signal noob) Thanks. -- Matthew Allen ___ gtk-app-devel-list mailing list gtk-app-devel-list

Top down layout

2010-06-08 Thread Matthew Allen
the GtkWindow as it gets larger. This sort of behaviour might not be possible with GTK. But at least I thought I'd ask. -- Matthew Allen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Re: Top down layout

2010-06-08 Thread Matthew Allen
, and I can sort out the layout from there. Is there some way of seeing the signals being fired? -- Matthew Allen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Top down layout

2010-06-08 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (l...@sydneyband.com.au) From: Tristan Van Berkom (t...@gnome.org) Subject: Re: Top down layout Date: 9/6/2010 12:55:44p On Tue, Jun 8, 2010 at 10:36 PM, Matthew Allen l...@sydneyband.com.au wrote: This sort of behaviour might

Re: Top down layout

2010-06-08 Thread Matthew Allen
-- Original Message -- To: Matthew Allen (l...@sydneyband.com.au) From: Tristan Van Berkom (t...@gnome.org) Subject: Re: Top down layout Date: 9/6/2010 1:44:30p On Tue, Jun 8, 2010 at 11:09 PM, Matthew Allen l...@sydneyband.com.au wrote: -- Original Message