On Mon, Jun 05, 2000 at 11:13:27AM +0000, Rabello wrote:
> Anyone, already work  with image  in GLADE, I would like know how can 
> I put or get a pixel inside one image create in one window by GLADE.
> This seem simple but I am not a software maker, only a student of 
> software , I am a Electronic Engineer, and this my first time in this 
> list.

This really is a gtk+ question, rather than a glade question. 
Here is a section from the gtk+ documentation:

---
The pixels in a GtkPixmap cannot be manipulated by the
application after creation, since under the X Window system
the pixel data is stored on the X server and so is not
available to the client application. If you want to create
graphical images which can be manipulated by the
application, look at GtkImage and GdkRGB
---

In my latest application I use GdkRGB to display fractal images,
GdkRGB can do fancy things like dithering. GtkImage is more like
the GtkPixmap, but the image can be manipulated.

A GtkImage is created from a GdkImage.  The GdkImage can be
manipulated with gdk_image_get_pixel and gdk_image_put_pixel.

I hope this will point you in the right direction.

Regards,
Johan Levin

+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to