Re: GTK_STOCK_CLOSE Button Without Label



Tristan Van Berkom <tvb gnome org> writes:

In 2.4 I guess you can simply:

button = gtk_button_new ();
image  = gtk_image_new_from_stock (...);
gtk_container_add (GTK_CONTAINER (button), image);

Thank you very much.  This is exactly what I wanted.  I actually
didn't know about GtkImage.  Now I know, and I am happy to have
subscribed to this mailing list.  Its quite useful.

Rgds,
anna

-- 

Open Movie: Not only will the project be realized with Open
Source/Free Software, but also the resulting movie will be published
under an open public license. This makes it an exciting premiere as
first ever "Open Movie" project!  [ http://orange.blender.org ]



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