类
GtkColorDialogButton
自 4.10 起
[−]
描述 [src]
final class Gtk.ColorDialogButton : Gtk.Widget
implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
/* No available fields */
}
GtkColorDialogButton
包装在一个 GtkColorDialog
中,允许打开一个颜色选择器对话框来改变颜色。
它适用于在首选项对话框中选择颜色的部件。
CSS 节点
colorbutton
╰── button.color
╰── [content]
GtkColorDialogButton
有一个带 colorbutton 名称的 CSS 节点,其中包含一个按钮节点。为了使其与普通的 GtkButton
区分,它获取了 .color 样式类。
自 4.10 起可用
[+]