3.8.06

gtk_notebook_set_show_tabs

During a debug session for "random crash bug" in the notebook widget, I got bored and decided to add a new feature, so now the widget can have tabs, as you can see here:


or can have the tabs switched off:


Of course, you can toggle the tabs on/off with the "tabs on/off" button in this example (in other words, gtk_notebook_set_show_tabs now works).

So my custom notebook class can be toggled between a RegisterGroup and a HGroup with MUIA_Group_PageMode=TRUE with a simple

set(GtkObj(notebook),MA_Show_Label,TRUE);
set(GtkObj(notebook),MA_Show_Label,FALSE);

And I finally found the mysterious and long annoying "random crash bug" in this damned widget, too ;).

Sometimes it is better, to add new features, instead of hunting down bugs..

0 Comments:

Post a Comment

<< Home