Drag drop question!

2007-12-29 Thread Johannes Schmid
Hi! I am currently try to set up a GtkContainer and all it's children as a drag target. As some of the children have their own GdkWindow I need to set up the drag targets for all of them. For a GtkImage child, this works without problems and I receive the drag-motion events but for a GtkEntry or

Re: Drag drop question!

2007-12-29 Thread Murray Cumming
On Sat, 2007-12-29 at 16:22 +0100, Johannes Schmid wrote: Hi! I am currently try to set up a GtkContainer and all it's children as a drag target. As some of the children have their own GdkWindow I need to set up the drag targets for all of them. For a GtkImage child, this works without

GVolume

2007-12-29 Thread Mikael Hermansson
I tried to figure out how the GIO's GVolume[Monitor] API works. It seems broken or maybe its HAL thats is buggy or maybe its me that is buggy and dont understand how it should work ;-) My mtab has this mountpoints: (unrelated system /proc etc... has been removed) /dev/sda7 / ext3 rw 0 0

Re: I'd like to contribute

2007-12-29 Thread Tim Janik
On Fri, 28 Dec 2007, Cody Russell wrote: On Fri, 2007-12-28 at 18:35 -0800, Bobby Walters wrote: I would like to contribute a little to the project. Is there anything I could do? Let me know how to get started, and who to talk to please. Hey Bobby, Welcome! Maybe start off by letting us

#include gtk/gtkgl.h

2007-12-29 Thread z . pekar
I need to compile a program that uses this library gtk/gtkgl.h under Windows (for linux everything works just fine) - does anybody has (know where to get) a .dll for it? thank you in advance ___ gtk-list mailing list gtk-list@gnome.org

Re: #include gtk/gtkgl.h

2007-12-29 Thread Gian Mario Tagliaretti
On Dec 29, 2007 5:35 PM, [EMAIL PROTECTED] wrote: I need to compile a program that uses this library gtk/gtkgl.h under Windows (for linux everything works just fine) - does anybody has (know where to get) a .dll for it? http://www.k-3d.org/gtkglext/Main_Page#Binaries cheers -- Gian Mario

Gtk 1.162 build issues under win32

2007-12-29 Thread T.J. Ferraro
Using VC7. If I compile against pango 1.17 it compiles fine. Otherwise: PangoCairo.c xs\PangoCairo.xs(24) : error C2143: syntax error : missing ';' before 'type' xs\PangoCairo.xs(26) : error C2065: 'callback' : undeclared identifier xs\PangoCairo.xs(26) : error C2223: left of '-priv' must point

Re: Gtk 1.162 build issues under win32

2007-12-29 Thread Torsten Schoenfeld
On Sat, 2007-12-29 at 03:22 -0800, T.J. Ferraro wrote: Using VC7. If I compile against pango 1.17 it compiles fine. Otherwise: PangoCairo.c xs\PangoCairo.xs(24) : error C2143: syntax error : missing ';' before 'type' [...] That's weird. I don't see anything wrong with the code. What's

Re: failed test when installing Cairo on windows

2007-12-29 Thread rahed
T.J. Ferraro [EMAIL PROTECTED] writes: *alloc/free is not safe. You should be using New* and Safefree for *alloc/free calls. I remember the same problem being resolved in DBD-Pg a little while back. The attached diff is against 1.044. At first I only changed the calloc/free calls, which were

Re: failed test when installing Cairo on windows

2007-12-29 Thread Torsten Schoenfeld
On Fri, 2007-12-28 at 23:57 -0800, T.J. Ferraro wrote: *alloc/free is not safe. You should be using New* and Safefree for *alloc/free calls. I remember the same problem being resolved in DBD-Pg a little while back. The attached diff is against 1.044. At first I only changed the

Gtk2 dmake test hangs

2007-12-29 Thread rahed
Hi, I run dmake test for Gtk2-1.162 on windows which hangs at Gdk.t test. Actually after ok 11, when $window - show_now(); is called. A small gtk window pops up but the test doesn't go on. Any pointers? Thanks. -- Radek ___ gtk-perl-list mailing

Re: Gtk 1.162 build issues under win32

2007-12-29 Thread muppet
On Dec 29, 2007, at 6:22 AM, T.J. Ferraro wrote: Using VC7. My condolences. I have no access to this, so i can only offer hints Dumb idea? I don't know the code...I just know it compiled :) Thanks for any thoughts on the matter. That sounds an awful lot like one of the macros is

GtkCellLayout interface

2007-12-29 Thread Kevin Ryde
Is GtkCellLayout available as an interface thingie for perl code widgets to implement? Or is it needed? I guess you could just write the corresponding method funcs if you like its style and that'd be close enough for use from other perl code. (I'm tinkering with a scrolling stock ticker and

Re: Gtk 1.162 build issues under win32

2007-12-29 Thread T.J. Ferraro
Yep, moving the statement up one line did the trick. Thanks T.J. muppet wrote: Try changing the code to this: static void gtk2perl_pango_cairo_shape_renderer_func (cairo_t *cr, PangoAttrShape * attr,

Re: Gtk2 dmake test hangs

2007-12-29 Thread T.J. Ferraro
My suggestion? Move on unless you have a *lot* of time on your hands :) nmake test: Failed Test Stat Wstat Total Fail List of Failed --- t/Gdk.t 4 1024 17 12 12-17 t/GdkDisplay.t 255 65280 24 47 1-24 t/GdkInput.t 1 256 16

Re: GtkGC shared auto-release

2007-12-29 Thread Kevin Ryde
Torsten Schoenfeld [EMAIL PROTECTED] writes: Gtk2::GC itself already offers shared GCs, so there ought to be something better than SharedGC. I think I'll end up with Gtk2::Ex::GtkGCobj, which is nice and similar to GtkGC since nothing more advanced than its sharing is offered, and obj trying

weakened userdata

2007-12-29 Thread Kevin Ryde
When making a signal callback in a child widget to act on some parent, with the parent as the userdata in the signal, is there a usual way to weaken or do something to that userdata to avoid creating a circular reference? Including possibly a child component which is a popup menu and so not

Re: weakened userdata

2007-12-29 Thread muppet
On Dec 29, 2007, at 7:34 PM, Kevin Ryde wrote: When making a signal callback in a child widget to act on some parent, with the parent as the userdata in the signal, is there a usual way to weaken or do something to that userdata to avoid creating a circular reference? This issue exists with

Re: GtkCellLayout interface

2007-12-29 Thread muppet
On Dec 29, 2007, at 6:40 PM, Kevin Ryde wrote: Is GtkCellLayout available as an interface thingie for perl code widgets to implement? Or is it needed? I guess you could just write the corresponding method funcs if you like its style and that'd be close enough for use from other perl