[Gtk-sharp-list] Background color of Notebook page
Andrew York
andy at brdstudio.net
Fri Oct 21 08:57:19 EDT 2011
The container you are using for the Gtk.Notebook page is a Gtk.Fixed
container? That is the only way I know to put more than one widget into
a container. I hope I had mentioned that before I might have not been
clear enough. To have an image behind other widgets it has to be a
Gtk.Fixed. Add the image to the Fixed container then add additional
widgets, the additional widgets that you add to the Gtk.Fixed you are
using as a page can be a container itself which would return you to a
"flow layout".
I hope that is a little clearer, I suspect if you are already using a
Fixed container for your Notebook Page that the image is in front of
your other widgets.
If you are still having issues I'll write a quick example.
Spoody
On 10/21/2011 4:59 AM, TheSHEEEP wrote:
> I'll try the background image approach.
> So I insert an image into the notebook page and fill that image with the
> background at runtime.
>
> But when I try to add the container with my actual buttons, etc. (let's call
> it "guiCon") to the container that already has the image, nothing happens.
> Maybe the problem is that guiCon already is inside another container. If so,
> how can I detach it from that container and insert it into the same
> container that already has the background image?
>
> If that doesn't work, I'll probably try the custom widget approach.
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Background-color-of-Notebook-page-tp3923129p3924724.html
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
More information about the Gtk-sharp-list
mailing list