Re: Insert image in Scrolled window
- From: Sandeep KS <kssandeepa yahoo com>
- To: Christian Neumair <chris gnome-de org>
- Cc: Gtk <gtk-app-devel-list gnome org>
- Subject: Re: Insert image in Scrolled window
- Date: Thu, 30 Mar 2006 18:58:13 -0800 (PST)
Christian Neumair <chris gnome-de org> wrote: Am Donnerstag, den 30.03.2006, 10:47 -0800 schrieb Sandeep KS:
I have a ScrolledWindow inside the main window and I have
inserted some images in the main window and i need to insert some
images inside the scrolled window also. Is it possible to insert
images inside ScrolledWindow?
I tried to insert images using gtk_fixed_put(), but it didnt work..
So please give me some suggestions
If you just want an image in a scrolled window, you can use
gtk_scrolled_window_add_with_viewport (win, image);
where image is a widget of type GtkImage.
--
Christian Neumair
I got the solution for this problem.. I was trying to insert the image using
gtk_fixed_put(mainwin, image)..... instead of gtk_fixed_put(scrolledwin, image)
Now can anyone tell me how to change the background color of the button widgets... Like i need the buttons to
be of blue color.
Regards
---------------------------------
How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]