Hi folks,
as you may have noticed, old Gtk# versions ( 2.12.8) did not use XP's
visual styles. Later versions have a workaround: they call
System.WIndows.Forms.Application.DoEvents which seems to enable XP's
theming. This workaround is far from optimal as it created a Winforms
dependency.
Unfortunately, the button does not appear to use native themes on my
WinXP machine (SP3, GTK# installed with Mono 2.4.2.3).
On Wed, Sep 9, 2009 at 5:05 PM, Christian Hoffchristian_h...@gmx.net wrote:
Hi folks,
as you may have noticed, old Gtk# versions ( 2.12.8) did not use XP's
visual
On Sat, 2009-09-05 at 09:15 +0200, Christian Hoff wrote:
In Windows I use 'mkbundle' [1]
We should probably put that code in a try-block. What do you think, Mike?
My question would be, what do you do in the catch block?
The winforms reflection thing is a huge hack, we know that, and the
Hey,
But since Mono's System.Windows.Forms is Open Source [1], why was it
again that no one has found out what DoEvents does? ;-)
Andreas
[1]
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs?view=markup
We do know what
Hi,
Carlos Alberto Cortez wrote:
But since Mono's System.Windows.Forms is Open Source [1], why was it
again that no one has found out what DoEvents does? ;-)
Andreas
[1]
-devel-list-boun...@lists.ximian.com
[mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Christian
Hoff
Sent: Saturday, September 05, 2009 10:16 AM
To: Andoni Morales
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Gtk depends on Winforms ¿?
Andoni Morales wrote:
Hi,
I have
Vladimir Dimitrov wrote:
Hi,
Or you can use something like this:
try {
// This is needed in order for GTK# 2.12.8 to get the
proper theming
Assembly winForms = Assembly.Load
(System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
2009/9/6 Christian Hoff christian_h...@gmx.net:
As I said, nobody has ever found out what DoEvents does and why
produces the desired results. We'd really like to avoid loading SWF at
runtime, but so far nobody has come up with a better solution :-) .
Just to pitch in, I remember *ages* ago
Tom Spink wrote:
2009/9/6 Christian Hoff christian_h...@gmx.net:
As I said, nobody has ever found out what DoEvents does and why
produces the desired results. We'd really like to avoid loading SWF at
runtime, but so far nobody has come up with a better solution :-) .
Just to pitch
2009/9/6 Christian Hoff christian_h...@gmx.net:
Unfortunately, I do not have an XP machine, either. In a few years when
nobody is using this OS any more, we can drop this hackish workaround
anyway. Until then, we will probably have to treat the whole thing as a
blackbox ;-) . Nevertheless, if
Hey,
Am 06.09.2009 um 11:55 schrieb Christian Hoff:
As I said, nobody has ever found out what DoEvents does and why
produces the desired results. We'd really like to avoid loading SWF at
runtime, but so far nobody has come up with a better solution :-) .
My assumption would be that DoEvents
Andoni Morales wrote:
Hi,
I have recently tried to upgrade from Mono 2.4 to 2.4.2.2 in Windows
XP, which comes with gtk-sharp-2.12.9
In Windows I use 'mkbundle' [1] to generate from my c# app an
executable file that can be launched on a computer that doesn't not
have mono installed.
Hi,
I have recently tried to upgrade from Mono 2.4 to 2.4.2.2 in Windows
XP, which comes with gtk-sharp-2.12.9
In Windows I use 'mkbundle' [1] to generate from my c# app an
executable file that can be launched on a computer that doesn't not
have mono installed. mkbundle builds a new executable
13 matches
Mail list logo