Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/editor/nsIHTMLAbsPosEditor.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIHTMLAbsPosEditor",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [setter_can_run_script] attribute boolean absolutePositioningEnabled; */
Method {
name: "GetAbsolutePositioningEnabled",
params: &[Param { name: "aAbsolutePositioningEnabled", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetAbsolutePositioningEnabled",
params: &[Param { name: "aAbsolutePositioningEnabled", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean isAbsolutePositioningActive; */
Method {
name: "GetIsAbsolutePositioningActive",
params: &[Param { name: "aIsAbsolutePositioningActive", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* attribute boolean snapToGridEnabled; */
Method {
name: "GetSnapToGridEnabled",
params: &[Param { name: "aSnapToGridEnabled", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetSnapToGridEnabled",
params: &[Param { name: "aSnapToGridEnabled", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* attribute unsigned long gridSize; */
Method {
name: "GetGridSize",
params: &[Param { name: "aGridSize", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetGridSize",
params: &[Param { name: "aGridSize", ty: "u32" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}