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 up.
ta)
{
Self* self = SELF(user_data);
// Cleanup drag data.
if (TRUE == selfp->drop_data_ready)
{
g_free(selfp->drop_data);
selfp->drop_data = NULL;
selfp->drop_data_ready = FALSE;
}
// Un-draw the highlight.
if (TRUE == selfp->drop_highlight) {
gtk_drag_unhighlight(widget);
selfp->drop_highlight
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 th
L, NULL,
&childPid, &in_fd, &out_fd, NULL, &err);
assert(success == 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
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 7
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 no
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/
http://www.slel
I have a GTKWindow that I have created and then afterwards attempted
to move using gtk_window_move(), I have the window set so that if I
click on it it toggles the window's decorations, the default being
none. For production I wish to have the window have no decorations,
but If I configure the win
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 cod
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 bin
ke 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.gnom
11 matches
Mail list logo