GTK Drag-and-drop Validation X11 Cursor lock up within drag_get_data.

2011-03-14 Thread Dan Saul
Hi, I have been unable to get drag and drop validation working in pygtk. I am out of ideas and would like a second opinion. My goal is to only allow files which contain .jpg to be dropped. Specifically, whenever I call widget.drag_get_data within the drag-motion callback The X11 cursor locks

Re: Drag And Drop - drag-motion cursor lockup? [FIXED]

2010-04-12 Thread Dan Saul
-drop_highlight = FALSE; } } } On Thu, Apr 1, 2010 at 8:06 PM, Dan Saul daniel.s...@gmail.com wrote: Hi, I am trying to implement drag and drop. Currently just trying to get the destination working. I have the basics working, but if I attempt to do custom drag-motion validation and I call

Drag And Drop - drag-motion cursor lockup?

2010-04-01 Thread Dan Saul
Hi, I am trying to implement drag and drop. Currently just trying to get the destination working. I have the basics working, but if I attempt to do custom drag-motion validation and I call gtk_drag_get_data() the Xserver locks with a drag cursor. The only way to get out is to Alt-F1 then kill the

g_spawn_async_with_pipes() vs system()

2008-10-25 Thread Dan Saul
== TRUE); Any thoughts would be appreciated (or if you know of a tutorial for this function), Dan Saul ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Segmentation fault while using g_thread_init

2008-10-23 Thread Dan Saul
Hi Aparna, Forgive me if I am wrong, but g_thread_init(NULL); gdk_threads_init(); might duplicate the call. I recall when using gnet (which initiates the threads itself it segfaulted if I called g_thread_init. Perhaps taking one of those out would fix your problem? Dan On 18-Oct-08, at

Gtk Window Screen Boundaries

2008-10-11 Thread Dan Saul
Hi Gtk Application Development, I am developing a program that is akin to a Dock, is there a way to tell gtk or the xwindow system not to place windows within certain rects (also maximize limits) so that windows do not spawn underneath the windows? I have set the window type hint to Dock but to

libwnck empty window listing

2008-07-21 Thread Dan Saul
Hi all, I have been trying to learn how to use libwnck to write a simple application launcher. All has been going good up until the point where I tried to get a listing of the windows, at which time I just get an empty null glist back. Sources: http://www.slello.com/tmp/wnck-test/

Re: Shared or dynamic?!

2007-05-30 Thread Dan Saul
I have only just started with libraries myself, but the best I can explain it to you is this: * Static libraries are hardly different then .o files, except rather then a .o file for each of your source files there is only one, the library. * Dynamic Libraries is any

Run Loop Memory Management

2007-05-29 Thread Dan Saul
to get the opinions of those who are more experianced whether there is a better -- or more appropriate place for me to put this code. Thank you for your time, Dan Saul ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: Run Loop Memory Management

2007-05-29 Thread Dan Saul
On Tue, 2007-29-05 at 16:29 -0700, Brian J. Tarricone wrote: On Tue, 29 May 2007 18:12:57 -0500 Dan Saul wrote: Good day, new to the list and GTK+ in general. I am formerly a Macintosh developer. Currently however I am now working on Objective C bindings for GTK+. I am currently looking