Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITaskbarPreviewButton.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsITaskbarPreviewButton",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* attribute AString tooltip; */
Method {
name: "GetTooltip",
params: &[Param { name: "aTooltip", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetTooltip",
params: &[Param { name: "aTooltip", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute boolean dismissOnClick; */
Method {
name: "GetDismissOnClick",
params: &[Param { name: "aDismissOnClick", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetDismissOnClick",
params: &[Param { name: "aDismissOnClick", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* attribute boolean hasBorder; */
Method {
name: "GetHasBorder",
params: &[Param { name: "aHasBorder", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetHasBorder",
params: &[Param { name: "aHasBorder", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* attribute boolean disabled; */
Method {
name: "GetDisabled",
params: &[Param { name: "aDisabled", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetDisabled",
params: &[Param { name: "aDisabled", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* attribute imgIContainer image; */
Method {
name: "GetImage",
params: &[Param { name: "aImage", ty: "*mut*const imgIContainer" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetImage",
params: &[Param { name: "aImage", ty: "*const imgIContainer" }],
ret: "::nserror::nsresult",
},
/* attribute boolean visible; */
Method {
name: "GetVisible",
params: &[Param { name: "aVisible", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetVisible",
params: &[Param { name: "aVisible", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}