[Mono-list] OT: GTK+ on windows
Mon, 6 Jan 2003 08:10:19 -0500
I don't think static linking is a good idea for something as big and complex
as gtk+ and gtk#.
Have you looked at the pretty GTK+ 2.0 runtime for windows from dropline?
They even have a pretty GTK+ 2.0 runtime for linux too.
GTK+ allows it to be themeable and customable. However, the default look
and feel of gtk+ is ugly.
How does one customize gtk+ to look nicer?
From: email@example.com [mailto:firstname.lastname@example.org]On
Behalf Of Jaroslaw Kowalski
Sent: Monday, January 06, 2003 4:11 AM
Subject: [Mono-list] OT: GTK+ on windows
This is VERY Off Topic, but some of you guys seem to be very familiar with
GTK, so maybe you can clarify things for me:
I've installed GTK# and GTK+ on Windows and have some questions.
The whole idea of having GTK+/GTK# on Windows is cool, but:
1. Is it possible to statically compile GTK+ programs (using C, not C#) so
they wouldn't require few megs of DLLs? I assume that by static linking only
functions that are actually used would get linked in.
2. As a long-time Windows user, I don't like the way GTK+ renders menus,
buttons and scrollbars. Is it possible to:
- use standard windows menus and menu bars (perhaps with owner-draw options)
instead of custom-drawn? No matter how much time you're going to spend
emulating windows l&f, you're never gonna get it. MS seems to change the
feel of menus with every win version and by using owner draw mechanism you
can adhere to it.
- use standard windows buttons instead of GTK buttons. You can also use
owner draw here, and it gives you the correct behaviour.
3. As a long-time Win32 programmer I have some questions:
- Is it possible to use standard windows colors. There are 2 Win32 APIs
GetSysColor() and GetSysColorBrush() that can be used to achieve this.
- Is it possible (in general) to use CreateWindow()-based controls as
widgets with GTK+ windows. In particular is it possible to use windowed
Mono-list maillist - Monoemail@example.com