ShortcutLabel.this

Creates a new #GtkShortcutLabel with @accelerator set.

  1. this(GtkShortcutLabel* gtkShortcutLabel, bool ownedRef)
  2. this(string accelerator)
    class ShortcutLabel
    this
    ()

Parameters

accelerator string

the initial accelerator

Return: a newly-allocated #GtkShortcutLabel

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.22