Shall GtkAllocation be initialized before use?

2011-09-08 Thread Mikhail Titov
I’ve noticed that I’m getting the following errors with Gtk+ (3.1.18-23-gb53a66b) and MS VC++. Am I missing something during the build process or indeed those variables are not initialized? Can I simply ignore run-time checks? Exception occurs around line 2169 in gtktreeviewcolumn.c when callin

win32: A better way to draw HCURSOR with Cairo?

2011-06-07 Thread Mikhail Titov
Hi all! I’d like to draw as much as I can using Cairo. However at some point I need to draw a cursor obtained from ::GetCursor() Win32 API function. Hence the question: what is the best way to draw it on Cairo context? In gtk+/gdk/win32/gdkcursor-win32.c I can see a function like stat

RE: Full screen app events

2011-04-22 Thread Mikhail Titov
First of all you didn’t mention your OS. In my understanding this lies beneath gtk level. Long time ago I ended up writing device filter drivers to eat all events completely on MS Window 98. It resulted in predictable café customers behavior. In spite of the message box they thought computer is fro

gtk+ 3.1.2/git & MSVC++: GDK_IS_WIN32_WINDOW @ gtkclipboard.c causes troubles

2011-04-13 Thread Mikhail Titov
Hello! I noticed recently, when I was building either git version or 3.1.2 using MS VC++, that I’m getting hard times with GDK_IS_WIN32_WINDOW. It is only mentioned in "C:\obs\gtk+-3.1.2\gdk\win32\gdkwin32window.h" and recently was introduced in gtkclipboard.c . I just can’t build with it, howe

RE: Question about GTK+ and timers

2011-04-08 Thread Mikhail Titov
e- > From: Chris Vine [mailto:ch...@cvine.freeserve.co.uk] > Sent: Friday, April 08, 2011 7:02 PM > To: Mikhail Titov > Cc: 'Igor Korot'; gtk-list@gnome.org > Subject: Re: Question about GTK+ and timers > > On Fri, 8 Apr 2011 18:36:41 -0500 > "Mikhail Tito

RE: Question about GTK+ and timers

2011-04-08 Thread Mikhail Titov
Just use something like __attribute__ ((__packed__)) for your structure and you can always cast back and forth from the pointer to your structure to an array of bytes (char*). Just make sure that both systems have same ending (little or big) and that members' order is correct. Otherwise you'll have

RE: Question about GTK+ and timers

2011-04-08 Thread Mikhail Titov
As far as I understand it is possible to use it with NULL for encoding. It should just read bytes with no interpretation. http://www.mail-archive.com/gtk-list@gnome.org/msg29589.html Mikhail > -Original Message- > From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On >

RE: Keep dialogs open and running even if clicking OK

2011-04-08 Thread Mikhail Titov
While I'm using gtkmm I can override MyDialog::on_response(int id) and don't call hide() there. I feel like there should be something inside plain gtk+ as well to validate result within dialog and not a main application. I guess you can handle signal response not to close dialog at the first pla

RE: Gtk+ 3.0 and MS Windows

2011-04-03 Thread Mikhail Titov
Sunday, April 03, 2011 11:14 PM To: Mikhail Titov Cc: gtk-list@gnome.org Subject: RE: Gtk+ 3.0 and MS Windows Hello Mikhail, I read through your wiki post and I think the information you have there is quite helpful and informative for those intending to build GTK+-3.x with the OBS dependencies-t

RE: Gtk+ 3.0 and MS Windows

2011-04-03 Thread Mikhail Titov
, 2011 1:06 PM To: Mikhail Titov Cc: Maarten Bosmans; Gtk+ list Subject: Re: Gtk+ 3.0 and MS Windows On 28 March 2011 06:43, Mikhail Titov wrote: > > I don't have much spare time, but I'll try to summarize what should be done > to utilize cross-compiled binaries (like from OpenS

RE: Gtk+ 3.0 and MS Windows

2011-03-28 Thread Mikhail Titov
se my code, GTK(MM) 3 become mature :-) P.S. I didn't try to build GTKMM using GTK from OBS, but GTK demo from OBS fails to launch. Mikhail -Original Message- From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On Behalf Of Mikhail Titov Sent: Monday, March 28, 2

RE: Gtk+ 3.0 and MS Windows

2011-03-27 Thread Mikhail Titov
alk(root + "\\bin"): for name in files: if (re.search(".dll", name)): print("Processing: %s\n" % name) gen(name) #gen("libatk-1.0-0.dll") # glibmm-2.4.def libglibmm-2.4-1.dll libglibmm-2.4.dll.a # dumpbin /SYMBOLS /OUT:dumpbin.ou

