Hello NG,
for those that are using NotebookCtrl, there are some news/updates, coming mainly from Stani's ideas. These are the news:
- “Themes” on tabs. There are 5 built-in themes (KDE, Aqua light, Aqua Dark, Metal, Windows Silver). Here the word “theme” should be taken with great care: what I have done is just reproduce the colours of each theme (the basic one, I hope) by colour gradients or shading rectangles using wxDC. Doing real theming of apps is much more complicated and allows you to apply the same theme with different colours. I generally don’t like theming (and that’s why I have chosen wxPython ), but of course if someone of you knows some reference on how actually do theming in wxPython, could he/she please share its knowledge?
Some more remarks:
a) I don’t know (I don’t have screenshots) which is the colour gradient for selected tabs for Metal and KDE style. So you won’t see any difference between selected or unselected tabs;
b) Though I have taken the “theming” gradient from references (in terms of numeric wxColours combinations) or by looking at screenshots using photoshop, I am not sure if they are correct. I have no idea about the theming on other OSs than Windows.
-
Contour line colour around tabs is customizable;
-
Highlight colour of selected tab is customizable;
-
Each tab can have its own gradient colouring (2 colours for every tab);
-
Corrected a bug (thanks to Alessandro Crugnola).
You can get the new sources and demo in the usual place:
http://xoomer.virgilio.it/infinity77/eng/NotebookCtrl.html#notebookctrl
Or, if you prefer in italian:
http://xoomer.virgilio.it/infinity77/ita/NotebookCtrl.html#notebookctrl
As usual, I welcome every comment, suggestion and idea. Sorry to have raised again the NotebookCtrl subject.
Thank you a lot.
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.virgilio.it/infinity77
Thank you Andrea for the great efforts with this really nice control
It looks better and better.
I would like to report a couple of things:
When the tabs on the screen are more than the control can display not always the navigation arrows are displayed correctly. I noticed that sometimes the last tab remains hidden.
another thing related to this it that when you have scrolled the tabs using the right arrow and you try to drag the last tab it will raise this error:
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Documents and Settings\acrugnola\Desktop\NotebookCtrl\NotebookCtrl.py", line 3051, in OnPaint
self.DrawInsertionMark(dc, self._olddragpos)
File "C:\Documents and Settings\acrugnola\Desktop\NotebookCtrl\NotebookCtrl.py", line 1818, in DrawInsertionMark
rect = self._tabrect[nPage]
IndexError: list index out of range
thank you again!
alex
Andrea Gavana wrote:
···
Hello NG,
for those that are using NotebookCtrl, there are some news/updates, coming mainly from Stani's ideas. These are the news:
1) "Themes" on tabs. There are 5 built-in themes (KDE, Aqua light, Aqua Dark, Metal, Windows Silver). Here the word "theme" should be taken with great care: what I have done is just reproduce the colours of each theme (the basic one, I hope) by colour gradients or shading rectangles using wxDC. Doing *real* theming of apps is much more complicated and allows you to apply the same theme with different colours. I generally don't like theming (and that's why I have chosen wxPython ), but of course if someone of you knows some reference on how actually *do* theming in wxPython, could he/she please share its knowledge?
Some more remarks:
a) I don't know (I don't have screenshots) which is the colour gradient for selected tabs for Metal and KDE style. So you won't see any difference between selected or unselected tabs;
b) Though I have taken the "theming" gradient from references (in terms of numeric wxColours combinations) or by looking at screenshots using photoshop, I am not sure if they are correct. I have no idea about the theming on other OSs than Windows.
2) Contour line colour around tabs is customizable;
3) Highlight colour of selected tab is customizable;
4) Each tab can have its own gradient colouring (2 colours for every tab);
5) Corrected a bug (thanks to Alessandro Crugnola).
You can get the new sources and demo in the usual place:
http://xoomer.virgilio.it/infinity77/eng/NotebookCtrl.html#notebookctrl
Or, if you prefer in italian:
http://xoomer.virgilio.it/infinity77/ita/NotebookCtrl.html#notebookctrl
As usual, I welcome every comment, suggestion and idea. Sorry to have raised again the NotebookCtrl subject.
Thank you a lot.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
--
Alessandro Crugnola
Flash | PHP | Python Developer
+39 3939402645
+39 0236522445
--
Wednesday, December 21, 2005, 7:35:54 PM, Andrea Gavana wrote:
You can get the new sources and demo in the usual place:
http://xoomer.virgilio.it/infinity77/eng/NotebookCtrl.html#notebookctrl
Or, if you prefer in italian:
http://xoomer.virgilio.it/infinity77/ita/NotebookCtrl.html#notebookctrl
Am I the only one that cannot access that pages?
Firefox always says that "The server at xoomer.virgilio.it is taking
too long to respond."
-- tacao
No bits were harmed during the making of this e-mail.
Am I the only one that cannot access that pages?
I don't know, but I can access both without problems (using Konqueror on SuSE 9.3).
Stephan
···
On Wednesday 21 December 2005 22:37, E. A. Tacao wrote:
Wednesday, December 21, 2005, 7:35:54 PM, Andrea Gavana wrote:
> You can get the new sources and demo in the usual place:
> http://xoomer.virgilio.it/infinity77/eng/NotebookCtrl.html#notebookctrl
> Or, if you prefer in italian:
> http://xoomer.virgilio.it/infinity77/ita/NotebookCtrl.html#notebookctrl
Am I the only one that cannot access that pages?
Firefox always says that "The server at xoomer.virgilio.it is taking
too long to respond."
-- tacao
No bits were harmed during the making of this e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Hi Andrea,
I discovered another bug. I don’t know if it is reported or fixed
already. If you choose a random tab, but not the last one and then you
press the close button of the last tab, it gives an error like:
Traceback (most recent call last):
File “/Volumes/TRUNK/_spe/sm/wxp/NotebookCtrl.py”, line 1807, in OnMouseMotion
File “/Volumes/TRUNK/_spe/sm/wxp/NotebookCtrl.py”, line 1107, in IsPageEnabled
ERROR: Invalid Notebook Page In IsPageEnabled: (9)
Thanks for your efforts,
Stani
···
On 12/22/05, Alessandro Crugnola wishmaster@sephiroth.it wrote:
Thank you Andrea for the great efforts with this really nice control
It looks better and better.
I would like to report a couple of things:
When the tabs on the screen are more than the control can display not
always the navigation arrows are displayed correctly. I noticed that
sometimes the last tab remains hidden.
another thing related to this it that when you have scrolled the tabs
using the right arrow and you try to drag the last tab it will raise
this error:
–
http://pythonide.stani.be
http://pythonide.stani.be/screenshots
http://pythonide.stani.be/manual/html/manual.html
Hi Andrea,
I can not get to your page using Firefox. I always get "Document contains no data" errors after waiting a long time. Can't you put your projects on say Source Forge or alike, so we (for example Tacao also suffers the same problem) can use your excellent components?
Thank you for your efforts and good work.
Murat Ozsoyler
Andrea Gavana wrote:
···
Hello NG,
for those that are using NotebookCtrl, there are some news/updates, coming mainly from Stani's ideas. These are the news:
1) "Themes" on tabs. There are 5 built-in themes (KDE, Aqua light, Aqua Dark, Metal, Windows Silver). Here the word "theme" should be taken with great care: what I have done is just reproduce the colours of each theme (the basic one, I hope) by colour gradients or shading rectangles using wxDC. Doing *real* theming of apps is much more complicated and allows you to apply the same theme with different colours. I generally don't like theming (and that's why I have chosen wxPython ), but of course if someone of you knows some reference on how actually *do* theming in wxPython, could he/she please share its knowledge?
Some more remarks:
a) I don't know (I don't have screenshots) which is the colour gradient for selected tabs for Metal and KDE style. So you won't see any difference between selected or unselected tabs;
b) Though I have taken the "theming" gradient from references (in terms of numeric wxColours combinations) or by looking at screenshots using photoshop, I am not sure if they are correct. I have no idea about the theming on other OSs than Windows.
2) Contour line colour around tabs is customizable;
3) Highlight colour of selected tab is customizable;
4) Each tab can have its own gradient colouring (2 colours for every tab);
5) Corrected a bug (thanks to Alessandro Crugnola).
You can get the new sources and demo in the usual place:
http://xoomer.virgilio.it/infinity77/eng/NotebookCtrl.html#notebookctrl
Or, if you prefer in italian:
http://xoomer.virgilio.it/infinity77/ita/NotebookCtrl.html#notebookctrl
As usual, I welcome every comment, suggestion and idea. Sorry to have raised again the NotebookCtrl subject.
Thank you a lot.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 21.12.2005