pub unsafe trait NCWidgetListViewDelegate: NSObjectProtocol {
// Provided methods
unsafe fn widgetList_viewControllerForRow(
&self,
list: &NCWidgetListViewController,
row: NSUInteger,
) -> Retained<NSViewController>
where Self: Sized + Message { ... }
unsafe fn widgetListPerformAddAction(
&self,
list: &NCWidgetListViewController,
)
where Self: Sized + Message { ... }
unsafe fn widgetList_shouldReorderRow(
&self,
list: &NCWidgetListViewController,
row: NSUInteger,
) -> bool
where Self: Sized + Message { ... }
unsafe fn widgetList_didReorderRow_toRow(
&self,
list: &NCWidgetListViewController,
row: NSUInteger,
new_index: NSUInteger,
)
where Self: Sized + Message { ... }
unsafe fn widgetList_shouldRemoveRow(
&self,
list: &NCWidgetListViewController,
row: NSUInteger,
) -> bool
where Self: Sized + Message { ... }
unsafe fn widgetList_didRemoveRow(
&self,
list: &NCWidgetListViewController,
row: NSUInteger,
)
where Self: Sized + Message { ... }
}👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
NCWidgetListViewController only.Expand description
Provided Methods§
unsafe fn widgetList_viewControllerForRow( &self, list: &NCWidgetListViewController, row: NSUInteger, ) -> Retained<NSViewController>
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.unsafe fn widgetListPerformAddAction(&self, list: &NCWidgetListViewController)
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.unsafe fn widgetList_shouldReorderRow( &self, list: &NCWidgetListViewController, row: NSUInteger, ) -> bool
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.unsafe fn widgetList_didReorderRow_toRow( &self, list: &NCWidgetListViewController, row: NSUInteger, new_index: NSUInteger, )
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.unsafe fn widgetList_shouldRemoveRow( &self, list: &NCWidgetListViewController, row: NSUInteger, ) -> bool
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.unsafe fn widgetList_didRemoveRow( &self, list: &NCWidgetListViewController, row: NSUInteger, )
👎Deprecated: Use WidgetKit instead. Today View extensions have been deprecated.
Available on crate feature
objc2-app-kit and macOS only.