Gtk::MessageDialog

2013-02-13 Thread Doesnt Stop
I am trying to create a gui interface for my Exception class, but I am getting some errors from GTKmm library, this is the error message: 1>-- Build started: Project: vsSamiira, Configuration: Debug Win32 -- 1> vsApp.cpp 1> uiexception.cpp 1>d:\gtkmm\include\pango-1.0\pango\pango-utils.h(3

Re: Glib::ustring move constructor and C++11 features

2013-02-13 Thread Florian Philipp
Am 13.02.2013 17:55, schrieb אנטולי קרסנר: > Can I use std::u16string, std::u32string or std::string (with u8 string > literals) with gettext and get perfect UTF-8 i18n-alized strings just > like I would get by using Glib::ustring and gettext (including > glibmm/i18n.h in source files and mark stri

Re: Glib::ustring move constructor and C++11 features

2013-02-13 Thread אנטולי קרסנר
Can I use std::u16string, std::u32string or std::string (with u8 string literals) with gettext and get perfect UTF-8 i18n-alized strings just like I would get by using Glib::ustring and gettext (including glibmm/i18n.h in source files and mark string with _("...") macro)? If I can, there's one pro

Re: Glib::ustring move constructor and C++11 features

2013-02-13 Thread Kjell Ahlstedt
There is a gtkmm-list thread from November 2012, discussing move constructors in gtkmm and glibmm. The thread starts at https://mail.gnome.org/archives/gtkmm-list/2012-November/msg00072.html Move constructors will most probably be added in the future, but I don't know if it will be in the near

Re: Glib::ustring move constructor and C++11 features

2013-02-13 Thread Doesnt Stop
you could use std::u16string or std::u32string instead of Glib::ustring; they would handle hebrew, no problem. Take advantage of C++11 new features! - Original Message - From: tomback...@gmail.com Sent: 02/12/13 01:13 PM To: gtkmm-list@gnome.org Subject: Glib::ustring move constructor and

RE: VSE10 and GTKmm 2.22

2013-02-13 Thread Doesnt Stop
Outstanding!! I was just about to drop Gtkmm, thinking the worst of it, but you saved the day Dos Santos. WOW!! A big thanks to you man! - Original Message - From: Dos Santos, Oliveira Sent: 02/13/13 05:53 AM To: Dos Santos, Oliveira, 'Doesnt Stop', 'Gavin Lambert' Subject: RE: VSE10 and G

Glib::ustring move constructor and C++11 features

2013-02-13 Thread אנטולי קרסנר
Hi everybody, I've been writing an application which loads a possibly long Glib::ustring from a file and stores it as a data member of a c++ class I wrote. I wanted to use a move-constructor to pass that string to the class constructor by rvlaue reference, but Glibmm doesn't use C++11 features. A

RE: VSE10 and GTKmm 2.22

2013-02-13 Thread Dos Santos, Oliveira
And here you have the content of my stdafx.h specification file: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently #ifndef GTKMM_TEST_STDAFX_H__ #define GTKMM_TEST_STDAFX_H__ #define WIN32_

RE: VSE10 and GTKmm 2.22

2013-02-13 Thread Dos Santos, Oliveira
Hi, Basically, it’s that ! But in the Gnome tutorial (UsingMSVC), they forgot to specify how to redirect Gtk UI to WinAPI properly and they didn't append imm32.lib and msvcrt.lib static libraries. Your main.c/cpp should be like that : #include "stdafx.h" //this should be first line of the pro

RE: VSE10 and GTKmm 2.22

2013-02-13 Thread Doesnt Stop
I see, it is not as easy as the tutorial explains (https://live.gnome.org/gtkmm/MSWindows/UsingMSVC ) Is there any other tutorial that you are aware of, I would like to knwo in more detail how to make gtkmm work with VSE10. Better yet if you can provide me with a little bit of data that would sh

RE: VSE10 and GTKmm 2.22

2013-02-13 Thread Dos Santos, Oliveira
Hi, I’m not sure if it’s the case in your application, but to build successfully a Gtk or Gtkmm application under MSVC and then run it perfectly, you need to bypass the main function of your application and redirect it to the WinAPI. In plus, you need to add Imm32.lib and msvcrt.lib as addition