Re: GtkTreeView: how to get the cell with current focus?

2018-07-12 Thread Lars Paulsen
Cheers, Lars Am 12.07.2018 um 18:11 schrieb Lars Paulsen: Hello All, I got a little problem with a GtkTreeView and with getting the cell which actually has got the focus: From the API documentation it seems like gtk_tree_view_get_cursor(GTK_TREE_VIEW(tree), , _column); is doing the job. I

GtkTreeView: how to get the cell with current focus?

2018-07-12 Thread Lars Paulsen
Hello All, I got a little problem with a GtkTreeView and with getting the cell which actually has got the focus: From the API documentation it seems like gtk_tree_view_get_cursor(GTK_TREE_VIEW(tree), , _column); is doing the job. I can handle the path, it gives me the row which has the

GtkTreeView: Prevent drag and drop to a nested level

2018-06-16 Thread Lars Paulsen
Hi All, I am using a GTkTreeView with automatic DND enabled and I wonder if there is a simple way to prevent/suppress that a toplevel item can be dragged to a child position of another toplevel item. What I did so far was catch the "row-inserted" signal, check if the item has moved to a

How to set the size of a combo box?

2017-10-08 Thread Lars Paulsen
Hello All, I have created a combo box and it is nicely displayed in my window. But it always takes the full window size. I would like to limit the size in that way, that it always takes 1 row height or better say the height of the text line or font size (1em in CSS encoding). I have only

Re: Should a GtkFileFilter be freed or not?

2017-07-31 Thread Lars Paulsen
Hi Andrew, great. Thanks for the quick reply. Greetings, Lars Am 31.07.2017 um 13:19 schrieb A. Walton: On Mon, Jul 31, 2017 at 11:56 AM, Lars Paulsen <lars_paul...@web.de> wrote: Hello All, I got a simple question about the GtkFileFilter: Do I need to free it myself after the di

Should a GtkFileFilter be freed or not?

2017-07-31 Thread Lars Paulsen
Hello All, I got a simple question about the GtkFileFilter: Do I need to free it myself after the dialog I used it in has finished? Or is gtk_widget_destroy(dialog) doing that for me? Best Regards, Lars ___ gtk-app-devel-list mailing list