[MacPorts] #40021: gtk-osx-application: add support for gtk3

MacPorts noreply at macports.org
Wed Aug 7 01:08:23 PDT 2013


#40021: gtk-osx-application: add support for gtk3
----------------------------------+----------------------
  Reporter:  devans@…             |      Owner:  elelay@…
      Type:  enhancement          |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.2.0
Resolution:                       |   Keywords:
      Port:  gtk-osx-application  |
----------------------------------+----------------------

Comment (by elelay@…):

 Hi Dave,

 find attached the updated gtk-osx-application Portfile with gtk3 variant
 (gtk2 being the default, not a variant).
 I'm not committing until you validate it suits your needs in
 gtksourceview...

 python GTK3 bindings of GtkOSXApplication are invoked this way:

 {{{
 from gi.repository.GtkosxApplication import Application
 a = Application()

 # make it jump
 a.attention_request(0)

 # stop jumping
 a.cancel_attention_request(0)

 }}}

 I had no success at first:

 {{{
 from gi.repository import Gtk
 }}}

 failed not finding gtk. When I built py27-gobject3 from source it
 succeeded...

-- 
Ticket URL: <https://trac.macports.org/ticket/40021#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list