ElAdnan / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

Notebook buttons to activate pages instead of tabs #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible that you can add the ability to display a tab with a button if 
you hide the tabs with ==> show-tabs = "false", example:

    <notebook tab-pos="2" show-border="false" show-tabs="false"
        page="0" enable-popup="true" homogeneous="false">
        ...
        ...
        ...
    </notebook>

If you add this option then much more complex GUIs could be made :)

François Fabre via email

Original issue reported on code.google.com by thunor...@hotmail.com on 3 Aug 2011 at 11:27

GoogleCodeExporter commented 8 years ago
"If you could add an action to change the page of a tab this action would 
really make interfaces more advanced - switch-page 0/1/2/3 / ..."

The reasonably simple solution to this is to enable directives for the notebook 
widget [within the parser] so that it will accept the variable directive, and 
then the widget's shell variable can contain the page number which can be 
refreshed from an input command or file. This is consistent with how other 
widgets operate. Then you can have hidden pages that can be flipped in and out!

Original comment by thunor...@hotmail.com on 4 Aug 2011 at 12:09

GoogleCodeExporter commented 8 years ago

Original comment by thunor...@hotmail.com on 12 Aug 2011 at 9:20

GoogleCodeExporter commented 8 years ago
Done.

Original comment by thunor...@hotmail.com on 16 Aug 2011 at 3:01

GoogleCodeExporter commented 8 years ago
Hello,
It's too much:)
it works wonderfully,
it will open so many possibilities
In short, I am pleased with you!

François

Original comment by frafas...@gmail.com on 17 Aug 2011 at 9:16