What is this widget called in GTK?
I was wondering that currently we have gtk.TextViewWidget to display the contents of widget. I was wondering is there any way to make a type of My Computer Properties dialog box where there are different panels at top and one can click on any one of them to display the contents of th开发者_如何学JAVAat property.
Can anyone give me some good advice on how to proceed making this?
Sounds like you need a GtkNotebook
.
I'm not sure I understand fully what you mean, but it sounds as if you could easily just stack a GtkTreeView on top of a GtkTextView to achieve what you want. Populate the tree view with a suitable model holding the items in your computer (how to find this information is of course a separate problem), and then as a tree item is clicked, modify the text view's buffer to display the associated information.
精彩评论