Hi Søren

Where do you pack the hbox into the window or some other container. I
myself have problems unerstanding it, but I think it has something to do
with realization of the widgets. You can only do this after it is
realized (added to another container). Im not sure about this though.

hbox = new HBox();
window.Add (hbox);
testlabel = new Label("mm test");
hbox.PackStart(testlabel);
hbox.ShowAll();
hbox.Visible = false;

/Mikkel

On Tue, 2007-10-09 at 10:05 +0200, Søren Juul wrote:

> Thats weird the code below doesn't work for me
> 
> hbox = new HBox();
> hbox.HideAll();
> testlabel = new Label("mm test");
> hbox.PackStart(testlabel);
> hbox.Visible = false;
> 
> 
> 2007/10/9, Mikkel Kruse Johnsen <[EMAIL PROTECTED]>:
> 
>         Hi Søren
>         
>         I use "hbox.Visible = false" and it works fine for me.
>         
>         Fedora7 with standard packages.
>         
>         /Mikkel
>         
>         On Tue, 2007-10-09 at 09:37 +0200, Søren Juul wrote: 
>         
>         > Hi
>         > 
>         > Isn't it possible to hide a (H/V)Box?
>         > 
>         > hbox.Visible = false, hbox.HideAll() and hbox.Hide() doesn't seem 
> to work
>         > 
>         
>         Med Venlig Hilsen / Kind Regards
>         
>         
>         Mikkel Kruse
>         Johnsen
>         Adm.Dir.
>         
>         Linet
>         Ørholmgade 6 st
>         tv 
>         Copenhagen N
>         2200 Denmark
>         
>         Work:    +45
>         21287793
>         Mobile: +45
>         21287793
>         Email:
>         [EMAIL PROTECTED]
>         IM:
>         [EMAIL PROTECTED]
>         (MSN)
>          Professional
>         Profile
>         Healthcare 
>         
>         
>         Network
>         Consultant 
> 
> 
> 
> 
> -- 
> Med venlig hilsen / kind Regards
> Søren Juul

Med Venlig Hilsen / Kind Regards


Mikkel Kruse
Johnsen
Adm.Dir.

Linet
Ørholmgade 6 st tv
Copenhagen N 2200
Denmark

Work:    +45
21287793
Mobile: +45
21287793
Email:
[EMAIL PROTECTED]
IM:
[EMAIL PROTECTED]
(MSN)
 Professional
Profile
Healthcare 


Network
Consultant 
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to