[Gtk-sharp-list] Stetic oddity or normal Gtk-ness?
Adam Tauno Williams
adam at morrison-ind.com
Fri May 4 11:27:33 EDT 2007
I have a Notebook in an application developed with MD/Stetic. When the
notebook tab labels were just Labels they displayed fine. Then I
deleted the labels from the tabs and put an HBox containing and image
and a Label on the tab of each page. When I then ran the application
the Notebook had itsy-bitsy tabs with nothing in them.
Adding this little bit in the constructor of the window containing the
notebook -
for( int i = 0;i < mainNotebook.NPages; i++)
mainNotebook.GetTabLabel(mainNotebook.GetNthPage(i)).ShowAll();
- and the pretty tab labels appear and the notebook works normally.
Curious, is this an oddity with how Stetic built the window/notebook in
this.Build() or normal Gtk-ness? Do non-Label tab widgets need to be
manually shown like the contents of the notebook (having to call Show()
on each widget after adding it to the notebook)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070504/d028aa47/attachment.bin
More information about the Gtk-sharp-list
mailing list