Re: (no subject)

On Wed, 2001-08-29 at 21:42, vidhya b wrote:
       How to attach an event to an icon. Like how button on clicking it
    does something. on clicking on icon anyway is there to perform some

Er, do you want an icon to behave like a button?  In that case, why not
simply put an icon *in* a button.  Create a GtkPixmap *pix and add it to
the button with

  gtk_container_add (GTK_CONTAINER (button), pix);

If this solution is not acceptable for your application you can always
capture eg. button_pressed events and do something with those.

     How to set color to label or textbox.
the easies solution is probably through resource files.  Check the faq,
section 6.11 <URL:>.


Think of hummingbirds as the flying penises of flowers

Attachment: pgptAMxyT8mcM.pgp
Description: PGP signature

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