Re: [gtk-list] Re: multi-tasking



On Sun, 22 Feb 1998, Brian C. Lane wrote:

> reason I wasn't using a button is the border that is placed around the
> pixmap -- is there a way to turn this off in butons?

  I still have the above question, but...

> 
>   Now I have a problem where it sigsegv's on me when I press the button.
> It is related to the clicked event because I have tried removing all other
>   Does this sound like a bug or am I doing something else wrong? I'm using
> GTK+ v0.99.3

  I was trying to call a click callback with (GtkWidget *, GdkEvent *), so
I fixed that, and passed it the Widget* when connecting the clicked event.
But now that brings up another question, how do I tell which mouse button
was clicked to activate it? I have a volume button that increases the
volume with a left click and decreases it with a right click.

  Also, now my down image is drawn before executing the cdrom function,
but it isn't drawn as back up until it completes, even though my debugging
output shows that it is getting press_event, release_event, click_event.
Apparently the image isn't being redrawn between the release event (where
the image is  changed back to the up image) and the click event.

  Maybe I am really better off starting a timer when it is hit and letting
that handle the processing...

  Thanks!

    Brian

======================================================================
Nexus Computing                           http://www.eskimo.com/~nexus
Electronics, Embedded Software and Linux             nexus@tatoosh.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]