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)?

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to