isRoot
Parameters
- self:*const WidgetData
- *const WidgetData
Source
Implementation
pub fn isRoot(self: *const WidgetData) bool {
// Window is its own parent
return (self.id == self.parent.data().id);
}Source
pub fn isRoot(self: *const WidgetData) bool {
// Window is its own parent
return (self.id == self.parent.data().id);
}