[][src]Trait uikit_sys::IUIButton

pub trait IUIButton: Sized + Deref {
    unsafe fn setTitle_forState_(self, title: NSString, state: UIControlState)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitleColor_forState_(
        self,
        color: UIColor,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitleShadowColor_forState_(
        self,
        color: UIColor,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setImage_forState_(self, image: UIImage, state: UIControlState)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setBackgroundImage_forState_(
        self,
        image: UIImage,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPreferredSymbolConfiguration_forImageInState_(
        self,
        configuration: UIImageSymbolConfiguration,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAttributedTitle_forState_(
        self,
        title: NSAttributedString,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleForState_(self, state: UIControlState) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleColorForState_(self, state: UIControlState) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleShadowColorForState_(self, state: UIControlState) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageForState_(self, state: UIControlState) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundImageForState_(self, state: UIControlState) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn preferredSymbolConfigurationForImageInState_(
        self,
        state: UIControlState
    ) -> UIImageSymbolConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attributedTitleForState_(
        self,
        state: UIControlState
    ) -> NSAttributedString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn backgroundRectForBounds_(self, bounds: CGRect) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentRectForBounds_(self, bounds: CGRect) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleRectForContentRect_(self, contentRect: CGRect) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageRectForContentRect_(self, contentRect: CGRect) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentEdgeInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setContentEdgeInsets_(self, contentEdgeInsets: UIEdgeInsets)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleEdgeInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitleEdgeInsets_(self, titleEdgeInsets: UIEdgeInsets)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reversesTitleShadowWhenHighlighted(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setReversesTitleShadowWhenHighlighted_(
        self,
        reversesTitleShadowWhenHighlighted: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageEdgeInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setImageEdgeInsets_(self, imageEdgeInsets: UIEdgeInsets)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn adjustsImageWhenHighlighted(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAdjustsImageWhenHighlighted_(
        self,
        adjustsImageWhenHighlighted: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn adjustsImageWhenDisabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAdjustsImageWhenDisabled_(self, adjustsImageWhenDisabled: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn showsTouchWhenHighlighted(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShowsTouchWhenHighlighted_(
        self,
        showsTouchWhenHighlighted: BOOL
    )
    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
, { ... }
unsafe fn buttonType(self) -> UIButtonType
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isPointerInteractionEnabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPointerInteractionEnabled_(
        self,
        pointerInteractionEnabled: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn pointerStyleProvider(self) -> UIButtonPointerStyleProvider
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPointerStyleProvider_(
        self,
        pointerStyleProvider: UIButtonPointerStyleProvider
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentTitle(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentTitleColor(self) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentTitleShadowColor(self) -> UIColor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentImage(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentBackgroundImage(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentPreferredSymbolConfiguration(
        self
    ) -> UIImageSymbolConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentAttributedTitle(self) -> NSAttributedString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleLabel(self) -> UILabel
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageView(self) -> UIImageView
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn buttonWithType_(buttonType: UIButtonType) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn systemButtonWithImage_target_action_(
        image: UIImage,
        target: id,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn setTitle_forState_(self, title: NSString, state: UIControlState) where
    Self::Target: Message + Sized

unsafe fn setTitleColor_forState_(self, color: UIColor, state: UIControlState) where
    Self::Target: Message + Sized

unsafe fn setTitleShadowColor_forState_(
    self,
    color: UIColor,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn setImage_forState_(self, image: UIImage, state: UIControlState) where
    Self::Target: Message + Sized

unsafe fn setBackgroundImage_forState_(
    self,
    image: UIImage,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn setPreferredSymbolConfiguration_forImageInState_(
    self,
    configuration: UIImageSymbolConfiguration,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn setAttributedTitle_forState_(
    self,
    title: NSAttributedString,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn titleForState_(self, state: UIControlState) -> NSString where
    Self::Target: Message + Sized

unsafe fn titleColorForState_(self, state: UIControlState) -> UIColor where
    Self::Target: Message + Sized

unsafe fn titleShadowColorForState_(self, state: UIControlState) -> UIColor where
    Self::Target: Message + Sized

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

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

unsafe fn preferredSymbolConfigurationForImageInState_(
    self,
    state: UIControlState
) -> UIImageSymbolConfiguration where
    Self::Target: Message + Sized

unsafe fn attributedTitleForState_(
    self,
    state: UIControlState
) -> NSAttributedString where
    Self::Target: Message + Sized

unsafe fn backgroundRectForBounds_(self, bounds: CGRect) -> CGRect where
    Self::Target: Message + Sized

unsafe fn contentRectForBounds_(self, bounds: CGRect) -> CGRect where
    Self::Target: Message + Sized

unsafe fn titleRectForContentRect_(self, contentRect: CGRect) -> CGRect where
    Self::Target: Message + Sized

unsafe fn imageRectForContentRect_(self, contentRect: CGRect) -> CGRect where
    Self::Target: Message + Sized

unsafe fn contentEdgeInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setContentEdgeInsets_(self, contentEdgeInsets: UIEdgeInsets) where
    Self::Target: Message + Sized

unsafe fn titleEdgeInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setTitleEdgeInsets_(self, titleEdgeInsets: UIEdgeInsets) where
    Self::Target: Message + Sized

unsafe fn reversesTitleShadowWhenHighlighted(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setReversesTitleShadowWhenHighlighted_(
    self,
    reversesTitleShadowWhenHighlighted: BOOL
) where
    Self::Target: Message + Sized

unsafe fn imageEdgeInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setImageEdgeInsets_(self, imageEdgeInsets: UIEdgeInsets) where
    Self::Target: Message + Sized

unsafe fn adjustsImageWhenHighlighted(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAdjustsImageWhenHighlighted_(
    self,
    adjustsImageWhenHighlighted: BOOL
) where
    Self::Target: Message + Sized

unsafe fn adjustsImageWhenDisabled(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAdjustsImageWhenDisabled_(self, adjustsImageWhenDisabled: BOOL) where
    Self::Target: Message + Sized

unsafe fn showsTouchWhenHighlighted(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setShowsTouchWhenHighlighted_(self, showsTouchWhenHighlighted: BOOL) 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

unsafe fn buttonType(self) -> UIButtonType where
    Self::Target: Message + Sized

unsafe fn isPointerInteractionEnabled(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setPointerInteractionEnabled_(self, pointerInteractionEnabled: BOOL) where
    Self::Target: Message + Sized

unsafe fn pointerStyleProvider(self) -> UIButtonPointerStyleProvider where
    Self::Target: Message + Sized

unsafe fn setPointerStyleProvider_(
    self,
    pointerStyleProvider: UIButtonPointerStyleProvider
) where
    Self::Target: Message + Sized

unsafe fn currentTitle(self) -> NSString where
    Self::Target: Message + Sized

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

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

unsafe fn currentImage(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn currentBackgroundImage(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn currentPreferredSymbolConfiguration(
    self
) -> UIImageSymbolConfiguration where
    Self::Target: Message + Sized

unsafe fn currentAttributedTitle(self) -> NSAttributedString where
    Self::Target: Message + Sized

unsafe fn titleLabel(self) -> UILabel where
    Self::Target: Message + Sized

unsafe fn imageView(self) -> UIImageView where
    Self::Target: Message + Sized

unsafe fn buttonWithType_(buttonType: UIButtonType) -> instancetype where
    Self::Target: Message + Sized

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

Loading content...

Implementors

impl IUIButton for UIButton[src]

Loading content...