Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GtkTreeViewチェックボックスのない親があり、すべての子にチェックボックスがあるものが欲しいのですが。私が試した(そして見た)すべてのものは、すべての行にチェックボックスを置きます。
GtkTreeView
これを行う最も簡単な方法は、チェックボックスを独自のgtk.TreeViewColumnに配置し、それが表示されているかどうかを示すデータの列を作成することです。表示されている列番号はgtk.TreeViewColumnに渡されます。詳細については、Gtk+に付属のツリービュー->ツリーストアのデモを参照してください。