質問

In Ubuntu, there are several places in the settings app that have a very nice list view, with add/remove buttons, including Appearance, Keyboard Layout, Privacy, Bluetooth, etc. What widget(s) are they using? I'm starting on my first Ubuntu app with Glade, and need that interface.

役に立ちましたか?

解決

That code lives in GNOME Control Centrer and it is not a widget. There is a GtkTreeView for the list and below it, there is a GtkToolbar with two buttons (using the symbolic icons list-add-symbolic and list-remove-symbolic). Instead of the GtkTreeView could be another widget, but the layout is the same.

You can see the glade files inside each panel. For instance, User Accounts.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top