Skip to content

fontlab_glyport.ui.cocoa_controls.NSButton · declarations 001

Back to fontlab_glyport.ui.cocoa_controls.NSButton

bezelStyle

bezelStyle()

image

image()

imagePosition

imagePosition() -> int

initWithFrame_

initWithFrame_(frame)

isBordered

isBordered() -> bool

setBezelStyle_

setBezelStyle_(style)

setBordered_

setBordered_(flag) -> None

A borderless push button is flat; check boxes and radios have no border.

setButtonType_

setButtonType_(kind) -> None

setImagePosition_

setImagePosition_(position) -> None

Qt draws the icon before the text; NSImageOnly hides the title.

setImage_

setImage_(image) -> None

An NSImage (ui.images) as the button icon; None clears it.

setState_

setState_(state) -> None

setTitle_

setTitle_(title) -> None

state

state() -> int

title

title() -> str