GLib Types

Gtk4.GLib.GListStoreMethod
GListStore(t)

Create a GListStore, which is an array of GObjects that implements the GListModel interface. The argument t can be a Julia type corresponding to a GObject type (such as GtkWidget) or a symbol (such as :GtkWidget).

source
Gtk4.GLib.GMenuItemType
GMenuItem(label, [detailed_action])

Create a GMenuItem with attributes label and an optional detailed_action, which is an action name with an optional detail argument.

source
Gtk4.GLib.GSimpleActionMethod
GSimpleAction(name::AbstractString, 
              [parameter_type::Type{T}, [initial_state]]; kwargs...) where T

Create an action with a name and optionally a parameter_type from a Julia type (only a few simple types are supported) and an initial_state. If initial_state is not provided, the action will be stateless.

Keyword arguments set the action's GObject properties.

source