[MonoDevelop] adding two widgets in the same container and using hide() and show()

Rampage atomikramp at email.it
Mon Aug 23 04:36:14 EDT 2010


Hello everyone,
i think the subject pretty explains it all, i was wondering if by using the
designer it was possible to add 2 widgets in the same container and then
from the source of my application manage the display of one or the other
using the show() and hide() methos.

at the moment i have a nodebook widget with a scrollwindow containing a
textview, i would like to be able to swap between a textview and an image
widget.
deleting them is not necessary for me, it's enaugh to show or hide depending
on the data i have to display.

I've also taken a look at the gtk-gui/MainWindow.cs file but the comment
says not to edit that file or things would likely screw up.

thanks in advice for the help
-- 
View this message in context: http://mono.1490590.n4.nabble.com/adding-two-widgets-in-the-same-container-and-using-hide-and-show-tp2334761p2334761.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list