Detect dark or light theme from an application

2018-11-06 Thread Yuri Khan via gtk-app-devel-list
Hello everybody, I know in the GTK+3 theming engine a theme can define a light variant and a dark variant. Is it possible, in an application, to know which variant is currently used, and/or specify which widget in the application uses which variant? Here’s the wider context: Mozilla Firefox uses

Re: GTK3 + gnuplot

2018-10-02 Thread Yuri Khan via gtk-app-devel-list
On Wed, Sep 19, 2018 at 12:19 AM Allin Cottrell wrote: > > The question now is: "How to embed a gnuplot graphic in gtk3? > > Could you say, please, where to find a simple example, just to undestand > > how it is possible to do that? > > Get gnuplot to produce a PNG file, load the PNG into a

Re: How can I change the font of a text field using non-deprecated way?

2018-10-02 Thread Yuri Khan via gtk-app-devel-list
On Sat, Sep 22, 2018 at 3:11 PM Радомир Хаџић via gtk-app-devel-list wrote: > I'm trying to make a small application in C using GTK+3 (the latest > stable). The application is going to have a text field implemented using > GtkTextView where a user can write text. I also font a user to be able to

Re: Cancel a Drag & Drop for some specific items in a Gtk.TreeView

2018-10-02 Thread Yuri Khan via gtk-app-devel-list
On Tue, Sep 11, 2018 at 4:27 AM c.buhtz--- via gtk-app-devel-list wrote: > I have a Gtk.TreeView here. Most but not all of the items should be > able to be dragged & dropped. For example the first item should not be > able to be dragged & dropped but it should be selectable. > > How can I

Re: Copywrite protection and source-code distribution

2018-08-02 Thread Yuri Khan via gtk-app-devel-list
On Thu, Aug 2, 2018 at 8:31 AM Roger Matthews via gtk-app-devel-list wrote: > > I have developed an application using GTK+3.10. What copy-write protection > can you (GTK+) provide for me. I have been told that copywrite is free and > automatic and that to protect the software from piracy I need