Search found 13 matches

by esp
Fri Jul 04, 2008 2:36 pm
Forum: Platform Related Issues
Topic: How set focus on wxStaticText in wxGTK?
Replies: 2
Views: 466

Perhaps text just can't get focus in GTK (anyway, what is the use of focusing text? perhaps describe what you're trying to do that for) I try to explain. I have panel with several buttons and static text. This panel have to catch pressed keys(chars) and do different things. In wxGTK If focus on but...
by esp
Thu Jul 03, 2008 5:24 pm
Forum: Platform Related Issues
Topic: How set focus on wxStaticText in wxGTK?
Replies: 2
Views: 466

How set focus on wxStaticText in wxGTK?

Hello. In wxMSW I overload method AcceptsFocus and it works like it: class MyStaticText: public wxStaticText { public: MyStaticText(wxWindow *pp,wxWindowID id,wxString lbl,wxPoint pos,wxSize sz,long style) { Create(pp,id,lbl,pos,sz,style|wxWANTS_CHARS); }; virtual bool AcceptsFocus() const { return ...
by esp
Thu Jul 03, 2008 5:17 pm
Forum: Platform Related Issues
Topic: How capture screenshot under wxGTK in wxBitmap?
Replies: 2
Views: 657

doublemax wrote:did you try the code from the FAQ?
http://forums.wxwidgets.org/viewtopic.php?p=32313#32313
Thank you, works fine.
by esp
Tue Jul 01, 2008 9:41 pm
Forum: Platform Related Issues
Topic: How capture screenshot under wxGTK in wxBitmap?
Replies: 2
Views: 657

How capture screenshot under wxGTK in wxBitmap?

Hi!


May be someone knows?





WBW.
by esp
Wed Apr 02, 2008 3:57 pm
Forum: wxWidgets Development (Russian)
Topic: GTK+UTF-8+UNICODE= Key event проблемка.
Replies: 9
Views: 4138

Как бы обратить внимание разработчиков на эту проблему? Help.

EmulateKeyPress тоже криво работает. Игнорит русскую раскладку полностью.

Я у себя пофиксил - но как бы это в проект засунуть.
by esp
Thu Mar 27, 2008 1:29 am
Forum: wxWidgets Development (Russian)
Topic: GTK+UTF-8+UNICODE= Key event проблемка.
Replies: 9
Views: 4138

OK, 2 questions: 1. What happen if you start the app with English keyboard? Everything ok. All events from all keys fine. 2. What hapen if you change the layout from Russian to English during the app run? First of all, events from keys which switch layout (for example Ctrl-Shift) then digits and fu...
by esp
Wed Mar 26, 2008 9:54 pm
Forum: wxWidgets Development (Russian)
Topic: GTK+UTF-8+UNICODE= Key event проблемка.
Replies: 9
Views: 4138

In K (GNOME,FireFox,...) set the initial keyboard layout to Russian. Start the program, test it then change the layout to English while the program runs. The same. In screenshot I pressed key '1' and then 'q' in Russian layout. wxGTK complited with "configure --with-gtk --enable-unicode --with-gnom...
by esp
Wed Mar 26, 2008 9:06 am
Forum: wxWidgets Development (Russian)
Topic: GTK+UTF-8+UNICODE= Key event проблемка.
Replies: 9
Views: 4138

ONEEYEMAN wrote:I'm guessing the default language is English?
What happen if you set Russian as default?
Default language is Russian.
LANG=ru_RU.UTF-8 is you meant it.


The same thing if I set default keyboard Russian instead of English.


What you mean "as default"?

WBW.
by esp
Tue Mar 25, 2008 5:20 pm
Forum: wxWidgets Development (Russian)
Topic: GTK+UTF-8+UNICODE= Key event проблемка.
Replies: 9
Views: 4138

GTK+UTF-8+UNICODE= Key event проблемка.

Привет братцы. Очень рад увидеть здесь раздел для русскоязычных. Повторю свой вопрос по-русски. По-английски никто не ответил. wxWidgets 2.8.6 GTK сборка под ubuntu 7.10 юникод. (вообще этот глюк везде в wxwidgets есть в линуксах) Берем собираем sample "keyboard". Переключаемся на русский. В ивент о...
by esp
Wed Oct 31, 2007 10:35 pm
Forum: Platform Related Issues
Topic: GTK+UTF-8+UNICODE= Key event problem?
Replies: 2
Views: 459

So, no ideas?


Or you need additional description of problem?
by esp
Sun Oct 21, 2007 5:19 pm
Forum: Platform Related Issues
Topic: GTK+UTF-8+UNICODE= Key event problem?
Replies: 2
Views: 459

GTK+UTF-8+UNICODE= Key event problem?

Hello. I have some problem. When I compile wxwidgets 2.8.6 (version not matter) sample "keyboard" in GTK,UNICODE (ubuntu - but not matter) with UTF-8 LANG and switch keyboard in Russian group keys - I got following char event: "Char event:NUL (flags = ----) (raw key code/flags: 3213029900 and 0x0)" ...
by esp
Thu May 24, 2007 10:08 am
Forum: Platform Related Issues
Topic: Printing with GnomePrint under Ubuntu 7.04
Replies: 0
Views: 448

Printing with GnomePrint under Ubuntu 7.04

Hello friends, I tried compile and run printing example on Ubuntu 7.04 and with GnomePrint. And got follow errors: (printing:23648): GnomePrint-WARNING **: Could not create filter from description 'GnomePrintFilterSelect': filter 'GnomePrintFilterSelect' is unknown (printing:23648): GLib-GObject-WAR...