English 中文(简体)
Gtk 树脂 观点确定一个单独的单元,有不同的使者?
原标题:Gtk# TreeView set a single cell to have a different renderer?

这可能是无动于衷的,但我想在我的树木观点中,能够在每一行顶上有一个检查箱。 这个箱子将“可处置”或“可”使用该栏的能力。 我想应该提及的是,Im使用一个清单储存,正在使用C#、一、GTK#。 然而,弊端夺去了任何东西,试图抹去。

我甚至接受一种办法,在一栏线上提出两点意见。

因此,可能吗? 或只是内乱?

最佳回答

我知道这是一个老的职位,但答案可能有助于其他人。

它可能而且非常简单。 您须在<代码>上加上您的习惯植被(例如<>Gtk.ToggleButton或您自己实施检查箱)。 Gtk.TreeViewColumn.Widget property.

做的工作!

您还可能认为值得签署<代码>Gtk.TreeViewColumn.Clicked活动。

希望会有所助益。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签