[][src]Trait uikit_sys::IUIBarButtonItem

pub trait IUIBarButtonItem: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithImage_style_target_action_(
        self,
        image: UIImage,
        style: UIBarButtonItemStyle,
        target: id,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithImage_landscapeImagePhone_style_target_action_(
        self,
        image: UIImage,
        landscapeImagePhone: UIImage,
        style: UIBarButtonItemStyle,
        target: id,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithTitle_style_target_action_(
        self,
        title: NSString,
        style: UIBarButtonItemStyle,
        target: id,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithBarButtonSystemItem_target_action_(
        self,
        systemItem: UIBarButtonSystemItem,
        target: id,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCustomView_(self, customView: UIView) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundImage_forState_barMetrics_(
        self,
        backgroundImage: UIImage,
        state: UIControlState,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundImageForState_barMetrics_(
        self,
        state: UIControlState,
        barMetrics: UIBarMetrics
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundImage_forState_style_barMetrics_(
        self,
        backgroundImage: UIImage,
        state: UIControlState,
        style: UIBarButtonItemStyle,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundImageForState_style_barMetrics_(
        self,
        state: UIControlState,
        style: UIBarButtonItemStyle,
        barMetrics: UIBarMetrics
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundVerticalPositionAdjustment_forBarMetrics_(
        self,
        adjustment: CGFloat,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundVerticalPositionAdjustmentForBarMetrics_(
        self,
        barMetrics: UIBarMetrics
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitlePositionAdjustment_forBarMetrics_(
        self,
        adjustment: UIOffset,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titlePositionAdjustmentForBarMetrics_(
        self,
        barMetrics: UIBarMetrics
    ) -> UIOffset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackButtonBackgroundImage_forState_barMetrics_(
        self,
        backgroundImage: UIImage,
        state: UIControlState,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backButtonBackgroundImageForState_barMetrics_(
        self,
        state: UIControlState,
        barMetrics: UIBarMetrics
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackButtonTitlePositionAdjustment_forBarMetrics_(
        self,
        adjustment: UIOffset,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backButtonTitlePositionAdjustmentForBarMetrics_(
        self,
        barMetrics: UIBarMetrics
    ) -> UIOffset
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackButtonBackgroundVerticalPositionAdjustment_forBarMetrics_(
        self,
        adjustment: CGFloat,
        barMetrics: UIBarMetrics
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backButtonBackgroundVerticalPositionAdjustmentForBarMetrics_(
        self,
        barMetrics: UIBarMetrics
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn style(self) -> UIBarButtonItemStyle
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setStyle_(self, style: UIBarButtonItemStyle)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn width(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setWidth_(self, width: CGFloat)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn possibleTitles(self) -> NSSet
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPossibleTitles_(self, possibleTitles: NSSet)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn customView(self) -> UIView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setCustomView_(self, customView: UIView)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn action(self) -> Sel
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAction_(self, action: Sel)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn target(self) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTarget_(self, target: id)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tintColor(self) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTintColor_(self, tintColor: UIColor)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithImage_style_target_action_(
    self,
    image: UIImage,
    style: UIBarButtonItemStyle,
    target: id,
    action: Sel
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithImage_landscapeImagePhone_style_target_action_(
    self,
    image: UIImage,
    landscapeImagePhone: UIImage,
    style: UIBarButtonItemStyle,
    target: id,
    action: Sel
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithTitle_style_target_action_(
    self,
    title: NSString,
    style: UIBarButtonItemStyle,
    target: id,
    action: Sel
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithBarButtonSystemItem_target_action_(
    self,
    systemItem: UIBarButtonSystemItem,
    target: id,
    action: Sel
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCustomView_(self, customView: UIView) -> instancetype where
    Self::Target: Message + Sized

unsafe fn setBackgroundImage_forState_barMetrics_(
    self,
    backgroundImage: UIImage,
    state: UIControlState,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backgroundImageForState_barMetrics_(
    self,
    state: UIControlState,
    barMetrics: UIBarMetrics
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setBackgroundImage_forState_style_barMetrics_(
    self,
    backgroundImage: UIImage,
    state: UIControlState,
    style: UIBarButtonItemStyle,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backgroundImageForState_style_barMetrics_(
    self,
    state: UIControlState,
    style: UIBarButtonItemStyle,
    barMetrics: UIBarMetrics
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setBackgroundVerticalPositionAdjustment_forBarMetrics_(
    self,
    adjustment: CGFloat,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backgroundVerticalPositionAdjustmentForBarMetrics_(
    self,
    barMetrics: UIBarMetrics
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn setTitlePositionAdjustment_forBarMetrics_(
    self,
    adjustment: UIOffset,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn titlePositionAdjustmentForBarMetrics_(
    self,
    barMetrics: UIBarMetrics
) -> UIOffset where
    Self::Target: Message + Sized

unsafe fn setBackButtonBackgroundImage_forState_barMetrics_(
    self,
    backgroundImage: UIImage,
    state: UIControlState,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backButtonBackgroundImageForState_barMetrics_(
    self,
    state: UIControlState,
    barMetrics: UIBarMetrics
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setBackButtonTitlePositionAdjustment_forBarMetrics_(
    self,
    adjustment: UIOffset,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backButtonTitlePositionAdjustmentForBarMetrics_(
    self,
    barMetrics: UIBarMetrics
) -> UIOffset where
    Self::Target: Message + Sized

unsafe fn setBackButtonBackgroundVerticalPositionAdjustment_forBarMetrics_(
    self,
    adjustment: CGFloat,
    barMetrics: UIBarMetrics
) where
    Self::Target: Message + Sized

unsafe fn backButtonBackgroundVerticalPositionAdjustmentForBarMetrics_(
    self,
    barMetrics: UIBarMetrics
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn style(self) -> UIBarButtonItemStyle where
    Self::Target: Message + Sized

unsafe fn setStyle_(self, style: UIBarButtonItemStyle) where
    Self::Target: Message + Sized

unsafe fn width(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn setWidth_(self, width: CGFloat) where
    Self::Target: Message + Sized

unsafe fn possibleTitles(self) -> NSSet where
    Self::Target: Message + Sized

unsafe fn setPossibleTitles_(self, possibleTitles: NSSet) where
    Self::Target: Message + Sized

unsafe fn customView(self) -> UIView where
    Self::Target: Message + Sized

unsafe fn setCustomView_(self, customView: UIView) where
    Self::Target: Message + Sized

unsafe fn action(self) -> Sel where
    Self::Target: Message + Sized

unsafe fn setAction_(self, action: Sel) where
    Self::Target: Message + Sized

unsafe fn target(self) -> id where
    Self::Target: Message + Sized

unsafe fn setTarget_(self, target: id) where
    Self::Target: Message + Sized

unsafe fn tintColor(self) -> UIColor where
    Self::Target: Message + Sized

unsafe fn setTintColor_(self, tintColor: UIColor) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIBarButtonItem for UIBarButtonItem[src]

Loading content...