Questions tagged [wxwidgets]

wxWidgets is a cross-platform GUI framework. It is written in C++ and has bindings for Python, Perl, Ruby, PHP, Erlang and even .Net. It also supports several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.

Information:

Current stable version: 3.0.5
Current development version: 3.1.5
Old stable version: 2.8.12

Homepage:

http://www.wxwidgets.org/

Documentation:

Books:

4153 questions
1
vote
1 answer

Put an AuiManager inside a AuiNotebook page

Is it possible ho put an AuiManager inside an AuiNotebook page? Have tested with a small sample code, but I only get a 'Segmentation fault'. Is this possible to begin with? The reason why I want this is to split a notebook page in two parts and get…
Orjanp
  • 10,641
  • 12
  • 36
  • 39
1
vote
1 answer

Rectangular border widths for sizer in wxPython

I have a sizer with a GridBagSizer with a single element in it as follows: sizer = wx.GridBagSizer() sizer.Add(wx.Button(self, label="click"), border=5, flag=wx.LEFT | wx.BOTTOM) however I dont want a square border, how can I have a separate size…
Har
  • 3,727
  • 10
  • 41
  • 75
1
vote
1 answer

How to expand wxTextCtrl in wxToolbar?

There is a tool button and a textctrl in the toolbar. I'm trying to expand the textctrl in the horizontal direction to fill all the remaining space. wxSizer maybe a good choice but it seems not suitable with toolbar because I can't add tool button…
Raymond
  • 13
  • 1
  • 3
1
vote
1 answer

wx.StaticLine doesn't always display

I have a wx.StaticLine separating some buttons in a wx.GridBagSizer. When the window initially draws, the StaticLine does not show up. Sometimes after a long running task (and I move the window around or something, presumably forcing the frame to be…
SFBA26
  • 870
  • 3
  • 12
  • 24
1
vote
2 answers

wxRichTextCtrl not working?

Global *.h scope: #include #include #include *.cpp file: wxTextCtrl* daTextCtrl; wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL); wxFrame *frame2 = new wxFrame(NULL, -1, wxT("Dialog Title"),…
Marin Sagovac
  • 3,932
  • 5
  • 23
  • 53
1
vote
1 answer

wxWidgets event table with custom event

I'm trying to implement a custom event in my wxWidgets application but I can't write the event table macros in a proper way. the files that I use to implement the event is like the following: the .h file #ifndef __APP_FRAME_H__ #define…
Sameh K. Mohamed
  • 2,323
  • 4
  • 29
  • 55
1
vote
2 answers

How to cancel a long time operation in WxPerl

I have a program like this ... $self->{bn1}=Wx::Button->new( $tb1, -1, 'Start'); EVT_BUTTON( $self, $self->{bn1}, \&on_click_start ); ... ... sub on_click_start { my( $this, $event ) = @_; $this->{bn1}->SetLabel("Cancel"); …
twjohn
  • 27
  • 1
  • 5
1
vote
1 answer

Programmatically Installing Fonts

How could I programmatically install a font on the Mac platform (Snow Leopard)? What steps would I need to follow? I would like for the user to input a font file, then my software installs it.
Avram
  • 4,267
  • 33
  • 40
1
vote
1 answer

wxpython: EVT_TREE_SEL_CHANGED event in treectrl in notebook when created

I am learning wxpython and have a question. When I create a treectrl within framework and call framework.show(), the first item in the treectrl is automatically selected (i.e., EVT_TREE_SEL_CHANGED event is fired). However, when I create a treectrl…
DSKim
  • 575
  • 1
  • 6
  • 16
1
vote
1 answer

wxWidgets: Client connects to the server, but the server does not recognize

I'm creating (at the time, to learn how) two applications console: a server and a client. The client can connect to the server. If the server is not available, the application terminates with error. The server waits make a connection, on line…
macabeus
  • 4,156
  • 5
  • 37
  • 66
1
vote
1 answer

wxMiniFrame always shows on top

I created a GUI in the wxFrame which is the main window. In the main window class, I have members which are a wxMiniFrame, and a wxPanel. On the wxPanel there is a button, when I click the button a new wxMiniFrame will create and show, the parent of…
user2753594
  • 145
  • 4
  • 15
1
vote
1 answer

wxPython internals: two created threads after calling app.MainLoop()

My question is about wxPython internals. When I run some simple and trivial application which contains wxPython code: app = wx.App(False) frame = MainWindow(None, "Window") app.MainLoop() As a result I have the 3 threads (before execution of this…
Mind Mixer
  • 1,503
  • 3
  • 13
  • 15
1
vote
1 answer

Textfield - what is wxTextCtrlNameStr?

Question I'm trying to create a basic wxWidgets program with a text entry box, in the constructor there is a variable wxTextCtrlNameStr - in researching I can't seem to find wxTextCtrlNameStr? any help? Given Code documentation: wxTextCtrl(wxWindow*…
Wallter
  • 4,275
  • 6
  • 29
  • 33
1
vote
1 answer

wxPython: How to exempt (let off) empty CSV columns and rows from importing into wxGrid

I have a script to import CSV file into a wxGrid, and now since users could possibly import CSV files data that includes empty columns and rows. I want to exclude all completely empty columns and rows from getting imported onto the Grid. I want…
Umar Yusuf
  • 926
  • 2
  • 13
  • 30
1
vote
1 answer

How to Reparent the panel when close the frame

I am creating a GUI which have a main window, which is wxFrame, on the main window there has a button. In the main window class, I have members which is a wxMiniFrame, and a wxPanel. The scenario is when I click the button a new wxMiniFrame will be…
user2753594
  • 145
  • 4
  • 15