Questions tagged [wxnotebook]
46 questions
1
vote
1 answer
wxpython notebook inside boxsizer
What is wrong with this code? I am trying to place a notebook on a panel that is being controlled by a boxsizer. I am new to wxpython and can't figure out what I am doing wrong. When I run it it just makes a mess in the corner :(
import…

phimath
- 1,322
- 2
- 12
- 22
1
vote
1 answer
No event when selecting a tab in notebook in wxPython
I am trying get an event to fire when the user selects or changes a tab on a notebook. Here is the code I have. In the PageOne class, I have tried to bind the wx.aui.EVT_AUINOTEBOOK_PAGE_CHANGED with ChangingTest(self, evt) function. It seems like…

Clete Boyce
- 11
- 4
1
vote
1 answer
How to get layout correct for matplotlib FigureCanvas in wx.Notebook panel
I've been struggling with this for a few days now. If I don't use a wx.Notebook, I can get the FigureCanvas to size correctly within a sizer, but once I place the FigureCanvas inside of a wx.Notebook panel, the plot seems to ignore the panel sizer.…

willblatt
- 55
- 1
- 7
1
vote
1 answer
wxpython boxsizer issue using wxnotebook
I am trying to nest an sizer with horizontal layout inside the vertical layout sizer of a notebookPage panel.
I took some inspiration from wxPython: Resizing a notebook within a notebook but cannot make it work properly.
Instead of getting this…

Frédéric Branger
- 13
- 3
1
vote
2 answers
wx* layout in wxNotebookPage
i'm trying to program the front-end for a schedule-application. In my main tab should be two lists (one above the other one). But this seems to be impossible (I've sat yesterday the half day and today for three more hours). So this is my…

michi.0x5d
- 959
- 9
- 13
0
votes
1 answer
wxPython scrolledwindow in a notebook does not scroll
I want to have scrolled windows on tabs of a notebook. If the window is too small the contents should be scrollable. Everything is laid out correctly if the window is big enough. It also looks correctly when the window is too small to fit…

filo
- 223
- 3
- 14
0
votes
1 answer
How to Center Tabs of wxNotebook in wxWidgets
Hi am using wxWidgets and want to center the tabs in wxNotebook. The default position of the tab buttons are left(screenshot attached). That is they are aligned to the left of the window. How can I make the tab buttons to be at the center of the…

Jason
- 36,170
- 5
- 26
- 60
0
votes
1 answer
wxNotebook - inner wxPanel - call method when page is changed
I have wxNotebook with several wxNotebookPage. Each page has a different content that inherits from wxPanel. What method from wxPanel is called when active page is changed? If I change panel, I would like to update panel content.
I have the similar…

Martin Perry
- 9,232
- 8
- 46
- 114
0
votes
2 answers
How to generate new pages on wxPython notebook with close buttons?
I have the following Toy Example code in which I create two tabs within a wxPython notebook. There is a button to add new pages and within each page I want to have a button that closes the page. However the below code does no action when clicking on…

Cedric Zoppolo
- 4,271
- 6
- 29
- 59
0
votes
1 answer
Automate Tabbing though tabs in WXnotebook
I have a WXnotebook that has different number of tabs depending on the amount of information that the program pulls. My goal is to take a screenshot of the information displayed by each tab and store those images. Im having a problem with the…

Jeff Pernia
- 79
- 1
- 13
0
votes
3 answers
New wxNotebook-Pages stay empty in wxPython
I made some sample code to try wxNotebook, but the new inserted pages remain completely empty.
If I don't use a Timer or a new Thread, but insert the pages before the MainLoop, it works.
I suspect I need an Update, Refresh or something like that…

Juri Robl
- 5,614
- 2
- 29
- 46
0
votes
1 answer
wxPython : Notebook seems not to work with multibinding
I am trying to create a wxPython app. Simplifying my setup, let's say that I have a left and a right panel. Left panel has my controls, which are sliders/buttons/etc. Right panel includes a notebook, where in each tab I am displaying video frames,…

Vasilis Lemonidis
- 636
- 1
- 7
- 25
0
votes
1 answer
Changing attributes in other panels
Here is the code I am working on:
import wx
import wx.aui
import wx.lib.scrolledpanel
from parse import *
import settings
parser=parse()
ID_OPEN = 101
ID_SAVE = 102
ID_QUIT = 103
factors = ['Power','Fuel','Pot Water','Bottled Water','Storage…
0
votes
1 answer
Self delete page in wx.Notebook
I want to dynamically create and delete pages in a notebook. In the main class I successfully create and add pages with a button. The pages are a separate class of course, and have a button inside.
I know I can put the button outside the notebook…

Javier
- 801
- 3
- 10
- 24
0
votes
1 answer
wxPython Toolbook/Toolbar, blank space between toolbar and frame
The screenshot is a snip of the left side of my main frame. This frame has a toolbook at the top. I've set the background color of both the toolbar in the toolbook and the frame to 0,0,0 but, as you can see, there is a small blank line between…

linus72982
- 1,418
- 2
- 16
- 31