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: How can I change the font of a text field using non-deprecated way?

2018-09-23 Thread Eric Cashon via gtk-app-devel-list
Hi Radomir, The function gtk_widget_override_font() is deprecated but as far as I know it still works fine in GTK3. With the Pango font description and the textview you should be able to set everything up without getting any deprecated warnings. It doesn't set the textview widget itself to

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

2018-09-22 Thread Радомир Хаџић via gtk-app-devel-list
Hello. 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 change font, so I've added a font chooser using GtkFontChooserDialog. The