Re: Building gtk2 and linking against glib

2018-12-18 Thread Rafal Luzynski
Hi, 18.12.2018 17:31 Vanessa McHale wrote: > > Hi all, > > [...] > checking for GLIB - version >= 2.28.0... > *** 'pkg-config --modversion glib-2.0' returned 2.58.1, but GLIB (2.56.3) > *** was found! If pkg-config was correct, then it is best > *** to remove the old version of GLib. Here

Re: Emitting signals from threads

2018-12-18 Thread Mitko Haralanov via gtk-list
This is Gtk3: gtk3-3.22.26-2.fc27.x86_64 On Tue, Dec 18, 2018 at 1:14 PM Luca Bacci via gtk-list wrote: > Is it Gtk2 or Gtk3, which version exactly? > > > Il giorno mar 18 dic 2018 alle ore 18:47 Mitko Haralanov via gtk-list < > gtk-list@gnome.org> ha scritto: > >> I mistakenly replied only to

Re: Emitting signals from threads

2018-12-18 Thread Luca Bacci via gtk-list
Is it Gtk2 or Gtk3, which version exactly? Il giorno mar 18 dic 2018 alle ore 18:47 Mitko Haralanov via gtk-list < gtk-list@gnome.org> ha scritto: > I mistakenly replied only to Luca!! Forwarding to the list. > > (Sorry, Luca, my bad) > - Mitko > > -- Forwarded message - > From:

Python3, GObject objects & models

2018-12-18 Thread Adam Tauno Williams
I have created, and registered, a custom GObject type [an object]. I can place that type into a ListModel: aka model = Gtk.ListModel(MyClass). One of the advantages of creating a GObject is the whole property system - - - and most notably change signals. What I have not been able to find is how

Fwd: Emitting signals from threads

2018-12-18 Thread Mitko Haralanov via gtk-list
I mistakenly replied only to Luca!! Forwarding to the list. (Sorry, Luca, my bad) - Mitko -- Forwarded message - From: Mitko Haralanov Date: Tue, Dec 18, 2018 at 9:37 AM Subject: Re: Emitting signals from threads To: Luca Bacci I found something that is different between the

Building gtk2 and linking against glib

2018-12-18 Thread Vanessa McHale
Hi all, I am currently writing a package manager that builds from source (for purposes of cross-compilation). I am trying to get gtk2 to build. Currently it is failing on gtk2's configure step because I am trying to link against a locally installed version of glib, viz. checking if msgfmt

Re: Async Callbacks w/Python 3 + Gtk3

2018-12-18 Thread Marius Gedminas
On Mon, Dec 17, 2018 at 04:09:27PM -0500, Adam Tauno Williams wrote: > I'm rebuilding an old application in Python3+Gtk. > > The applications makes calls to remote services which I'd like to have > be asynchronous.  I've search around the interwebz and found a wide > variety of answers to this

Re: How to replace gtk_widget_modify_text() with CSS?

2018-12-18 Thread Nate Bargmann
Thank you very much for this comprehensive reply, Luca. This gives me a lot to work with and many good ideas. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: http://www.n0nb.us GPG key: D55A8819 GitHub: N0NB

Re: Emitting signals from threads

2018-12-18 Thread Luca Bacci via gtk-list
Hi Mitko! Can you post here the code for the button-press event handler? It should more or less follow the code here: http://scentric.net/tutorial/sec-misc-get-renderer-from-click.html Luca Il giorno lun 17 dic 2018 alle ore 20:28 Mitko Haralanov via gtk-list < gtk-list@gnome.org> ha scritto: >

Re: How to replace gtk_widget_modify_text() with CSS?

2018-12-18 Thread Luca Bacci via gtk-app-devel-list
Hi Nate, based on my experience, you have 3 ways: 1) First, see if there are standard CSS classes provided by the theme for your use case. For example, GtkButton has the *.suggegsted-action* and *.destructive-action* CSS classes, which all