Questions tagged [wxnotebook]

46 questions
0
votes
1 answer

sizers and controls next to notebooks

I am facing layout problems implementing controls next to a notebook. The Problem is, the notebook and the controls next to it are properly aligned as intended, but the ones on th window in the notebook are placed on top of each other, as if there…
Mohammed Li
  • 823
  • 2
  • 7
  • 22
0
votes
1 answer

wxpython notebook panel hangs when threads are running

I am trying to develop a gui using wxpython that has 3-4 notebook panels and one of these panels (master panel) calls another python script called abc.py. In this abc.py i am running several(>10) threads simultaneously. When I hit run button on…
Bhoomika Sheth
  • 323
  • 5
  • 17
0
votes
2 answers

How to size multiple canvases in wx.Notebook, issue with float sizes and overlap (WxPython, Matplotlib)

I am trying to make a wx.Notebook with a FigureCanvas on each page and unique figures/axes in those canvases. The problem is that if the figure size (by fig.set_size_inches) is a float to 2 or more decimal places the figures on different pages will…
vopsea
  • 85
  • 7
0
votes
1 answer

Which widget in PySide is similar to wxNotebook control in wxwidgets?

I have to replace the wxNotebook control with a PySide equivalent. Which widget/approach in PySide shall I use best?
EricBkc
  • 369
  • 2
  • 4
  • 12
0
votes
1 answer

wxpython notebook - creating new pages

I'm new here and I'm newbie in coding (since April, this year) so please be gentle ;-) This is my simplified code. Each time I'm creating new page in the notebook by clicking "ClickMe" button. My question is: Is there any option to not use if/elif…
dhutirth
  • 21
  • 2
0
votes
1 answer

wxPython Vertical Scroll for Notebook Tab

I am trying to add a vertical scroll bar to one of my notebook tabs using wxPython. I have tried adding the window style wx.VSCROLL to a few different panels and I am not getting any luck. Here is my code: import wx import os class…
user908759
  • 1,355
  • 8
  • 26
  • 48
0
votes
1 answer

Changing tab text size in wxpython notebook

Is it possible to change the font size of the tab titles in a wx.Notebook? I know how to change the tab spacing/padding with SetPadding, but I want to change the actual size of the text as well.
vopsea
  • 85
  • 7
0
votes
2 answers

How to size a panel to fit a grid

Here is the simplest example I can make of what I am trying to do. It is a grid inside a panel: #!/usr/bin/env python import wx import wx.grid app = wx.App(False) class InfoPane(wx.grid.Grid): def __init__(self, parent): …
GreenAsJade
  • 14,459
  • 11
  • 63
  • 98
0
votes
1 answer

How to size a wx panel to fit a wx.Notebook (wxpython)

I have a frame with a panel containing a notebook at the top level, with each page containing different panes: panel = wx.Panel(self) self._panel = panel # Arrange the various views in a notebook self._topNoteBook =…
GreenAsJade
  • 14,459
  • 11
  • 63
  • 98
0
votes
1 answer

Matplotlib canvas doesn't embed in wx panel

I'm writing a class to embed some common configurations of graphs in a wx Notebook tab, but I'm running into a strange issue. When I try to add wx.Panel with the FigureCanvas, instead it floats the figure in another window entirely. The odd thing…
bheklilr
  • 53,530
  • 6
  • 107
  • 163
0
votes
1 answer

wxnotebook scrolling off to area monitor

I want to make a program that can scroll to areas off page using wxnotebook, because the area I have to work with on the monitor is too small for the program. I tried one method, but cant get the scrolling to work. Here's an example code of what I…
user2543008
  • 7
  • 1
  • 2
0
votes
2 answers

How to delete a notebook page?

I have a wxPython GUI where I add pages to a notebook using checkboxes. Every time the checkbox changes its status to 'True' a page is added. But how do I delete the page when the checkbox changes status to 'False'? There are a couple if checkboxes,…
Thomas Becker
  • 471
  • 3
  • 8
  • 16
0
votes
2 answers

Embed Separate WX GUIs into Notebook Tabs

I basically have 3 separate wxPython GUIs that I would like to combine into a single application, giving each GUI its own notebook tab. I'm not really sure how to do this though and am looking for some advice. I appreciate any comments or thoughts I…
Mike
  • 1,561
  • 3
  • 15
  • 18
0
votes
1 answer

How do I create a multiline wxNotebook for gtk?

wxWidgets provides for notebooks with multiple lines of tabs only on Windows platforms. Is there a simple way to provide similar functionality on GTK based platforms, or am I stuck with the only option being to create a customized notebook class…
Evan Grim
  • 5,045
  • 4
  • 25
  • 20
-1
votes
1 answer

wxPython - Tooltips for notebook tabs

I'm creating a GUI using wxPython that uses the wx.Notebook widget. Since I removed the labels on the Notebook tabs for design purposes, I would like to add tooltips for each tab individually that show the tab's purpose. I thought I could use the…
maxTwo
  • 33
  • 7