Hello,
I would like to enable a fourth type of drag+drog in a filemanager
program. The first three, GDK_ACTION_COPY , GDK_ACTION_MOVE ,
GDK_ACTION_LINK do exactly that and are generated by combining the d+d with
ctl and ctl-shift. But there is also a GDK_ACTION_PRIVATE which I would
I've been trying to copy a bitmap into a bitmap with gdk_draw_pixmap(),
without success. Is it necesary to use XCopyPlane in lieu of some gdk routine?
Basically all I want to do is a binary OR between the data in the 2 bitmaps.
TIA,
Edscott Wilson Garcia
On Thu 17 Jan 2002 10:01, Havoc Pennington wrote:
Edscott Wilson García [EMAIL PROTECTED] writes:
I've been trying to copy a bitmap into a bitmap with gdk_draw_pixmap(),
without success. Is it necesary to use XCopyPlane in lieu of some
gdk routine?
When you say without success, what
On Thu 17 Jan 2002 13:38, Havoc Pennington wrote:
Edscott Wilson García [EMAIL PROTECTED] writes:
After looking at a book by Barkakati, (X Window System Programming, 1991)
he says that bitmaps should be copied into pixmaps by XCopyPlane(), not
XCopyArea() (the latter being used
On Thu 17 Jan 2002 14:21, Havoc Pennington wrote:
Edscott Wilson García [EMAIL PROTECTED] writes:
But isn't a bitmap nothing more than a pixmap of depth 1? If
gdk_pixmap_new(window,pix_w,pix_h,1);
is not the correct way to create an empty bitmap with gtk, how should it
be created
, and I'm sorry for the wasted bandwidth
Edscott
On Thu 17 Jan 2002 14:21, you wrote:
Edscott Wilson García [EMAIL PROTECTED] writes:
But isn't a bitmap nothing more than a pixmap of depth 1? If
gdk_pixmap_new(window,pix_w,pix_h,1);
is not the correct way to create an empty bitmap with gtk
Yesterday I chased a bug for several hours but could not find a workaround.
I dug into the mail list archives but could not find anything related.
It occurs with a program called xftree, which is a program with a CTree for
dragging and dropping files for moving and copying. Binaries and
Please excuse the bandwidth I used for the problem I described previously
where the child process was invading the memory the parent was using for
GTK. It was a very stupid mistake, as you can see below in that the case
where strrchr() returning NULL is not considered, thus causing a memory
On Wed 05 Dec 2001 02:17, Giovanni Masullo wrote:
i would like to know the rite theorical way to implement a
long job without losing the possibility of get user input.
have i to create a secondary task to do the job, with the primary
waiting for user input?
is there a better way?
and what
Paul Davis wrote:
parent heaps totally independent, as should be. Maybe there is a way to
tell gtk at the fork point whether child or parent will keep the widgets
instead of leaving it up to gtk to decide?
there isn't any choice. the child cannot access the widgets. end of
story. i
Hi,
I was getting random io X error after forking and the child was not using
any GTK, nor was it using exit() in stead of _exit(). I finally tracked down
the problem to the child using malloc() and free(), and overwriting the GTK
widget information in the parent process. By using stack
Havoc Pennington wrote:
Edscott Wilson García [EMAIL PROTECTED] writes:
I was getting random io X error after forking and the child was
not using any GTK, nor was it using exit() in stead of _exit(). I
finally tracked down the problem to the child using malloc() and
free
Paul Davis wrote:
Neither do I think it's possible. Yet, it is so. Maybe a failed malloc()
no its not. virtual address spaces make it so. children have no access
to their parent's address space. global variables make no difference.
or free() makes the child access a gtk widget it's not
you avoid manipulating them by
accident from the process which is not supposed to, as with a memory
allocation error. I've already hunted down two of them in xftree, so
there might be a third, and the x-io error makes the hunting much more
difficult.
Edscott
Ralph Walden
Edscott Wilson
Hi,
I've searched around but cannot find an answer to the following. In a
program I am fixing (xftree), I absolutely need to synchronize the client and
server before proceeding. I know that this is very easy to do using Xlib, but
I can't find an equivalent in GTK+. Is there an equivalent?
I wrote this program called xfsamba, which basically does a lot of
forking around smbclient (from the samba suite). It uses a Ctree
widget to create a graphical view and also has a text window where much
of the text output from smbclient is displayed. This implies,
theoretically of course, that
16 matches
Mail list logo