[Gtk-sharp-list] Is GTK# viable on Mac?
Christian Hergert
christian.hergert at gmail.com
Sun Nov 29 19:19:24 EST 2009
On Sun, Nov 29, 2009 at 4:13 PM, Chuck Esterbrook
<chuck.esterbrook at gmail.com> wrote:
> On Sun, Nov 29, 2009 at 3:53 PM, Christian Hergert
> <christian.hergert at gmail.com> wrote:
>> Hi,
>>
>> On Sat, Nov 28, 2009 at 11:54 AM, Chuck Esterbrook
>> <chuck.esterbrook at gmail.com> wrote:
>>> I know that's a fuzzy question, but it's an important one. Let me
>>> explain: I wrote a small GTK# application on Mac and right away there
>>> are major problems:
>>>
>>> -- The first time I click and drag on the resize corner of a window,
>>> nothing happens. On the second attempt, the resize happens.
>>
>> This should have been fixed in my gtk+ tree, and is fixed via a
>> rewrite of gdk coordinate translations in gtk+ master (2.19 and
>> subsequently the 2.20 release). Are you sure you are running a recent
>> mono/gtk-sharp for OS X?
>
> Yes, I tried with Mono 2.6p1 and the most recent stable Mono 2.4.x.
>
> I'm on Snow Leopard if that makes a difference. I never tried GTK# on
> Tiger or Leopard.
>
> You mention gtk+ 2.19 and 2.20. At
> http://mono.ximian.com/monobuild/preview/sources-preview/ the GTK#
> version is 2.12, but I don't know if that is synced with GTK+ or not.
> It could be the case, where gtk-sharp-2.12.9 is the 9th GTK# revision
> against GTK+ 2.12, but that's just speculation.
>
>> Are you using the ige-mac-integration?
>> http://live.gnome.org/GTK%2B/OSX/Integration
>
> I'm using whatever shipped with the Mono/Mac package whose innards I
> have not examined in detail.
You need to configure your application to integrate with the mac bar
and dock. That wiki page should help get you started. You also might
want to take a look at the code in MonoDevelop or Banshee that does
this.
> Miguel seems to indicate in his message that there are outstanding
> patches which should hopefully address these issues. It appears that
> GTK# is simply behind GTK+.
Gtk+ 2.10 to git master all share an ABI. So while gtk-sharp is at
2.12, it will work just fine with gtk+ 2.19.
-- C
More information about the Gtk-sharp-list
mailing list