Все вопросы: [wxwidgets]

153 вопросов

похожие теги:
1
голосов
1ответов
366 просмотров

how to allow user to order columns with wxListCtrl in report mode

with wxListCtrl, how to allow the user to rearrange the column order at runtime ? just like in windows. Tnx, Vertilka

2
голосов
1ответов
1647 просмотров

wxwidgets custom control size cannot be set.What am i missing out

I have a Custom control derived from wxControl,inside a dialog with a vertical sizer wxBoxSizer *topSizer = new wxBoxSizer( wxVERTICAL ); Knob* newKnob = new Knob(panel,wxID_ANY,wxDefaultPosition,wxSize(40,40)); topSizer->Add(newKnob,0,wxALL|wxALIGN_CENTER); panel->SetSizer(topSizer); topS...

1
голосов
2ответов
672 просмотров

Rendering unicode characters correctly on textbox

I am working on a translation application in which users are allowed to give English input and I need to convert to a target language and display on a text box. I am facing problems in displaying unicode characters. Complex characters are not rendering correctly. I know windows uses Uniscribe fo...

2
голосов
2ответов
1906 просмотров

XP Visual Style in wxWidgets?

I'd like to know whether it is possible to enable XP Visual Style in wxWidgets, as it is not enabled by default. All of the controls were drawn in classic Windows style. I'm using wxMSW packed with wxPack, but without wxFormBuilder (http://wxpack.sourceforge.net/), and MSVC++ 2008 EE as the ide...

3
голосов
1ответов
6209 просмотров

Multithreading in wxWidgets GUI apps?

I'm having problem (basically, I'm confused.) while trying to create a worker thread for my wxWidgets GUI application that WILL MODIFY one of the GUI property itself. (In this case, wxTextCtrl::AppendText). So far, I have 2 source files and 2 header files for the wx program itself (excluding my ...

5
голосов
3ответов
4236 просмотров

Can i use the google chrome gui library code for own desktop applications?:

I mean is it useable like WxWidgets to develop total non web releated client apps. A HTML widget is always nice but does it provide all the other common widgets a typical appication needs? Is it hard to generate a build script for an chrome based application or are the make files full of chrome ...

0
голосов
2ответов
1680 просмотров

wx.TextCtrl.LoadFile()

I am trying to display search result data quickly. I have all absolute file paths for files on my network drive(s) in a single, ~50MB text file. The python script makes a single pass over every line in this file [kept on the local drive] in a second or less, and that is acceptable. That is the t...

0
голосов
2ответов
2112 просмотров

How to build wxmathPlot for win32?

I downloaded the latest wxmathplot but the readme is a bit sparse with instructions on how to build on win32 platform. Has anyone used this library for win32? Can someone point me to the docs or give some hints/advice on how to build for win32 targets. We'll eventually use this for cross platf...

2
голосов
2ответов
261 просмотров

How to set a minimum size for a Window in wxRuby

I'm doing a simple GUI using wxRuby. I have just only read the tutorials and FAQ on the official site of the gem, but there are just a few examples. I want to know if there's a way (i'm sure there is a way but i don't know how to implement it) to set a minimum size of the windows... For example...

1
голосов
2ответов
601 просмотров

WX_CONFIG_OPTIONS: command not found

I'm trying to build Aegisub on linux mint, I'm getting the following error during ./autoget.sh /home/hasenj/code/aegisub/aegisub/configure: line 25685: WX_CONFIG_OPTIONS: command not found /home/hasenj/code/aegisub/aegisub/configure: line 25686: syntax error near unexpected token `debug' /home/h...

1
голосов
2ответов
320 просмотров

Is it a bad idea to run WxWidgets and GTK?

I'm currently writing a media player in Ruby (called Shroom) with a GTK interface, but I use WxWidget's MediaCtrl for cross-platform audio playback abstraction. I don't want to use WxRuby for the interface as well, as I need to work with GTK's TreeView. What kind of performance problems may aris...

5
голосов
7ответов
2753 просмотров

Switching from wxWidgets to QT for porting to Mac?

We are selling an image processing application (about 120k lines of code) developed with wxWidgets. We planned everything to be as most cross platform as possible in case the porting from Windows to other OS was needed. And in fact we are going to realiza a version for Mac. We haven't tested wxWi...

9
голосов
1ответов
3814 просмотров

How can you calculate the percentage overlap of two rectangles?

I wrote a drawing function that draws various on-screen sprites. These sprites can only overlap up to a point. If they have to much overlap, they become too obscured. As a result I need to detect when these sprites are too much overlapped. Luckily, the problem is simplified in that the sprites ca...

0
голосов
1ответов
212 просмотров

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 that supports it?

4
голосов
2ответов
3748 просмотров

How to create hover effect on StaticBitmap in wxpython?

I want to create hover effect on StaticBitmap - If the cursor of mouse is over the the bitmap, shows one image, if not, shows second image. It's trivial program (works perfectly with a button). However, StaticBitmap doesn't emit EVT_WINDOW_ENTER, EVT_WINDOW_LEAVE events. I can work with EVT_MOTI...

2
голосов
2ответов
9584 просмотров

C++ : wxWidget HelloWorld

When compiling my wxWidget HelloWorld application, I am getting the following errors: Warning 1 warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library wxWidget__HelloWorld wxWidget__HelloWorld Error 2 error LNK2001: unresolved external symbol...

2
голосов
1ответов
1565 просмотров

OleInitialize fails when Common Lanuage Runtime is enabled?

I am working on a wxWidgets console application that I want to call into = a C# DLL from, via the CLR. Unfortunately, the application hiccups in the wxWidgets application initialization code because OleInitialize is failing. The error I'm seeing is a pop-up simply stating "Cannot initialize OLE...

0
голосов
2ответов
5030 просмотров

Using WxWidgets with Eclipse for C++

I installed wxWidgets and then followed the instructions to make it with MSYS. After it was done, I copied a sample from a site and put it on a project in eclipse. The code was: #include <wx/string.h> int main(int argc, char **argv) { wxPuts(wxT("A wxWidgets console application")); } ...

7
голосов
5ответов
16210 просмотров

(C++) MessageBox for Linux like in MS Windows

I need to implement a simple graphical message box for a Linux (SDL) application similar to the Windows MessageBox in C++ (gcc/g++ 4.4.0). All it needs to do is to display a caption, a message and an ok or close button and to return to the calling function when that button is clicked. SDL just u...

0
голосов
2ответов
1114 просмотров

wxErlang - What is wrong with this code?

I am very new to erlang and am trying to get my head around wxerlang but have hit a wall. Can someone have a look at this code and tell me what is wrong. I think it is something very obvious, but I just can't work it out. -module(main). -include_lib("include/wx.hrl"). -behavoiur(wx_object)....

3
голосов
7ответов
4739 просмотров

native win32 gui programming in c++ or choose wxWidgets?

i like to write GUI software ( i have no experience in GUI programming ) i need it to be small as possible and fast GUI and native Look and Feel in one self contained exe . only on windows from windows 2000 to windows 7 ( or what ever it called ) . what will be the best choice ? win32 api or wxW...

1
голосов
1ответов
2792 просмотров

Game engine map editor. SDL->wxWidgets

I have been writing an OpenGL game engine for a while which uses SDL for all the window management and for portability. I would like to create a level editor using the full engine. The engine itself isn't at all tied in with SDL except for input. I would like to use wxWidgets for the GUI and I ha...

2
голосов
2ответов
5729 просмотров

wxwidgets/wxPython: Resizing a wxFrame while keeping aspect ratio

I have a wx.Frame that has only a single child. While setting up the child's wx.Sizer, I can use the wx.SHAPED flag, which keeps the aspect ratio of the child locked. However, the Frame still has complete freedom in it's aspect ratio, and will leave a blank space in the area that is left unused b...

1
голосов
2ответов
736 просмотров

Debugging a makefile step by step

I want to debug a makefile . I came across many posts in Stackoverflow but still need some help . INCLUDEPATHS=/I"/C:/wxWidgetsDev/lib/vc_lib/mswd" /I"/C:/wxWidgetsDev/include/msvc/" LIBPATHS=LIBPATH:"/C:/wxWidgetsDev/lib/vc_lib" HEADERS=headers.h util.h main.h serialize.h uint256.h db.h base58....

3
голосов
1ответов
3274 просмотров

wxWidgets - Alpha blending

Is there a way in wxWidget to do alpha blending operations such as multiplying the alpha of a bitmap versus the RGB of other bitmap to generate new images (such as rendering a photo as an anti-aliased circular shape).

10
голосов
1ответов
7893 просмотров

wxPython: Items in BoxSizer don't expand horizontally, only vertically

I have several buttons in various sizers and they expand in the way that I want them to. However, when I add the parent to a new wx.BoxSizer that is used to add a border around all the elements in the frame, the sizer that has been added functions correctly vertically, but not horizontally. The ...

0
голосов
4ответов
3624 просмотров

WxWidgets problem - Cannot convert from 'const char [1]' to 'wxString&w

Environment : Visual Studio 2008 , wxWidgets 2.8.10 , Vista 64 Code header.h #include <wx/wx.h> class CSend { CSend(wxString& name = ""); ~CSend(); }; main.cpp #include "header.h" void main() { CSend dlg(wxString("Hi")); } When I compile this program I get the foll...

5
голосов
1ответов
4086 просмотров

Non-editable text box in wxPython

How to create a non-editable text box with no cursor in wxPython to dump text in?

2
голосов
2ответов
212 просмотров

How can my WxPerl application ignore keypresses while a method runs?

I have an application that waits for the user to press a key and then executes a long running method that periodically updates the GUI. sub keypress{ my $self = shift; my $event = shift; if ($event->GetKeyCode() == WXK_F12){ $self->doStuff(); }else{ $event -> Skip(0...

15
голосов
7ответов
18162 просмотров

Developing Windows applications on Linux?

My primary OS is Linux, but now I'm forced to write some C++ applications for Windows. I was thinking about developing on the Linux box with cross platform libraries like WxWidgets (and some care about other platform dependencies) and then cross compiling the result to mingw target. So the tools...