Re: Pixel Set



> > Low level functions are available through GDK.  Those are not in the
> > tutorial simply because few people need them.
> > 
> > What you want is gdk_draw_point()
> > 
> <snip>
> > 
> > The drawing primitives page is:
> > 
> > http://developer.gnome.org/doc/API/2.0/gdk/gdk-drawing-primitives.html
> > 
> 
> Thx for the references... This needs me to create a GdkWindow. I
> can create a GtkWindow but not a GdkWindow. How can I create a
> GdkWindow? Or are they the same and I can cast GdkWindow from
> Gtkwindow?

Got it... :) gdk_window_new! 

> 
> Best regards,
> 
> Paulo
> 
> > 
> > Daniel.
> > 
> > 
> > On 9 Aug 2002, Paulo J. Matos wrote:
> > 
> > > Hi all,
> > >
> > > I just want to do the simple thing of creating a window and
> > > setting a pixel to a given color. How can I do that? As far as I
> > > read in the tutorial, I found no function to do something as
> > > low-level as that. Is there a way?
> > >
> > > Best regards,
> > >
> > >
> > 
> > 
> 
> -- 
> Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
> Instituto Superior Tecnico - Lisbon    
> Software & Computer Engineering - A.I.
>  - > http://mega.ist.utl.pt/~pocm 
>  ---	
> 	Yes, God had a deadline...
> 		So, He wrote it all in Lisp!
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon    
Software & Computer Engineering - A.I.
 - > http://mega.ist.utl.pt/~pocm 
 ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!




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