Re: State actions and Glade

2018-10-02 Thread Mitko Haralanov via gtk-app-devel-list
Can someone please help me with some pointer? Thank you. On Tue, Sep 18, 2018 at 9:35 AM Mitko Haralanov wrote: > I am trying to write an application using Glade where the tool bar > contains a set of radio tool buttons. Those radio tool buttons should not > perform an action when activated

Re: State actions and Glade

2018-10-02 Thread Eric Cashon via gtk-app-devel-list
Hi Mitko, The GtkToolbar doesn't implement the GAction interface so you are out of luck there. You can use gtk_toggle_tool_button_get_active() to get the state of one of the GtkRadioToolButton's in the toolbar. Eric //gcc -Wall toolbar1.c -o toolbar1 `pkg-config --cflags --libs gtk+-3.0`

Re: Wayland Window Positioning

2018-10-02 Thread Emmanuele Bassi via gtk-app-devel-list
You probably want to ask on gtk-devel-list and gnome-shell-list. Wayland interfaces need to be implemented by the compositor, and typically not piecemeal. That KDE interface seems to be a private interface shared between Plasma and kwin, like the gtk_shell interface is a private interface between

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

Wayland Window Positioning

2018-10-02 Thread Gerald Nunn via gtk-app-devel-list
With respect to window positioning in Wayland, I was wondering if mutter supports a Wayland extension to position windows similar to what PlasmaShell does. Keep in mind I'm not very familiar with Wayland, however looking at the Wayland protocol definition for PlasmaShell it looks like they have

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