Re: Pixel Set



Since there is no gdk_main() and since I'm using gdk stuff I
guess I still need to call gtk_main() right?

Best regards,

Paulo

> 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()
> 
> Look at the API reference:
> 
> http://developer.gnome.org/doc/API/2.0/gdk/index.html
> 
> 
> The drawing primitives page is:
> 
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-drawing-primitives.html
> 
> 
> 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!




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