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

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: 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

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