[][src]Trait uikit_sys::IUIControl

pub trait IUIControl: Sized + Deref {
    unsafe fn beginTrackingWithTouch_withEvent_(
        self,
        touch: UITouch,
        event: UIEvent
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn continueTrackingWithTouch_withEvent_(
        self,
        touch: UITouch,
        event: UIEvent
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn endTrackingWithTouch_withEvent_(
        self,
        touch: UITouch,
        event: UIEvent
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cancelTrackingWithEvent_(self, event: UIEvent)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn addTarget_action_forControlEvents_(
        self,
        target: id,
        action: Sel,
        controlEvents: UIControlEvents
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeTarget_action_forControlEvents_(
        self,
        target: id,
        action: Sel,
        controlEvents: UIControlEvents
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn actionsForTarget_forControlEvent_(
        self,
        target: id,
        controlEvent: UIControlEvents
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sendAction_to_forEvent_(
        self,
        action: Sel,
        target: id,
        event: UIEvent
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sendActionsForControlEvents_(self, controlEvents: UIControlEvents)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isEnabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setEnabled_(self, enabled: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isSelected(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSelected_(self, selected: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isHighlighted(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setHighlighted_(self, highlighted: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentVerticalAlignment(
        self
    ) -> UIControlContentVerticalAlignment
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setContentVerticalAlignment_(
        self,
        contentVerticalAlignment: UIControlContentVerticalAlignment
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentHorizontalAlignment(
        self
    ) -> UIControlContentHorizontalAlignment
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setContentHorizontalAlignment_(
        self,
        contentHorizontalAlignment: UIControlContentHorizontalAlignment
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn effectiveContentHorizontalAlignment(
        self
    ) -> UIControlContentHorizontalAlignment
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn state(self) -> UIControlState
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isTracking(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isTouchInside(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allTargets(self) -> NSSet
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allControlEvents(self) -> UIControlEvents
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn beginTrackingWithTouch_withEvent_(
    self,
    touch: UITouch,
    event: UIEvent
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn continueTrackingWithTouch_withEvent_(
    self,
    touch: UITouch,
    event: UIEvent
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn endTrackingWithTouch_withEvent_(self, touch: UITouch, event: UIEvent) where
    Self::Target: Message + Sized

unsafe fn cancelTrackingWithEvent_(self, event: UIEvent) where
    Self::Target: Message + Sized

unsafe fn addTarget_action_forControlEvents_(
    self,
    target: id,
    action: Sel,
    controlEvents: UIControlEvents
) where
    Self::Target: Message + Sized

unsafe fn removeTarget_action_forControlEvents_(
    self,
    target: id,
    action: Sel,
    controlEvents: UIControlEvents
) where
    Self::Target: Message + Sized

unsafe fn actionsForTarget_forControlEvent_(
    self,
    target: id,
    controlEvent: UIControlEvents
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn sendAction_to_forEvent_(self, action: Sel, target: id, event: UIEvent) where
    Self::Target: Message + Sized

unsafe fn sendActionsForControlEvents_(self, controlEvents: UIControlEvents) where
    Self::Target: Message + Sized

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

unsafe fn setEnabled_(self, enabled: BOOL) where
    Self::Target: Message + Sized

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

unsafe fn setSelected_(self, selected: BOOL) where
    Self::Target: Message + Sized

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

unsafe fn setHighlighted_(self, highlighted: BOOL) where
    Self::Target: Message + Sized

unsafe fn contentVerticalAlignment(self) -> UIControlContentVerticalAlignment where
    Self::Target: Message + Sized

unsafe fn setContentVerticalAlignment_(
    self,
    contentVerticalAlignment: UIControlContentVerticalAlignment
) where
    Self::Target: Message + Sized

unsafe fn contentHorizontalAlignment(
    self
) -> UIControlContentHorizontalAlignment where
    Self::Target: Message + Sized

unsafe fn setContentHorizontalAlignment_(
    self,
    contentHorizontalAlignment: UIControlContentHorizontalAlignment
) where
    Self::Target: Message + Sized

unsafe fn effectiveContentHorizontalAlignment(
    self
) -> UIControlContentHorizontalAlignment where
    Self::Target: Message + Sized

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

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

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

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

unsafe fn allControlEvents(self) -> UIControlEvents where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIControl for UIButton[src]

impl IUIControl for UIControl[src]

impl IUIControl for UIDatePicker[src]

impl IUIControl for UIPageControl[src]

impl IUIControl for UIRefreshControl[src]

impl IUIControl for UISearchTextField[src]

impl IUIControl for UISegmentedControl[src]

impl IUIControl for UISlider[src]

impl IUIControl for UISwitch[src]

impl IUIControl for UITextField[src]

Loading content...