What signal can be caught to detect when the column is resized in gtk.TreeView? I can not find it in the docs.
gtk.TreeView
are not widgets, so they, unfortunately, do not have a special signal for resizing. But you can register a callback function that receives the “width” change of notifications :
def onColWidthChange(col, width): # Note that "width" is a GParamInt object, not an integer ... col.connect("notify::width", onColWidthChange)
In this example, colmust be an object gtk.TreeViewColumn. If you do not initialize the columns in the code, you can use gtk.TreeView.get_columnto get these objects.
col
gtk.TreeViewColumn
gtk.TreeView.get_column
, , "-" .
Source: https://habr.com/ru/post/1770957/More articles:LINQ: выберите ИЛИ <условие> - selectHow to synchronize data between multiple client applications - synchronizationEquivalent Ruby "requires" in Javascript - javascriptHow to list nested counters - linqPHP5 Class Scope - oophttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1770958/add-gtktreeview-columns-to-a-size-group&usg=ALkJrhj4pZDJFfiKaNZbPBKzdHWRB62WdAС++ шаблоны без "typename" или "class" - c++How to create a multidimensional array of internal class objects in java - javaВопросы о многопоточности - multithreadinggame search tree, do i need to create a tree first? - searchAll Articles