rubber banding lines - xorput?



>>
To raise a single window, use 
if (GTK_WIDGET_REALIZED(gtkwindow)) gdk_window_raise(gtkwindow->window)
however to get a group to raise in a reasonable way, you need to set the
transient hints (gtk_window_set_transient_for() or
gnome_dialog_set_parent()) 
<<
  Thanks Havoc, that's a bulls eye...
  
  I'd also like my users to be able to draw lines rubber-band style, ie
drag a line all around without obliterating background.  Is there a
xor-put in gtk?  
  
  I've solved this low-level before, by saving all the pixels in a line's
path to memory before plotting, but if there's something nicer I should
use it...
  
  Danke,
  John
  
  
  
  
  

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.



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