Re: IDE to develop app with GTK3 on windows using MSYS2

2018-05-07 Thread Igor Chetverovod
For GTK app development I am using Qt Creator (community edition) for Linux and Win.   Also it has vi mode. Отправлено с моего смартфона BlackBerry 10.   Исходное сообщение   От: arkkimede Отправлено: понедельник, 7 мая 2018 г., 10:30 Кому: gtk-app-devel-list list Тема: IDE to develop app with GT

Re: Locale switch on the fly

2017-07-17 Thread Igor Chetverovod
frame_button, "clicked", G_CALLBACK(translate_frame), frame); /* connect the button event with the "translate" function */ g_signal_connect (translate_menu_button, "clicked", G_CALLBACK(translate_menu), menu); /* connect the button event with the

Locale switch on the fly

2017-07-17 Thread Igor Chetverovod
Hi all, I have a need to switch locale on the fly (without an application UI reload). I have a function which are using gkt_container_forall() for marking of all widgets are having GObject property "label" , all of them get aditional GObject field "msg_id" with original english text of propert

Re: How to in GTK3 set global default text size?

2017-05-16 Thread Igor Chetverovod
Done! I had copied changed settings.ini file to the folder /etc/gtk-3.0 in aplication folder and font size was updated in whole UI of application. 2017-05-16 16:58 GMT+03:00 Igor Chetverovod : > Hello, Emmanuele! > > In the installation sequence for windows there is a trap - msys

Re: How to in GTK3 set global default text size?

2017-05-16 Thread Igor Chetverovod
d other assets when > distributing your application. > > On 16 May 2017 at 14:04, Igor Chetverovod wrote: > > > I am making porting my own win32 application from GTK2 to GTK3.6.4. I > have > > an issue, for GTK3 all text labels on the user interface have a bigger > > f

How to in GTK3 set global default text size?

2017-05-16 Thread Igor Chetverovod
Hello list, I am making porting my own win32 application from GTK2 to GTK3.6.4. I have an issue, for GTK3 all text labels on the user interface have a bigger font size then for GTK2. Is there global setting which can control default font size for UI elements? Best regards, Igor __

Re: Unusual behavior of locale switch in GTK2.0 application

2017-03-17 Thread Igor Chetverovod
do is simply: putenv ("LANG=zh_CN") ..." I had added putenv ("LANG=RU") and putenv ("LANG=EN") before bindtextdomain() and localization had became work. Best regards, Igor 2017-03-17 12:05 GMT+03:00 Igor Chetverovod : > Hello All, > About 5 years

Unusual behavior of locale switch in GTK2.0 application

2017-03-17 Thread Igor Chetverovod
Hello All, About 5 years ago a had developped win32 application which is using 2 locales: En and Ru. Application is using GTK v2.24.10, glib v.2.28.8. Lacalization is based on get_text() function and dictionaries genereted by Poedit. Nullsoft NSIS v3.x script is used for installator generation.

Re: Threads and idle functions

2012-07-02 Thread Igor Chetverovod
Hi David, probably you should use macros: gdk_threads_enter () gdk_threads_leave (). Best regards, Igor 2012/7/3, David Buchan : > My understanding is that child threads must never alter the UI in any way. > > If I have a program which spawns a child thread to download some data and I > want to

Re: Getting the "busy" cursor to display.

2012-04-11 Thread Igor Chetverovod
2012/4/11, James Tappin : > On 10 April 2012 11:36, Michael Cronenworth wrote: > >> James Tappin wrote: >> > Is there some other call (or calls) I should be making to force the >> updates >> > to take place? >> >> I use the following for widget updates during background processing: >> >>while

Re: Compiling for Win XP SP1

2012-03-05 Thread Igor Chetverovod
2012/3/5, Lucas Levrel : > Le 5 mars 2012, Igor Chetverovod a écrit : >> II am writing GTK+2.16 applications under Win XP2. They are working >> without issues on very old laptops with Win 2000. So I think you >> should investigate your instalation file set. May be it doe

Re: memory leak on windows

2012-03-04 Thread Igor Chetverovod
2012/3/2, Gaetano Guerriero : > Greetings, > this code leaks memory on Windows XP until the program crashes after some > minutes: > === > #include "gtk/gtk.h" > > static gboolean progressbar_pulse(gpointer data) { > gtk_progress_bar_pulse(GTK_PROGRESS_BAR(data)); > retur

Re: Compiling for Win XP SP1

2012-03-04 Thread Igor Chetverovod
Hi Lucas, II am writing GTK+2.16 applications under Win XP2. They are working without issues on very old laptops with Win 2000. So I think you should investigate your instalation file set. May be it does not contain some necessary libs. Best regards, Igor 2012/3/4, Lucas Levrel : > Hi, > > T

Re: Are there such tings like custom signals?

2012-01-20 Thread Igor Chetverovod
Hi Manuel, Please see glibGIOChannel. It is unified way to make I/O data from files, sockets an so on. I am using it for Ethernet sockets under win32. Best regars, Igor 2012/1/20, Manuel Ferrero : > I'm learning GTK+ and I was able to write, compile and run a simple code > on my win32