GtkTable and GtkDrawingArea

2006-02-11 Thread Barry Demchak
Hi -- I'm new to GTK and am having problems that I don't understand ... thanks in advance to anyone who can take a look ... I'm trying to use a GTKTable (created by Glade, and without any child widgets) to lay out a group of GtkDrawingAreas. The table itself is 3x2 cells, around 500x200 pixe

Re: GtkImage size

2005-09-12 Thread Barry Demchak
Thanks, John ... it worked very nicely indeed, and I learned more about Gtk. All in all, a pretty good win. At 08:10 AM 9/11/2005, John Vetterli wrote: On Sat, 10 Sep 2005, Barry Demchak wrote: Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know

GtkImage size

2005-09-11 Thread Barry Demchak
vious. Thanks! vvvvvvv : Barry Demchak : : Torrey Pines Software, Inc. : : http://www.tpsoft.com/ : : (858) 452-8700 : ^^^ ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: GtkImage size

2005-09-10 Thread Barry Demchak
Yeah ... something pretty close to that. Thanks! At 08:55 PM 9/10/2005, Nick Watts wrote: the GtkPaned class has a signal "move-handle", my guess is that you just need to check the image's size from the pixbuf functions when you receive the "move-handle" signal.

Re: GtkImage size

2005-09-10 Thread Barry Demchak
rg/doc/API/2.0/gtk/GtkHPaned.html http://developer.gnome.org/doc/API/gtk/gtkpaned.html At 07:27 PM 9/10/2005, you wrote: Exactly what widget does "horizontal pannel" refer to? Is there by any chance an event generated when the panel itself changes size? On 9/11/05, Barry Demchak <&

Re: GtkImage size

2005-09-10 Thread Barry Demchak
which case, you can allow for it anyway. Hope that helps, why do you need an event for it though? On 9/11/05, Barry Demchak <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: Hi, all -- Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to kno

GtkImage size

2005-09-10 Thread Barry Demchak
Hi, all -- Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know how to set up an event to tell me when the size changes. I have been going 'round and 'round in the documentation, and it's just not very obvious. Thanks! _

Re: Very slow gdk_draw_pixbuf

2005-09-01 Thread Barry Demchak
Hi, John -- The Linux guy and I investigated this somewhat thoroughly. It doesn't happen on any machine but mine. And if I SSH to another server, it doesn't happen either. So, there's something peculiar to my machine ... running Win2K, Radeon 7800, IBM Thinkpad, 1700MHz. And it's even strang

Very slow gdk_draw_pixbuf

2005-09-01 Thread Barry Demchak
t"); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); g_signal_connect_swapped (G_OBJECT (button), "clicked", G_CALLBACK (gtk_widget_destroy), G_OBJECT

Very slow gdk_draw_pixbuf

2005-08-31 Thread Barry Demchak
Hi -- I am trying to use gdk_draw_pixbuf to render a .PNG into a window via a pixmap. (Actually, this is a much simplified case of trying to use librsvg to render into a window.) To make it as simple as possible, I grafted a gdk_draw_pixbuf call into scribble. When the rendering occurs, it t

Re: GTKImage displays after long latency

2005-08-31 Thread Barry Demchak
Hi, Owen -- No luck ... the thing reports 400x400 (pixels) ... ... and when I render it in Internet Explorer, the rendering is instant. Any other ideas?? At 07:05 AM 8/31/2005, Owen Taylor wrote: On Tue, 2005-08-30 at 14:41 -0700, Barry Demchak wrote: > Hi -- > > This is my

GTKImage displays after long latency

2005-08-30 Thread Barry Demchak
Hi -- This is my first GTK application, and I'm "simply" trying to display an SVG rendering in a window. I can do this OK, but it appears that there is a latency of ~2000ms between assigning the pixbuf into the GTKImage widget and actually seeing the result on the screen. FYI, the scribble e