Submenu

class Submenu(p: GMenuItem_autoptr) : MenuItem

Constructors

Submenu
Link copied to clipboard
fun Submenu(label: String?, section: MenuModel)

Functions

addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
getAttribute
Link copied to clipboard
fun getAttribute(attribute: String, formatString: String): Boolean
getAttributeValue
Link copied to clipboard
fun getAttributeValue(attribute: String, expectedType: VariantType? = null): Variant?
getLink
Link copied to clipboard
fun getLink(link: String): MenuModel?
getString
Link copied to clipboard
fun getString(propertyName: String): String
ref
Link copied to clipboard
open fun ref(): KGObject
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setActionAndTargetValue
Link copied to clipboard
fun setActionAndTargetValue(action: String?, formatString: String?)
fun setActionAndTargetValue(action: String?, variant: Variant?)
setAttribute
Link copied to clipboard
fun setAttribute(attribute: String, formatString: String?)
setAttributeValue
Link copied to clipboard
fun setAttributeValue(attribute: String, variant: Variant?)
setDetailedAction
Link copied to clipboard
fun setDetailedAction(detailedAction: String)
setIcon
Link copied to clipboard
fun setIcon(icon: Icon?)
setLabel
Link copied to clipboard
fun setLabel(label: String?)
setLink
Link copied to clipboard
fun setLink(link: String, menuModel: MenuModel?)
setSection
Link copied to clipboard
fun setSection(section: MenuModel?)
setSubmenu
Link copied to clipboard
fun setSubmenu(submenu: MenuModel?)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
menuItemPointer
Link copied to clipboard
val menuItemPointer: GMenuItem_autoptr
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>