Menu

open class Menu(menuPointer: GMenu_autoptr) : MenuModel

kotlinx-gtk

28 / 03 / 2021

See also

Constructors

Menu
Link copied to clipboard
fun Menu()
Menu
Link copied to clipboard
fun Menu(menuPointer: GMenu_autoptr)

Types

Companion
Link copied to clipboard
object Companion

Functions

addOnItemsChangedCallback
Link copied to clipboard
fun addOnItemsChangedCallback(action: (MenuModel.ItemsChangedEvent) -> Unit): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
append
Link copied to clipboard
fun append(label: String?, detailedAction: String?)
appendItem
Link copied to clipboard
fun appendItem(menuItem: MenuItem)
appendSection
Link copied to clipboard
fun appendSection(label: String?, section: MenuModel)
appendSubmenu
Link copied to clipboard
fun appendSubmenu(label: String?, section: MenuModel)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
freeze
Link copied to clipboard
fun freeze()
getItemAttributeValue
Link copied to clipboard
fun getItemAttributeValue(itemIndex: Int, attribute: String, expectedType: VariantType? = null): Variant?
getItemLink
Link copied to clipboard
fun getItemLink(itemIndex: Int, link: String): MenuModel?
getString
Link copied to clipboard
fun getString(propertyName: String): String
insert
Link copied to clipboard
fun insert(position: Int, label: String?, detailedAction: String?)
insertItem
Link copied to clipboard
fun insertItem(position: Int, menuItem: MenuItem)
insertSection
Link copied to clipboard
fun insertSection(position: Int, label: String?, section: MenuModel)
insertSubmenu
Link copied to clipboard
fun insertSubmenu(position: Int, label: String?, submenu: MenuModel)
itemsChanged
Link copied to clipboard
fun itemsChanged(position: Int, removed: Int, added: Int)
iterateITemAttributes
Link copied to clipboard
fun iterateITemAttributes(itemIndex: Int): MenuAttributeIter
iterateItemsLinks
Link copied to clipboard
fun iterateItemsLinks(itemIndex: Int): MenuLinkIter
prepend
Link copied to clipboard
fun prepend(label: String?, detailedAction: String?)
prependItem
Link copied to clipboard
fun prependItem(menuItem: MenuItem)
prependSection
Link copied to clipboard
fun prependSection(label: String?, section: MenuModel)
prependSubmenu
Link copied to clipboard
fun prependSubmenu(label: String?, submenu: MenuModel)
ref
Link copied to clipboard
open fun ref(): KGObject
remove
Link copied to clipboard
fun remove(position: Int)
removeAll
Link copied to clipboard
fun removeAll()
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
isMutable
Link copied to clipboard
val isMutable: Boolean
menuModelPointer
Link copied to clipboard
val menuModelPointer: GMenuModel_autoptr
menuPointer
Link copied to clipboard
val menuPointer: GMenu_autoptr
nItems
Link copied to clipboard
val nItems: Int
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>