RE: Gtk+ 3.0 and MS Windows

2011-03-27 Thread Mikhail Titov
piles. Mikhail > -Original Message- > From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On > Behalf Of Mikhail Titov > Sent: Sunday, March 27, 2011 6:20 PM > To: 'Maarten Bosmans'; 'Gtk+ list' > Subject: RE: Gtk+ 3.0 and MS Window

RE: Gtk+ 3.0 and MS Windows

2011-03-27 Thread Mikhail Titov
scope of this list :-) Mikhail -Original Message- From: Maarten Bosmans [mailto:mkbosm...@gmail.com] Sent: Sunday, March 27, 2011 2:08 PM To: Gtk+ list Cc: Mikhail Titov Subject: Re: Gtk+ 3.0 and MS Windows 2011/3/25 Mikhail Titov : > Maarten: > > Thanks again! It worked like

RE: Gtk+ 3.0 and MS Windows

2011-03-25 Thread Mikhail Titov
g:-) I had to disable it. Mikhail -Original Message- From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On Behalf Of Mikhail Titov Sent: Friday, March 25, 2011 8:40 AM To: 'Fan Chun-wei' Cc: gtk-list@gnome.org Subject: RE: Gtk+ 3.0 and MS Windows Fan: I tried gtk+ 3.

RE: Gtk+ 3.0 and MS Windows

2011-03-25 Thread Mikhail Titov
ailto:fanc...@yahoo.com.tw] Sent: Friday, March 25, 2011 6:11 AM To: Mikhail Titov Cc: gtk-list@gnome.org Subject: RE: Gtk+ 3.0 and MS Windows Hi Mikhail, Can I know which version of GTK+ are you using? You may want to try building from a clean source tree that is not touched by MinGW/MSYS (i.e. extrac

RE: Gtk+ 3.0 and MS Windows

2011-03-25 Thread Mikhail Titov
ndows theme. Mikhail -Original Message- From: Maarten Bosmans [mailto:mkbosm...@gmail.com] Sent: Friday, March 25, 2011 3:38 AM To: Gtk+ list Cc: Mikhail Titov; John Stowers Subject: Re: Gtk+ 3.0 and MS Windows 2011/3/24 Mikhail Titov : > Maarten: > > Yes, if you have this

RE: Gtk+ 3.0 and MS Windows

2011-03-24 Thread Mikhail Titov
4, 2011 10:51 PM To: Mikhail Titov Cc: john.stowers.li...@gmail.com; mkbosm...@gmail.com; 'Gtk+ list' Subject: RE: Gtk+ 3.0 and MS Windows Hi Mikhail, You may want to try the VS2008 Project files in the $(srcroot)/build /win32/vs9 folder, and VS2010 project files for gtk+-3.0.x are no

RE: Gtk+ 3.0 and MS Windows

2011-03-24 Thread Mikhail Titov
t; To: Maarten Bosmans > Cc: Mikhail Titov; Gtk+ list > Subject: Re: Gtk+ 3.0 and MS Windows > > On Thu, 2011-03-24 at 10:01 +0100, Maarten Bosmans wrote: > > 2011/3/23 Mikhail Titov : > > > Maarten: > > > > > > Thanks for the link! By saying that I don't

RE: Gtk+ 3.0 and MS Windows

2011-03-23 Thread Mikhail Titov
From: Maarten Bosmans [mailto:mkbosm...@gmail.com] > Sent: Wednesday, March 23, 2011 3:38 PM > To: Mikhail Titov > Cc: Gtk+ list > Subject: Re: Gtk+ 3.0 and MS Windows > > 2011/3/23 Mikhail Titov : > > Maarten: > > > > Thanks for your quick reply! Good to know that Gtk+ 3 is

RE: Gtk+ 3.0 and MS Windows

2011-03-23 Thread Mikhail Titov
> Sent: Wednesday, March 23, 2011 1:53 PM > To: Mikhail Titov > Cc: Gtk+ list > Subject: Re: Gtk+ 3.0 and MS Windows > > 2011/3/23 Mikhail Titov : > > Hello! > > > > I understand that there is a lot of work still needs to be done for > Gtk+ 3.0 . However I wo

Gtk+ 3.0 and MS Windows

2011-03-23 Thread Mikhail Titov
Hello! I understand that there is a lot of work still needs to be done for Gtk+ 3.0 . However I would like to use some of its functionality now if possible. The problem is that I’m using gtkmm and msvc++ to compile my code under MS Windows. I wonder about win32 builds of gtk+ 3.0. Is it not bui