Gjsify LogoGjsify Logo

The #GtkAboutDialog offers a simple way to display information about a program like its logo, name, copyright, website and license. It is also possible to give credits to the authors, documenters, translators and artists who have worked on the program. An about dialog is typically opened when the user selects the About option from the Help menu. All parts of the dialog are optional.

About dialog often contain links and email addresses. #GtkAboutDialog supports this by offering global hooks, which are called when the user clicks on a link or email address, see gtk_about_dialog_set_email_hook() and gtk_about_dialog_set_url_hook(). Email addresses in the authors, documenters and artists properties are recognized by looking for <user<!-- -->host>, URLs are recognized by looking for http://url, with url extending to the next space, tab or line break.

Since 2.18 #GtkAboutDialog provides default website and email hooks that use gtk_show_uri().

If you want provide your own hooks overriding the default ones, it is important to do so before setting the website and email URL properties, like this: gtk_about_dialog_set_url_hook (GTK_ABOUT_DIALOG (dialog), launch_url, NULL, NULL); gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (dialog), app_url); To disable the default hooks, you can pass %NULL as the hook func. Then, the #GtkAboutDialog widget will not display the website or the email addresses as clickable.

To make constructing a #GtkAboutDialog as convenient as possible, you can use the function gtk_show_about_dialog() which constructs and shows a dialog and keeps it around so that it can be shown again.

Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a #GtkAboutDialog, as shown in the following example: gtk_show_about_dialog (NULL, "program-name", "ExampleCode", "logo", example_logo, "title" _("About ExampleCode"), NULL); Note that prior to GTK+ 2.12, the #GtkAboutDialog:program-name property was called "name". This was changed to avoid the conflict with the #GtkWidget:name property.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

acceptFocus: boolean

Whether the window should receive the input focus.

actionArea: Gtk.Widget
allocation: Gdk.Rectangle
allowGrow: number
allowShrink: number
appPaintable: boolean
artists: string[]

The people who contributed artwork to the program, as a %NULL-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.

authors: string[]

The authors of the program, as a %NULL-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.

bin: Gtk.Bin
borderWidth: number
canDefault: boolean
canFocus: boolean
child: Gtk.Widget
comments: string

Comments about the program. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features.

compositeChild: boolean
configureNotifyReceived: number
configureRequestCount: number
container: Gtk.Container
copyright: string

Copyright information for the program.

decorated: number
defaultHeight: number
defaultWidget: Gtk.Widget
defaultWidth: number
deletable: boolean

Whether the window frame should have a close button.

destroyWithParent: number
documenters: string[]

The people documenting the program, as a %NULL-terminated array of strings. Each string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.

doubleBuffered: boolean

Whether or not the widget is double buffered.

events: Gdk.EventMask
extensionEvents: ExtensionMode
flags: number
focusChild: Gtk.Widget
focusOnMap: boolean

Whether the window should receive the input focus when mapped.

focusWidget: Gtk.Widget
frame: Gdk.Window
frameBottom: number
frameLeft: number
frameRight: number
frameTop: number
gTypeInstance: TypeInstance
geometryInfo: Gtk.WindowGeometryInfo
gravity: number
hasDefault: boolean
hasFocus: any
hasFrame: number
hasSeparator: boolean

When %TRUE, the dialog has a separator bar above its buttons.

hasTooltip: boolean

Enables or disables the emission of #GtkWidget::query-tooltip on widget. A value of %TRUE indicates that widget can have a tooltip, in this case the widget will be queried using #GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

Note that setting this property to %TRUE for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to %FALSE again.

hasToplevelFocus: number
hasUserRefCount: number
heightRequest: number
icon: Pixbuf
iconName: string

The :icon-name property specifies the name of the themed icon to use as the window icon. See #GtkIconTheme for more details.

iconifyInitially: number
isActive: number
isFocus: boolean
keysChangedHandler: number
license: string

The license of the program. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that the text is only wrapped in the text view if the "wrap-license" property is set to %TRUE; otherwise the text itself must contain the intended linebreaks.

logo: Pixbuf

A logo for the about box. If this is not set, it defaults to gtk_window_get_default_icon_list().

logoIconName: string

A named icon to use as the logo for the about box. This property overrides the #GtkAboutDialog:logo property.

maximizeInitially: number
mnemonicModifier: Gdk.ModifierType
mnemonicsVisible: boolean
modal: number
name: string
needDefaultPosition: number
needDefaultSize: number
noShowAll: boolean
object: Gtk.Object
opacity: number

The requested opacity of the window. See gtk_window_set_opacity() for more details about window opacity.

parent: Gtk.Widget
parentInstance: Gtk.Dialog
position: number
privateFlags: number
programName: string

The name of the program. If this is not set, it defaults to g_get_application_name().

receivesDefault: boolean
requisition: Gtk.Requisition
resizable: boolean
resizeMode: Gtk.ResizeMode
role: string
savedState: number
screen: Gdk.Screen
sensitive: boolean
skipPagerHint: boolean
skipTaskbarHint: boolean
startupId: string

The :startup-id is a write-only property for setting window's startup notification identifier. See gtk_window_set_startup_id() for more details.

state: number
stickInitially: number
style: Gtk.Style
title: string
tooltipMarkup: string

Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see gtk_tooltip_set_markup().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

tooltipText: string

Sets the text of tooltip to be the given string.

Also see gtk_tooltip_set_text().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

transientFor: Gtk.Window

The transient parent of the window. See gtk_window_set_transient_for() for more details about transient windows.

transientParent: Gtk.Window
translatorCredits: string

Credits to the translators. This string should be marked as translatable. The string may contain email addresses and URLs, which will be displayed as links, see the introduction for more details.

type: number
typeHint: number
urgencyHint: boolean
userData: object
vbox: Gtk.Widget
version: string

The version of the program.

visible: boolean
website: string

The URL for the link to the website of the program. This should be a string starting with "http://.

websiteLabel: string

The label for the link to the website of the program. If this is not set, it defaults to the URL specified in the #GtkAboutDialog:website property.

widget: Gtk.Widget
widthRequest: number
window: any
windowPosition: Gtk.WindowPosition
wmRole: string
wmclassClass: string
wmclassName: string
wrapLicense: boolean

Whether to wrap the text in the license dialog.

name: string

Methods

  • activate(): boolean
  • For widgets that can be "activated" (buttons, menu items, etc.) this function activates them. Activation is what happens when you press Enter on a widget during key navigation. If widget isn't activatable, the function returns %FALSE.

    Returns boolean

  • activateDefault(): boolean
  • Activates the default widget for the window, unless the current focused widget has been configured to receive the default action (see gtk_widget_set_receives_default()), in which case the focused widget is activated.

    Returns boolean

  • activateFocus(): boolean
  • Activates mnemonics and accelerators for this #GtkWindow. This is normally called by the default ::key_press_event handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.

    Parameters

    Returns boolean

  • Adds widget to container. Typically used for simple containers such as #GtkWindow, #GtkFrame, or #GtkButton; for more complicated layout containers such as #GtkBox or #GtkTable, this function will pick default packing parameters that may not be correct. So consider functions such as gtk_box_pack_start() and gtk_table_attach() as an alternative to gtk_container_add() in those cases. A widget may be added to only one container at a time; you can't place the same widget inside two different containers.

    Parameters

    • widget: Gtk.Widget

      a widget to be placed inside container

    Returns void

  • Associate accel_group with window, such that calling gtk_accel_groups_activate() on window will activate accelerators in accel_group.

    Parameters

    Returns void

  • Installs an accelerator for this widget in accel_group that causes accel_signal to be emitted if the accelerator is activated. The accel_group needs to be added to the widget's toplevel via gtk_window_add_accel_group(), and the signal must be of type %G_RUN_ACTION. Accelerators added through this function are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use gtk_accel_map_add_entry() and gtk_widget_set_accel_path() or gtk_menu_item_set_accel_path() instead.

    Parameters

    • accelSignal: string

      widget signal to emit on accelerator activation

    • accelGroup: Gtk.AccelGroup

      accel group for this widget, added to its toplevel

    • accelKey: number

      GDK keyval of the accelerator

    • accelMods: Gdk.ModifierType

      modifier key combination of the accelerator

    • accelFlags: Gtk.AccelFlags

      flag accelerators, e.g. %GTK_ACCEL_VISIBLE

    Returns void

  • addActionWidget(child: Gtk.Widget, responseId: number): void
  • Adds an activatable widget to the action area of a #GtkDialog, connecting a signal handler that will emit the #GtkDialog::response signal on the dialog when the widget is activated. The widget is appended to the end of the dialog's action area. If you want to add a non-activatable widget, simply pack it into the action_area field of the #GtkDialog struct.

    Parameters

    • child: Gtk.Widget

      an activatable widget

    • responseId: number

      response ID for child

    Returns void

  • addButton(buttonText: string, responseId: number): Gtk.Widget
  • Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the #GtkDialog::response signal with the given response_id. The button is appended to the end of the dialog's action area. The button widget is returned, but usually you don't need it.

    Parameters

    • buttonText: string

      text of button, or stock ID

    • responseId: number

      response ID for the button

    Returns Gtk.Widget

  • Adds a child to buildable. type is an optional string describing how the child should be added.

    Parameters

    Returns void

  • addEmbeddedXid(xid: number): void
  • addEvents(events: number): void
  • Adds the events in the bitfield events to the event mask for widget. See gtk_widget_set_events() for details.

    Parameters

    • events: number

      an event mask, see #GdkEventMask

    Returns void

  • addMnemonic(keyval: number, target: Gtk.Widget): void
  • Adds a widget to the list of mnemonic labels for this widget. (See gtk_widget_list_mnemonic_labels()). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the #GtkWidget::destroy signal or a weak notifier.

    Parameters

    • label: Gtk.Widget

      a #GtkWidget that acts as a mnemonic label for widget

    Returns void

  • beginMoveDrag(button: number, rootX: number, rootY: number, timestamp: number): void
  • Starts moving a window. This function is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system.

    Parameters

    • button: number

      mouse button that initiated the drag

    • rootX: number

      X position where the user clicked to initiate the drag, in root window coordinates

    • rootY: number

      Y position where the user clicked to initiate the drag

    • timestamp: number

      timestamp from the click event that initiated the drag

    Returns void

  • beginResizeDrag(edge: Gdk.WindowEdge, button: number, rootX: number, rootY: number, timestamp: number): void
  • Starts resizing a window. This function is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system.

    Parameters

    • edge: Gdk.WindowEdge

      position of the resize control

    • button: number

      mouse button that initiated the drag

    • rootX: number

      X position where the user clicked to initiate the drag, in root window coordinates

    • rootY: number

      Y position where the user clicked to initiate the drag

    • timestamp: number

      timestamp from the click event that initiated the drag

    Returns void

  • Creates a binding between source_property on source and target_property on target.

    Whenever the source_property is changed the target_property is updated using the same value. For instance:

      g_object_bind_property (action, "active", widget, "sensitive", 0);
    

    Will result in the "sensitive" property of the widget #GObject instance to be updated with the same value of the "active" property of the action #GObject instance.

    If flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: if target_property on target changes then the source_property on source will be updated as well.

    The binding will automatically be removed when either the source or the target instances are finalized. To remove the binding without affecting the source and the target you can just call g_object_unref() on the returned #GBinding instance.

    Removing the binding by calling g_object_unref() on it must only be done if the binding, source and target are only used from a single thread and it is clear that both source and target outlive the binding. Especially it is not safe to rely on this if the binding, source or target can be finalized from different threads. Keep another reference to the binding and use g_binding_unbind() instead to be on the safe side.

    A #GObject can have multiple bindings.

    Parameters

    • sourceProperty: string

      the property on source to bind

    • target: GObject.Object

      the target #GObject

    • targetProperty: string

      the property on target to bind

    • flags: BindingFlags

      flags to pass to #GBinding

    Returns Binding

  • Creates a binding between source_property on source and target_property on target, allowing you to set the transformation functions to be used by the binding.

    This function is the language bindings friendly version of g_object_bind_property_full(), using #GClosures instead of function pointers.

    Parameters

    • sourceProperty: string

      the property on source to bind

    • target: GObject.Object

      the target #GObject

    • targetProperty: string

      the property on target to bind

    • flags: BindingFlags

      flags to pass to #GBinding

    • transformTo: TClosure<any, any>

      a #GClosure wrapping the transformation function from the source to the target, or %NULL to use the default

    • transformFrom: TClosure<any, any>

      a #GClosure wrapping the transformation function from the target to the source, or %NULL to use the default

    Returns Binding

  • canActivateAccel(signalId: number): boolean
  • Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This is done by emitting the #GtkWidget::can-activate-accel signal on widget; if the signal isn't overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped.

    Parameters

    • signalId: number

      the ID of a signal installed on widget

    Returns boolean

  • checkResize(): void
  • This function is used by custom widget implementations; if you're writing an app, you'd use gtk_widget_grab_focus() to move the focus to a particular widget, and gtk_container_set_focus_chain() to change the focus tab order. So you may want to investigate those functions instead.

    gtk_widget_child_focus() is called by containers as the user moves around the window using keyboard shortcuts. direction indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). gtk_widget_child_focus() emits the #GtkWidget::focus signal; widgets override the default handler for this signal in order to implement appropriate focus behavior.

    The default ::focus handler for a widget should return %TRUE if moving in direction left the focus on a focusable location inside that widget, and %FALSE if moving in direction moved the focus outside the widget. If returning %TRUE, widgets normally call gtk_widget_grab_focus() to place the focus accordingly; if returning %FALSE, they don't modify the current focus location.

    This function replaces gtk_container_focus() from GTK+ 1.2. It was necessary to check that the child was visible, sensitive, and focusable before calling gtk_container_focus(). gtk_widget_child_focus() returns %FALSE if the widget is not currently in a focusable state, so there's no need for those checks.

    Parameters

    Returns boolean

  • childGetProperty(child: Gtk.Widget, propertyName: string, value: any): void
  • Gets the value of a child property for child and container.

    Parameters

    • child: Gtk.Widget

      a widget which is a child of container

    • propertyName: string

      the name of the property to get

    • value: any

      a location to return the value

    Returns void

  • childNotify(childProperty: string): void
  • Emits a #GtkWidget::child-notify signal for the

    child property `child_property` on `widget`.

    This is the analogue of g_object_notify() for child properties.

    Parameters

    • childProperty: string

      the name of a child property installed on the class of widget<!-- -->'s parent

    Returns void

  • childSetProperty(child: Gtk.Widget, propertyName: string, value: any): void
  • Sets a child property for child and container.

    Parameters

    • child: Gtk.Widget

      a widget which is a child of container

    • propertyName: string

      the name of the property to set

    • value: any

      the value to set the property to

    Returns void

  • childType(): GType<unknown>
  • Returns the type of the children supported by the container.

    Note that this may return %G_TYPE_NONE to indicate that no more children can be added, e.g. for a #GtkPaned which already has two children.

    Returns GType<unknown>

  • classPath(): [number, string, string]
  • Same as gtk_widget_path(), but always uses the name of a widget's type, never uses a custom name set with gtk_widget_set_name().

    Returns [number, string, string]

  • connect(sigName: "activate-link", callback: Gtk.AboutDialog_ActivateLinkSignalCallback): number
  • connect(sigName: "notify::artists", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::authors", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::comments", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::copyright", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::documenters", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::license", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::logo", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::logo-icon-name", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::program-name", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::translator-credits", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::version", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::website", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::website-label", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::wrap-license", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::has-separator", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::accept-focus", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::default-height", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::default-width", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::deletable", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::focus-on-map", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::icon", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::icon-name", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::mnemonics-visible", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::opacity", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::resizable", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::role", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::skip-pager-hint", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::skip-taskbar-hint", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::startup-id", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::transient-for", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::urgency-hint", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::window-position", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::child", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::resize-mode", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::app-paintable", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::can-default", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::can-focus", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::composite-child", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::double-buffered", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::events", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::extension-events", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::has-default", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::has-focus", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::has-tooltip", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::height-request", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::is-focus", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::no-show-all", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::receives-default", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::sensitive", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::tooltip-markup", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::tooltip-text", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::visible", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::width-request", callback: ((...args: any[]) => void)): number
  • connect(sigName: "notify::user-data", callback: ((...args: any[]) => void)): number
  • connect(sigName: string, callback: ((...args: any[]) => void)): number
  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::artists"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::authors"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::comments"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::copyright"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::documenters"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::logo"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::logo-icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::program-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::translator-credits"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::version"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::website"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::website-label"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::wrap-license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::has-separator"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::accept-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::default-height"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::default-width"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::deletable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::focus-on-map"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::icon"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::mnemonics-visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::opacity"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::resizable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::role"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::skip-pager-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::skip-taskbar-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::startup-id"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::transient-for"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::urgency-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::window-position"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::can-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::can-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::composite-child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::extension-events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::has-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::has-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::height-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::is-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::receives-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::sensitive"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::width-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: "notify::user-data"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Parameters

    • sigName: string
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns number

  • Constructs a child of buildable with the name name.

    #GtkBuilder calls this function if a "constructor" has been specified in the UI definition.

    Parameters

    • builder: Gtk.Builder

      #GtkBuilder used to construct this object

    • name: string

      name of child to construct

    Returns GObject.Object

  • Creates a new #PangoLayout with the appropriate font map, font description, and base direction for drawing text for this widget.

    If you keep a #PangoLayout created in this way around, in order to notify the layout of changes to the base direction or font of this widget, you must call pango_layout_context_changed() in response to the #GtkWidget::style-set and #GtkWidget::direction-changed signals for the widget.

    Parameters

    • text: string

      text to set on the layout (can be %NULL)

    Returns Pango.Layout

  • This is similar to gtk_buildable_parser_finished() but is called once for each custom tag handled by the buildable.

    Parameters

    • builder: Gtk.Builder

      a #GtkBuilder

    • child: GObject.Object

      child object or %NULL for non-child tags

    • tagname: string

      the name of the tag

    • data: object

      user data created in custom_tag_start

    Returns void

  • This is called at the end of each custom element handled by the buildable.

    Parameters

    • builder: Gtk.Builder

      #GtkBuilder used to construct this object

    • child: GObject.Object

      child object or %NULL for non-child tags

    • tagname: string

      name of tag

    • data: object

      user data that will be passed in to parser functions

    Returns void

  • deiconify(): void
  • Asks to deiconify (i.e. unminimize) the specified window. Note that you shouldn't assume the window is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run.

    You can track iconification via the "window-state-event" signal on #GtkWidget.

    Returns void

  • destroy(): void
  • Destroys a widget. Equivalent to gtk_object_destroy(), except that you don't have to cast the widget to #GtkObject. When a widget is destroyed, it will break any references it holds to other objects. If the widget is inside a container, the widget will be removed from the container. If the widget is a toplevel (derived from #GtkWindow), it will be removed from the list of toplevels, and the reference GTK+ holds to it will be removed. Removing a widget from its container or the list of toplevels results in the widget being finalized, unless you've added additional references to the widget with g_object_ref().

    In most cases, only toplevel widgets (windows) require explicit destruction, because when you destroy a toplevel its children will be destroyed as well.

    Returns void

  • This function sets *widget_pointer to %NULL if widget_pointer != %NULL. It's intended to be used as a callback connected to the "destroy" signal of a widget. You connect gtk_widget_destroyed() as a signal handler, and pass the address of your widget variable as user data. Then when the widget is destroyed, the variable will be set to %NULL. Useful for example to avoid multiple copies of the same dialog.

    Parameters

    • widgetPointer: Gtk.Widget

      address of a variable that contains widget

    Returns Gtk.Widget

  • In GTK+ 1.2, this function would immediately render the region area of a widget, by invoking the virtual draw method of a widget. In GTK+ 2.0, the draw method is gone, and instead gtk_widget_draw() simply invalidates the specified region of the widget, then updates the invalid region of the widget immediately. Usually you don't want to update the region immediately for performance reasons, so in general gtk_widget_queue_draw_area() is a better choice if you want to draw a region of a widget.

    Parameters

    Returns void

  • emit(sigName: "activate-link", ...args: any[]): void
  • emit(sigName: "notify::artists", ...args: any[]): void
  • emit(sigName: "notify::authors", ...args: any[]): void
  • emit(sigName: "notify::comments", ...args: any[]): void
  • emit(sigName: "notify::copyright", ...args: any[]): void
  • emit(sigName: "notify::documenters", ...args: any[]): void
  • emit(sigName: "notify::license", ...args: any[]): void
  • emit(sigName: "notify::logo", ...args: any[]): void
  • emit(sigName: "notify::logo-icon-name", ...args: any[]): void
  • emit(sigName: "notify::program-name", ...args: any[]): void
  • emit(sigName: "notify::translator-credits", ...args: any[]): void
  • emit(sigName: "notify::version", ...args: any[]): void
  • emit(sigName: "notify::website", ...args: any[]): void
  • emit(sigName: "notify::website-label", ...args: any[]): void
  • emit(sigName: "notify::wrap-license", ...args: any[]): void
  • emit(sigName: "notify::has-separator", ...args: any[]): void
  • emit(sigName: "notify::accept-focus", ...args: any[]): void
  • emit(sigName: "notify::default-height", ...args: any[]): void
  • emit(sigName: "notify::default-width", ...args: any[]): void
  • emit(sigName: "notify::deletable", ...args: any[]): void
  • emit(sigName: "notify::focus-on-map", ...args: any[]): void
  • emit(sigName: "notify::icon", ...args: any[]): void
  • emit(sigName: "notify::icon-name", ...args: any[]): void
  • emit(sigName: "notify::mnemonics-visible", ...args: any[]): void
  • emit(sigName: "notify::opacity", ...args: any[]): void
  • emit(sigName: "notify::resizable", ...args: any[]): void
  • emit(sigName: "notify::role", ...args: any[]): void
  • emit(sigName: "notify::skip-pager-hint", ...args: any[]): void
  • emit(sigName: "notify::skip-taskbar-hint", ...args: any[]): void
  • emit(sigName: "notify::startup-id", ...args: any[]): void
  • emit(sigName: "notify::transient-for", ...args: any[]): void
  • emit(sigName: "notify::urgency-hint", ...args: any[]): void
  • emit(sigName: "notify::window-position", ...args: any[]): void
  • emit(sigName: "notify::child", ...args: any[]): void
  • emit(sigName: "notify::resize-mode", ...args: any[]): void
  • emit(sigName: "notify::app-paintable", ...args: any[]): void
  • emit(sigName: "notify::can-default", ...args: any[]): void
  • emit(sigName: "notify::can-focus", ...args: any[]): void
  • emit(sigName: "notify::composite-child", ...args: any[]): void
  • emit(sigName: "notify::double-buffered", ...args: any[]): void
  • emit(sigName: "notify::events", ...args: any[]): void
  • emit(sigName: "notify::extension-events", ...args: any[]): void
  • emit(sigName: "notify::has-default", ...args: any[]): void
  • emit(sigName: "notify::has-focus", ...args: any[]): void
  • emit(sigName: "notify::has-tooltip", ...args: any[]): void
  • emit(sigName: "notify::height-request", ...args: any[]): void
  • emit(sigName: "notify::is-focus", ...args: any[]): void
  • emit(sigName: "notify::no-show-all", ...args: any[]): void
  • emit(sigName: "notify::receives-default", ...args: any[]): void
  • emit(sigName: "notify::sensitive", ...args: any[]): void
  • emit(sigName: "notify::tooltip-markup", ...args: any[]): void
  • emit(sigName: "notify::tooltip-text", ...args: any[]): void
  • emit(sigName: "notify::visible", ...args: any[]): void
  • emit(sigName: "notify::width-request", ...args: any[]): void
  • emit(sigName: "notify::user-data", ...args: any[]): void
  • emit(sigName: string, ...args: any[]): void
  • ensureStyle(): void
  • Ensures that widget has a style (widget->style). Not a very useful function; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.

    Returns void

  • errorBell(): void
  • Notifies the user about an input-related error on this widget. If the #GtkSettings:gtk-error-bell setting is %TRUE, it calls gdk_window_beep(), otherwise it does nothing.

    Note that the effect of gdk_window_beep() can be configured in many ways, depending on the windowing backend and the desktop environment or window manager that is used.

    Returns void

  • Rarely-used function. This function is used to emit the event signals on a widget (those signals should never be emitted without using this function to do so). If you want to synthesize an event though, don't use this function; instead, use gtk_main_do_event() so the event will behave as if it were in the event queue. Don't synthesize expose events; instead, use gdk_window_invalidate_rect() to invalidate a region of the window.

    Parameters

    Returns boolean

  • forceFloating(): void
  • This function is intended for #GObject implementations to re-enforce a [floating][floating-ref] object reference. Doing this is seldom required: all #GInitiallyUnowneds are created with a floating reference which usually just needs to be sunken by calling g_object_ref_sink().

    Returns void

  • Invokes callback on each non-internal child of container. See gtk_container_forall() for details on what constitutes an "internal" child. Most applications should use gtk_container_foreach(), rather than gtk_container_forall().

    Parameters

    Returns void

  • freezeChildNotify(): void
  • Stops emission of #GtkWidget::child-notify signals on widget. The signals are queued until gtk_widget_thaw_child_notify() is called on widget.

    This is the analogue of g_object_freeze_notify() for child properties.

    Returns void

  • freezeNotify(): void
  • Increases the freeze count on object. If the freeze count is non-zero, the emission of "notify" signals on object is stopped. The signals are queued until the freeze count is decreased to zero. Duplicate notifications are squashed so that at most one #GObject::notify signal is emitted for each property modified while the object is frozen.

    This is necessary for accessors that modify multiple properties to prevent premature notification while the object is still being modified.

    Returns void

  • fullscreen(): void
  • Asks to place window in the fullscreen state. Note that you shouldn't assume the window is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the window will end up fullscreen. Just don't write code that crashes if not.

    You can track the fullscreen state via the "window-state-event" signal on #GtkWidget.

    Returns void

  • getAcceptFocus(): boolean
  • Returns the accessible object that describes the widget to an assistive technology.

    If no accessibility library is loaded (i.e. no ATK implementation library is loaded via GTK_MODULES or via another application library, such as libgnome), then this #AtkObject instance may be a no-op. Likewise, if no class-specific #AtkObject implementation is available for the widget instance in question, it will inherit an #AtkObject implementation from the first ancestor class for which such an implementation is defined.

    The documentation of the ATK library contains more information about accessible objects and their uses.

    Returns Atk.Object

  • Gets the first ancestor of widget with type widget_type. For example, gtk_widget_get_ancestor (widget, GTK_TYPE_BOX) gets the first #GtkBox that's an ancestor of widget. No reference will be added to the returned widget; it should not be unreferenced. See note about checking for a toplevel #GtkWindow in the docs for gtk_widget_get_toplevel().

    Note that unlike gtk_widget_is_ancestor(), gtk_widget_get_ancestor() considers widget to be an ancestor of itself.

    Parameters

    • widgetType: GType<unknown>

      ancestor type

    Returns Gtk.Widget

  • getAppPaintable(): boolean
  • Determines whether the application intends to draw on the widget in an #GtkWidget::expose-event handler.

    See gtk_widget_set_app_paintable()

    Returns boolean

  • getArtists(): string[]
  • Returns the string which are displayed in the artists tab of the secondary credits dialog.

    Returns string[]

  • getAuthors(): string[]
  • Returns the string which are displayed in the authors tab of the secondary credits dialog.

    Returns string[]

  • getBorderWidth(): number
  • getCanDefault(): boolean
  • getCanFocus(): boolean
  • Gets the child of the #GtkBin, or %NULL if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.

    Returns Gtk.Widget

  • This function is only for use in widget implementations. Obtains widget->requisition, unless someone has forced a particular geometry on the widget (e.g. with gtk_widget_set_size_request()), in which case it returns that geometry instead of the widget's requisition.

    This function differs from gtk_widget_size_request() in that it retrieves the last size request value from widget->requisition, while gtk_widget_size_request() actually calls the "size_request" method on widget to compute the size request and fill in widget->requisition, and only then returns widget->requisition.

    Because this function does not call the "size_request" method, it can only be used when you know that widget->requisition is up-to-date, that is, gtk_widget_size_request() has been called since the last time a resize was queued. In general, only container implementations have this information; applications should use gtk_widget_size_request().

    Parameters

    Returns void

  • getChildVisible(): boolean
  • Gets the value set with gtk_widget_set_child_visible(). If you feel a need to use this function, your code probably needs reorganization.

    This function is only useful for container implementations and never should be called by an application.

    Returns boolean

  • Returns the clipboard object for the given selection to be used with widget. widget must have a #GdkDisplay associated with it, so must be attached to a toplevel window.

    Parameters

    • selection: Gdk.Atom

      a #GdkAtom which identifies the clipboard to use. %GDK_SELECTION_CLIPBOARD gives the default clipboard. Another common value is %GDK_SELECTION_PRIMARY, which gives the primary X selection.

    Returns Gtk.Clipboard

  • getComments(): string
  • getCompositeName(): string
  • getCopyright(): string
  • getData(key?: string): object
  • getData(key?: string): object
  • getData(...args: any[]): any
  • getData(args_or_key?: string | any[]): any
  • Gets a named field from the objects table of associations (see g_object_set_data()).

    Parameters

    • Optional key: string

    Returns object

  • Gets a named field from the objects table of associations (see g_object_set_data()).

    Parameters

    • Optional key: string

      name of the key for that association

    Returns object

  • Parameters

    • Rest ...args: any[]

    Returns any

  • Parameters

    • Optional args_or_key: string | any[]

    Returns any

  • getDataById(dataId: number): object
  • getDecorated(): boolean
  • Returns whether the window has been set to have decorations such as a title bar via gtk_window_set_decorated().

    Returns boolean

  • getDefaultSize(width: number, height: number): void
  • Gets the default size of the window. A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used.

    Parameters

    • width: number

      location to store the default width, or %NULL

    • height: number

      location to store the default height, or %NULL

    Returns void

  • getDeletable(): boolean
  • getDestroyWithParent(): boolean
  • Get the #GdkDisplay for the toplevel window associated with this widget. This function can only be called after the widget has been added to a widget hierarchy with a #GtkWindow at the top.

    In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

    Returns Gdk.Display

  • getDocumenters(): string[]
  • Returns the string which are displayed in the documenters tab of the secondary credits dialog.

    Returns string[]

  • getDoubleBuffered(): boolean
  • getEvents(): number
  • Returns the event mask for the widget (a bitfield containing flags from the #GdkEventMask enumeration). These are the events that the widget will receive.

    Returns number

  • Retrieves the current focused widget within the window. Note that this is the widget that would have the focus if the toplevel window focused; if the toplevel window is not focused then gtk_widget_has_focus (widget) will not be %TRUE for the widget.

    Returns Gtk.Widget

  • Retrieves the focus chain of the container, if one has been set explicitly. If no focus chain has been explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores %NULL in focusable_widgets and returns %FALSE.

    Returns [boolean, Gtk.Widget[]]

  • Returns the current focus child widget inside container. This is not the currently focused widget. That can be obtained by calling gtk_window_get_focus().

    Returns Gtk.Widget

  • getFocusOnMap(): boolean
  • getFrameDimensions(): [number, number, number, number]
  • (Note: this is a special-purpose function intended for the framebuffer port; see gtk_window_set_has_frame(). It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See gdk_window_get_frame_extents() to get the standard window border extents.)

    Retrieves the dimensions of the frame window for this toplevel. See gtk_window_set_has_frame(), gtk_window_set_frame_dimensions().

    Returns [number, number, number, number]

  • getHasFrame(): boolean
  • Accessor for whether the window has a frame window exterior to window->window. Gets the value set by gtk_window_set_has_frame ().

    Returns boolean

  • getHasSeparator(): boolean
  • getHasTooltip(): boolean
  • getHasWindow(): boolean
  • Gets the value set by gtk_window_set_icon() (or if you've called gtk_window_set_icon_list(), gets the first icon in the icon list).

    Returns Pixbuf

  • Retrieves the list of icons set by gtk_window_set_icon_list(). The list is copied, but the reference count on each member won't be incremented.

    Returns Pixbuf[]

  • getIconName(): string
  • getLicense(): string
  • getLogoIconName(): string
  • Returns the icon name displayed as logo in the about dialog.

    Returns string

  • getMapped(): boolean
  • getMnemonicsVisible(): boolean
  • getModal(): boolean
  • Returns the current modifier style for the widget. (As set by gtk_widget_modify_style().) If no style has previously set, a new #GtkRcStyle will be created with all values unset, and set as the modifier style for the widget. If you make changes to this rc style, you must call gtk_widget_modify_style(), passing in the returned rc style, to make sure that your changes take effect.

    Caution: passing the style back to gtk_widget_modify_style() will normally end up destroying it, because gtk_widget_modify_style() copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive.

    Returns Gtk.RcStyle

  • getName(): string
  • getNoShowAll(): boolean
  • Returns the current value of the GtkWidget:no-show-all property, which determines whether calls to gtk_widget_show_all() and gtk_widget_hide_all() will affect this widget.

    Returns boolean

  • getOpacity(): number
  • Gets a #PangoContext with the appropriate font map, font description, and base direction for this widget. Unlike the context returned by gtk_widget_create_pango_context(), this context is owned by the widget (it can be used until the screen for the widget changes or the widget is removed from its toplevel), and will be updated to match any changes to the widget's attributes.

    If you create and keep a #PangoLayout using this context, you must deal with changes to the context by calling pango_layout_context_changed() on the layout in response to the #GtkWidget::style-set and #GtkWidget::direction-changed signals for the widget.

    Returns Pango.Context

  • getPointer(): [number, number]
  • Obtains the location of the mouse pointer in widget coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as widget->window coordinates for widgets that are not #GTK_NO_WINDOW widgets, and are relative to widget->allocation.x, widget->allocation.y for widgets that are #GTK_NO_WINDOW widgets.

    Returns [number, number]

  • getPosition(): [number, number]
  • This function returns the position you need to pass to gtk_window_move() to keep window in its current position. This means that the meaning of the returned value varies with window gravity. See gtk_window_move() for more details.

    If you haven't changed the window gravity, its gravity will be #GDK_GRAVITY_NORTH_WEST. This means that gtk_window_get_position() gets the position of the top-left corner of the window manager frame for the window. gtk_window_move() sets the position of this same top-left corner.

    gtk_window_get_position() is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a window by the window manager. Thus GTK+ is using a "best guess" that works with most window managers.

    Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a window to its current position as returned by gtk_window_get_position() tends to result in moving the window slightly. Window managers are slowly getting better over time.

    If a window has gravity #GDK_GRAVITY_STATIC the window manager frame is not relevant, and thus gtk_window_get_position() will always produce accurate results. However you can't use static gravity to do things like place a window in a corner of the screen, because static gravity ignores the window manager decorations.

    If you are saving and restoring your application's window positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your window sizes and positions.

    Returns [number, number]

  • getProgramName(): string
  • Returns the program name displayed in the about dialog.

    Returns string

  • getProperty(propertyName?: string, value?: any): void
  • Gets a property of an object.

    The value can be:

    • an empty #GValue initialized by %G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
    • a #GValue initialized with the expected type of the property
    • a #GValue initialized with a type to which the expected type of the property can be transformed

    In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset().

    Note that g_object_get_property() is really intended for language bindings, g_object_get() is much more convenient for C programming.

    Parameters

    • Optional propertyName: string

      the name of the property to get

    • Optional value: any

      return location for the property value

    Returns void

  • getQdata(quark: number): object
  • This function gets back user data pointers stored via g_object_set_qdata().

    Parameters

    • quark: number

      A #GQuark, naming the user data pointer

    Returns object

  • getRealized(): boolean
  • getReceivesDefault(): boolean
  • Determines whether widget is alyways treated as default widget withing its toplevel when it has the focus, even if another widget is the default.

    See gtk_widget_set_receives_default().

    Returns boolean

  • Retrieves the widget's requisition.

    This function should only be used by widget implementations in order to figure whether the widget's requisition has actually changed after some internal state change (so that they can call gtk_widget_queue_resize() instead of gtk_widget_queue_draw()).

    Normally, gtk_widget_size_request() should be used.

    Returns Gtk.Requisition

  • getResizable(): boolean
  • getResponseForWidget(widget: Gtk.Widget): number
  • getRole(): string
  • Returns the role of the window. See gtk_window_set_role() for further explanation.

    Returns string

  • Get the root window where this widget is located. This function can only be called after the widget has been added to a widget hierarchy with #GtkWindow at the top.

    The root window is useful for such purposes as creating a popup #GdkWindow associated with the window. In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

    Returns Gdk.Window

  • getSensitive(): boolean
  • Returns the widget's sensitivity (in the sense of returning the value that has been set using gtk_widget_set_sensitive()).

    The effective sensitivity of a widget is however determined by both its own and its parent widget's sensitivity. See gtk_widget_is_sensitive().

    Returns boolean

  • Gets the settings object holding the settings (global property settings, RC file information, etc) used for this widget.

    Note that this function can only be called when the #GtkWidget is attached to a toplevel, since the settings object is specific to a particular #GdkScreen.

    Returns Gtk.Settings

  • getSize(): [number, number]
  • Obtains the current size of window. If window is not onscreen, it returns the size GTK+ will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by gtk_window_get_size() is the last size received in a #GdkEventConfigure, that is, GTK+ uses its locally-stored size, rather than querying the X server for the size. As a result, if you call gtk_window_resize() then immediately call gtk_window_get_size(), the size won't have taken effect yet. After the window manager processes the resize request, GTK+ receives notification that the size has changed via a configure event, and the size of the window gets updated.

    Note 1: Nearly any use of this function creates a race condition, because the size of the window may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to "configure-event" on the window and adjust your size-dependent state to match the size delivered in the #GdkEventConfigure.

    Note 2: The returned size does not include the size of the window manager decorations (aka the window frame or border). Those are not drawn by GTK+ and GTK+ has no reliable method of determining their size.

    Note 3: If you are getting a window size in order to position the window onscreen, there may be a better way. The preferred way is to simply set the window's semantic type with gtk_window_set_type_hint(), which allows the window manager to e.g. center dialogs. Also, if you set the transient parent of dialogs with gtk_window_set_transient_for() window managers will often center the dialog over its parent window. It's much preferred to let the window manager handle these things rather than doing it yourself, because all apps will behave consistently and according to user prefs if the window manager handles it. Also, the window manager can take the size of the window decorations/border into account, while your application cannot.

    In any case, if you insist on application-specified window positioning, there's still a better way than doing it yourself - gtk_window_set_position() will frequently handle the details for you.

    Returns [number, number]

  • getSizeRequest(): [number, number]
  • Gets the size request that was explicitly set for the widget using gtk_widget_set_size_request(). A value of -1 stored in width or height indicates that that dimension has not been set explicitly and the natural requisition of the widget will be used intead. See gtk_widget_set_size_request(). To get the size a widget will actually use, call gtk_widget_size_request() instead of this function.

    Returns [number, number]

  • getSkipPagerHint(): boolean
  • getSkipTaskbarHint(): boolean
  • getTitle(): string
  • getTooltipMarkup(): string
  • getTooltipText(): string
  • Returns the #GtkWindow of the current tooltip. This can be the GtkWindow created by default, or the custom tooltip window set using gtk_widget_set_tooltip_window().

    Returns Gtk.Window

  • This function returns the topmost widget in the container hierarchy widget is a part of. If widget has no parent widgets, it will be returned as the topmost widget. No reference will be added to the returned widget; it should not be unreferenced.

    Note the difference in behavior vs. gtk_widget_get_ancestor(); gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) would return %NULL if widget wasn't inside a toplevel window, and if the window was inside a #GtkWindow-derived widget which was in turn inside the toplevel #GtkWindow. While the second case may seem unlikely, it actually happens when a #GtkPlug is embedded inside a #GtkSocket within the same application.

    To reliably find the toplevel #GtkWindow, use gtk_widget_get_toplevel() and check if the %TOPLEVEL flags is set on the result. |[ GtkWidget *toplevel = gtk_widget_get_toplevel (widget); if (gtk_widget_is_toplevel (toplevel)) { /* Perform action on toplevel. */ }

    
    

    Returns Gtk.Widget

  • getTranslatorCredits(): string
  • Returns the translator credits string which is displayed in the translators tab of the secondary credits dialog.

    Returns string

  • getUrgencyHint(): boolean
  • getUserData(): object
  • getVersion(): string
  • getVisible(): boolean
  • Determines whether the widget is visible. Note that this doesn't take into account whether the widget's parent is also visible or the widget is obscured in any way.

    See gtk_widget_set_visible().

    Returns boolean

  • getWebsite(): string
  • getWebsiteLabel(): string
  • Returns the label used for the website link.

    Returns string

  • getWidgetForResponse(responseId: number): Gtk.Widget
  • getWrapLicense(): boolean
  • Returns whether the license text in about is automatically wrapped.

    Returns boolean

  • getv(names: string[], values: any[]): void
  • Gets n_properties properties for an object. Obtained properties will be set to values. All properties must be valid. Warnings will be emitted and undefined behaviour may result if invalid properties are passed in.

    Parameters

    • names: string[]

      the names of each property to get

    • values: any[]

      the values of each property to get

    Returns void

  • grabDefault(): void
  • Causes widget to become the default widget. widget must have the %GTK_CAN_DEFAULT flag set; typically you have to set this flag yourself by calling gtk_widget_set_can_default (widget, %TRUE). The default widget is activated when the user presses Enter in a window. Default widgets must be activatable, that is, gtk_widget_activate() should affect them.

    Returns void

  • grabFocus(): void
  • Causes widget to have the keyboard focus for the #GtkWindow it's inside. widget must be a focusable widget, such as a #GtkEntry; something like #GtkFrame won't work.

    More precisely, it must have the %GTK_CAN_FOCUS flag set. Use gtk_widget_set_can_focus() to modify that flag.

    The widget also needs to be realized and mapped. This is indicated by the related signals. Grabbing the focus immediately after creating the widget will likely fail and cause critical warnings.

    Returns void

  • hasGrab(): boolean
  • Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).

    See also gtk_grab_add().

    Returns boolean

  • hasGroup(): boolean
  • hasRcStyle(): boolean
  • hasScreen(): boolean
  • Checks whether there is a #GdkScreen is associated with this widget. All toplevel widgets have an associated screen, and all widgets added into a hierarchy with a toplevel window at the top.

    Returns boolean

  • hide(): void
  • Reverses the effects of gtk_widget_show(), causing the widget to be hidden (invisible to the user).

    Returns void

  • hideAll(): void
  • hideOnDelete(): boolean
  • Utility function; intended to be connected to the #GtkWidget::delete-event signal on a #GtkWindow. The function calls gtk_widget_hide() on its argument, then returns %TRUE. If connected to ::delete-event, the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when ::delete-event is received.

    Returns boolean

  • iconify(): void
  • Asks to iconify (i.e. minimize) the specified window. Note that you shouldn't assume the window is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the window will end up iconified. Just don't write code that crashes if not.

    It's permitted to call this function before showing a window, in which case the window will be iconified before it ever appears onscreen.

    You can track iconification via the "window-state-event" signal on #GtkWidget.

    Returns void

  • inputShapeCombineMask(shapeMask: Gdk.Bitmap, offsetX: number, offsetY: number): void
  • Sets an input shape for this widget's GDK window. This allows for windows which react to mouse click in a nonrectangular region, see gdk_window_input_shape_combine_mask() for more information.

    Parameters

    • shapeMask: Gdk.Bitmap

      shape to be added, or %NULL to remove an existing shape

    • offsetX: number

      X position of shape mask with respect to window

    • offsetY: number

      Y position of shape mask with respect to window

    Returns void

  • Computes the intersection of a widget's area and area, storing the intersection in intersection, and returns %TRUE if there was an intersection. intersection may be %NULL if you're only interested in whether there was an intersection.

    Parameters

    Returns boolean

  • Determines whether widget is somewhere inside ancestor, possibly with intermediate containers.

    Parameters

    Returns boolean

  • isComposited(): boolean
  • Whether widget can rely on having its alpha channel drawn correctly. On X11 this function returns whether a compositing manager is running for widget's screen.

    Please note that the semantics of this call will change in the future if used on a widget that has a composited window in its hierarchy (as set by gdk_window_set_composited()).

    Returns boolean

  • isDrawable(): boolean
  • Determines whether widget can be drawn to. A widget can be drawn to if it is mapped and visible.

    Returns boolean

  • isFloating(): boolean
  • isSensitive(): boolean
  • Returns the widget's effective sensitivity, which means it is sensitive itself and also its parent widget is sensntive

    Returns boolean

  • isToplevel(): boolean
  • Determines whether widget is a toplevel widget. Currently only #GtkWindow and #GtkInvisible are toplevel widgets. Toplevel widgets have no parent widget.

    Returns boolean

  • This function should be called whenever keyboard navigation within a single widget hits a boundary. The function emits the #GtkWidget::keynav-failed signal on the widget and its return value should be interpreted in a way similar to the return value of gtk_widget_child_focus():

    When %TRUE is returned, stay in the widget, the failed keyboard navigation is Ok and/or there is nowhere we can/should move the focus to.

    When %FALSE is returned, the caller should continue with keyboard navigation outside the widget, e.g. by calling gtk_widget_child_focus() on the widget's toplevel.

    The default ::keynav-failed handler returns %TRUE for %GTK_DIR_TAB_FORWARD and %GTK_DIR_TAB_BACKWARD. For the other values of #GtkDirectionType, it looks at the #GtkSettings:gtk-keynav-cursor-only setting and returns %FALSE if the setting is %TRUE. This way the entire user interface becomes cursor-navigatable on input devices such as mobile phones which only have cursor keys but no tab key.

    Whenever the default handler returns %TRUE, it also calls gtk_widget_error_bell() to notify the user of the failed keyboard navigation.

    A use case for providing an own implementation of ::keynav-failed (either by connecting to it or by overriding it) would be a row of #GtkEntry widgets where the user should be able to navigate the entire row with the cursor keys, as e.g. known from user interfaces that require entering license keys.

    Parameters

    Returns boolean

  • listAccelClosures(): TClosure<any, any>[]
  • Lists the closures used by widget for accelerator group connections with gtk_accel_group_connect_by_path() or gtk_accel_group_connect(). The closures can be used to monitor accelerator changes on widget, by connecting to the GtkAccelGroup::accel-changed signal of the #GtkAccelGroup of a closure which can be found out with gtk_accel_group_from_accel_closure().

    Returns TClosure<any, any>[]

  • Returns a newly allocated list of the widgets, normally labels, for which this widget is a the target of a mnemonic (see for example, gtk_label_set_mnemonic_widget()).

    The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, NULL) first, and then unref all the widgets afterwards.

    Returns Gtk.Widget[]

  • map(): void
  • This function is only for use in widget implementations. Causes a widget to be mapped if it isn't already.

    Returns void

  • maximize(): void
  • Asks to maximize window, so that it becomes full-screen. Note that you shouldn't assume the window is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the window will end up maximized. Just don't write code that crashes if not.

    It's permitted to call this function before showing a window, in which case the window will be maximized when it appears onscreen initially.

    You can track maximization via the "window-state-event" signal on #GtkWidget.

    Returns void

  • mnemonicActivate(...args: any[]): any
  • Sets the base color for a widget in a particular state. All other style values are left untouched. The base color is the background color used along with the text color (see gtk_widget_modify_text()) for widgets such as #GtkEntry and #GtkTextView. See also gtk_widget_modify_style().

    Note that "no window" widgets (which have the %GTK_NO_WINDOW flag set) draw on their parent container's window and thus may not draw any background themselves. This is the case for e.g. #GtkLabel. To modify the background of such widgets, you have to set the base color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a #GtkEventBox widget and setting the base color on that.

    Parameters

    • state: Gtk.StateType

      the state for which to set the base color

    • color: Gdk.Color

      the color to assign (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_base().

    Returns void

  • Sets the background color for a widget in a particular state. All other style values are left untouched. See also gtk_widget_modify_style().

    Note that "no window" widgets (which have the %GTK_NO_WINDOW flag set) draw on their parent container's window and thus may not draw any background themselves. This is the case for e.g. #GtkLabel. To modify the background of such widgets, you have to set the background color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a #GtkEventBox widget and setting the background color on that.

    Parameters

    • state: Gtk.StateType

      the state for which to set the background color

    • color: Gdk.Color

      the color to assign (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_bg().

    Returns void

  • Sets the cursor color to use in a widget, overriding the #GtkWidget:cursor-color and #GtkWidget:secondary-cursor-color style properties. All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    • primary: Gdk.Color

      the color to use for primary cursor (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_cursor().

    • secondary: Gdk.Color

      the color to use for secondary cursor (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_cursor().

    Returns void

  • Sets the foreground color for a widget in a particular state. All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    • state: Gtk.StateType

      the state for which to set the foreground color

    • color: Gdk.Color

      the color to assign (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_fg().

    Returns void

  • Sets the font to use for a widget. All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    • fontDesc: FontDescription

      the font description to use, or %NULL to undo the effect of previous calls to gtk_widget_modify_font().

    Returns void

  • Modifies style values on the widget. Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a style is explicitely set on the widget using gtk_widget_set_style(). The #GtkRcStyle structure is designed so each field can either be set or unset, so it is possible, using this function, to modify some style values and leave the others unchanged.

    Note that modifications made with this function are not cumulative with previous calls to gtk_widget_modify_style() or with such functions as gtk_widget_modify_fg(). If you wish to retain previous values, you must first call gtk_widget_get_modifier_style(), make your modifications to the returned style, then call gtk_widget_modify_style() with that style. On the other hand, if you first call gtk_widget_modify_style(), subsequent calls to such functions gtk_widget_modify_fg() will have a cumulative effect with the initial modifications.

    Parameters

    • style: Gtk.RcStyle

      the #GtkRcStyle holding the style modifications

    Returns void

  • Sets the text color for a widget in a particular state. All other style values are left untouched. The text color is the foreground color used along with the base color (see gtk_widget_modify_base()) for widgets such as #GtkEntry and #GtkTextView. See also gtk_widget_modify_style().

    Parameters

    • state: Gtk.StateType

      the state for which to set the text color

    • color: Gdk.Color

      the color to assign (does not need to be allocated), or %NULL to undo the effect of previous calls to of gtk_widget_modify_text().

    Returns void

  • move(x: number, y: number): void
  • Asks the window manager to move window to the given position. Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the window has already been shown.

    Note: the position is the position of the gravity-determined reference point for the window. The gravity determines two things: first, the location of the reference point in root window coordinates; and second, which point on the window is positioned at the reference point.

    By default the gravity is #GDK_GRAVITY_NORTH_WEST, so the reference point is simply the x, y supplied to gtk_window_move(). The top-left corner of the window decorations (aka window frame or border) will be placed at x, y. Therefore, to position a window at the top left of the screen, you want to use the default gravity (which is #GDK_GRAVITY_NORTH_WEST) and move the window to 0,0.

    To position a window at the bottom right corner of the screen, you would set #GDK_GRAVITY_SOUTH_EAST, which means that the reference point is at x + the window width and y + the window height, and the bottom-right corner of the window border will be placed at that reference point. So, to place a window in the bottom right corner you would first set gravity to south east, then write: gtk_window_move (window, gdk_screen_width () - window_width, gdk_screen_height () - window_height) (note that this example does not take multi-head scenarios into account).

    The Extended Window Manager Hints specification at http://www.freedesktop.org/Standards/wm-spec has a nice table of gravities in the "implementation notes" section.

    The gtk_window_get_position() documentation may also be relevant.

    Parameters

    • x: number

      X coordinate to move window to

    • y: number

      Y coordinate to move window to

    Returns void

  • notify(propertyName: string): void
  • Emits a "notify" signal for the property property_name on object.

    When possible, eg. when signaling a property change from within the class that registered the property, you should use g_object_notify_by_pspec() instead.

    Note that emission of the notify signal may be blocked with g_object_freeze_notify(). In this case, the signal emissions are queued and will be emitted (in reverse order) when g_object_thaw_notify() is called.

    Parameters

    • propertyName: string

      the name of a property installed on the class of object.

    Returns void

  • Emits a "notify" signal for the property specified by pspec on object.

    This function omits the property name lookup, hence it is faster than g_object_notify().

    One way to avoid using g_object_notify() from within the class that registered the properties, and using g_object_notify_by_pspec() instead, is to store the GParamSpec used with g_object_class_install_property() inside a static array, e.g.:

      enum
    {
    PROP_0,
    PROP_FOO,
    PROP_LAST
    };

    static GParamSpec *properties[PROP_LAST];

    static void
    my_object_class_init (MyObjectClass *klass)
    {
    properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
    0, 100,
    50,
    G_PARAM_READWRITE);
    g_object_class_install_property (gobject_class,
    PROP_FOO,
    properties[PROP_FOO]);
    }

    and then notify a change on the "foo" property with:

      g_object_notify_by_pspec (self, properties[PROP_FOO]);
    

    Parameters

    • pspec: ParamSpec

      the #GParamSpec of a property installed on the class of object.

    Returns void

  • off(sigName: "activate-link", callback: Gtk.AboutDialog_ActivateLinkSignalCallback): EventEmitter
  • off(sigName: "notify::artists", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::authors", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::comments", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::copyright", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::documenters", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::license", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::logo", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::logo-icon-name", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::program-name", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::translator-credits", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::version", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::website", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::website-label", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::wrap-license", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::has-separator", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::accept-focus", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::default-height", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::default-width", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::deletable", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::focus-on-map", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::icon", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::icon-name", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::mnemonics-visible", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::opacity", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::resizable", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::role", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::skip-pager-hint", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::skip-taskbar-hint", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::startup-id", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::transient-for", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::urgency-hint", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::window-position", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::child", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::resize-mode", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::app-paintable", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::can-default", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::can-focus", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::composite-child", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::double-buffered", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::events", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::extension-events", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::has-default", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::has-focus", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::has-tooltip", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::height-request", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::is-focus", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::no-show-all", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::receives-default", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::sensitive", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::tooltip-markup", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::tooltip-text", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::visible", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::width-request", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: "notify::user-data", callback: ((...args: any[]) => void)): EventEmitter
  • off(sigName: string, callback: ((...args: any[]) => void)): EventEmitter
  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify::artists"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::authors"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::comments"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::copyright"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::documenters"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo-icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::program-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::translator-credits"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::version"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website-label"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-separator"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accept-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-height"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-width"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::deletable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-map"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mnemonics-visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resizable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::role"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-pager-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-taskbar-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::startup-id"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::transient-for"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::urgency-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window-position"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::extension-events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::user-data"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • on(sigName: "activate-link", callback: Gtk.AboutDialog_ActivateLinkSignalCallback, after?: boolean): EventEmitter
  • on(sigName: "notify::artists", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::authors", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::comments", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::copyright", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::documenters", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::license", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::logo", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::logo-icon-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::program-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::translator-credits", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::version", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::website", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::website-label", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::wrap-license", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::has-separator", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::accept-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::default-height", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::default-width", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::deletable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::focus-on-map", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::icon", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::icon-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::mnemonics-visible", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::opacity", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::resizable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::role", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::skip-pager-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::skip-taskbar-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::startup-id", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::transient-for", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::urgency-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::window-position", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::child", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::resize-mode", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::app-paintable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::can-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::can-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::composite-child", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::double-buffered", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::events", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::extension-events", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::has-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::has-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::has-tooltip", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::height-request", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::is-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::no-show-all", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::receives-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::sensitive", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::tooltip-markup", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::tooltip-text", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::visible", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::width-request", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: "notify::user-data", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • on(sigName: string, callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify::artists"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::authors"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::comments"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::copyright"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::documenters"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo-icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::program-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::translator-credits"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::version"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website-label"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-separator"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accept-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-height"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-width"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::deletable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-map"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mnemonics-visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resizable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::role"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-pager-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-taskbar-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::startup-id"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::transient-for"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::urgency-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window-position"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::extension-events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::user-data"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • once(sigName: "activate-link", callback: Gtk.AboutDialog_ActivateLinkSignalCallback, after?: boolean): EventEmitter
  • once(sigName: "notify::artists", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::authors", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::comments", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::copyright", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::documenters", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::license", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::logo", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::logo-icon-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::program-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::translator-credits", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::version", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::website", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::website-label", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::wrap-license", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::has-separator", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::accept-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::default-height", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::default-width", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::deletable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::focus-on-map", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::icon", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::icon-name", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::mnemonics-visible", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::opacity", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::resizable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::role", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::skip-pager-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::skip-taskbar-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::startup-id", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::transient-for", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::urgency-hint", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::window-position", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::child", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::resize-mode", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::app-paintable", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::can-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::can-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::composite-child", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::double-buffered", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::events", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::extension-events", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::has-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::has-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::has-tooltip", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::height-request", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::is-focus", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::no-show-all", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::receives-default", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::sensitive", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::tooltip-markup", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::tooltip-text", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::visible", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::width-request", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: "notify::user-data", callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • once(sigName: string, callback: ((...args: any[]) => void), after?: boolean): EventEmitter
  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify::artists"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::authors"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::comments"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::copyright"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::documenters"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::logo-icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::program-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::translator-credits"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::version"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::website-label"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-license"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-separator"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accept-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-height"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::default-width"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::deletable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-map"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::icon-name"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mnemonics-visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resizable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::role"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-pager-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::skip-taskbar-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::startup-id"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::transient-for"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::urgency-hint"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window-position"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::extension-events"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::user-data"
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • parseGeometry(geometry: string): boolean
  • Parses a standard X Window System geometry string - see the manual page for X (type 'man X') for details on this. gtk_window_parse_geometry() does work on all GTK+ ports including Win32 but is primarily intended for an X environment.

    If either a size or a position can be extracted from the geometry string, gtk_window_parse_geometry() returns %TRUE and calls gtk_window_set_default_size() and/or gtk_window_move() to resize/move the window.

    If gtk_window_parse_geometry() returns %TRUE, it will also set the #GDK_HINT_USER_POS and/or #GDK_HINT_USER_SIZE hints indicating to the window manager that the size/position of the window was user-specified. This causes most window managers to honor the geometry.

    Note that for gtk_window_parse_geometry() to work as expected, it has to be called when the window has its "final" size, i.e. after calling gtk_widget_show_all() on the contents and gtk_window_set_geometry_hints() on the window. |[ #include <gtk/gtk.h>

    static void fill_with_content (GtkWidget *vbox) { /* fill with content... */ }

    int main (int argc, char *argv[]) { GtkWidget *window, *vbox; GdkGeometry size_hints = { 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST };

    gtk_init (&argc, &argv);

    window = gtk_window_new (GTK_WINDOW_TOPLEVEL); vbox = gtk_vbox_new (FALSE, 0);

    gtk_container_add (GTK_CONTAINER (window), vbox); fill_with_content (vbox); gtk_widget_show_all (vbox);

    gtk_window_set_geometry_hints (GTK_WINDOW (window), window, &size_hints, GDK_HINT_MIN_SIZE | GDK_HINT_BASE_SIZE | GDK_HINT_RESIZE_INC);

    if (argc > 1) { if (!gtk_window_parse_geometry (GTK_WINDOW (window), argv[1])) fprintf (stderr, "Failed to parse '%s'\n", argv[1]); }

    gtk_widget_show_all (window); gtk_main ();

    return 0; }


    @param geometry geometry string

    Parameters

    • geometry: string

    Returns boolean

  • Called when the builder finishes the parsing of a

    GtkBuilder UI definition. Note that this will be called once for each time gtk_builder_add_from_file() or gtk_builder_add_from_string() is called on a builder.

    Parameters

    Returns void

  • path(): [number, string, string]
  • Obtains the full path to widget. The path is simply the name of a widget and all its parents in the container hierarchy, separated by periods. The name of a widget comes from gtk_widget_get_name(). Paths are used to apply styles to a widget in gtkrc configuration files. Widget names are the type of the widget by default (e.g. "GtkButton") or can be set to an application-specific value with gtk_widget_set_name(). By setting the name of a widget, you allow users or theme authors to apply styles to that specific widget in their gtkrc file. path_reversed_p fills in the path in reverse order, i.e. starting with widget's name instead of starting with the name of widget's outermost ancestor.

    Returns [number, string, string]

  • present(): void
  • Presents a window to the user. This may mean raising the window in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences.

    If window is hidden, this function calls gtk_widget_show() as well.

    This function should be used when the user tries to open a window that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use gtk_window_present() to move the already-open dialog where the user can see it.

    If you are calling this function in response to a user interaction, it is preferable to use gtk_window_present_with_time().

    Returns void

  • presentWithTime(timestamp: number): void
  • Presents a window to the user in response to a user interaction. If you need to present a window without a timestamp, use gtk_window_present(). See gtk_window_present() for details.

    Parameters

    • timestamp: number

      the timestamp of the user interaction (typically a button or key press event) which triggered this call

    Returns void

  • When a container receives an expose event, it must send synthetic expose events to all children that don't have their own #GdkWindows. This function provides a convenient way of doing this. A container, when it receives an expose event, calls gtk_container_propagate_expose() once for each child, passing in the event the container received.

    gtk_container_propagate_expose() takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event.

    In most cases, a container can simply either simply inherit the #GtkWidget::expose implementation from #GtkContainer, or, do some drawing and then chain to the ::expose implementation from #GtkContainer.

    Note that the ::expose-event signal has been replaced by a ::draw signal in GTK+ 3, and consequently, gtk_container_propagate_expose() has been replaced by gtk_container_propagate_draw(). The GTK+ 3 migration guide for hints on how to port from ::expose-event to ::draw.

    Parameters

    Returns void

  • Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles event. This is normally called by the default ::key_press_event and ::key_release_event handlers for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.

    Parameters

    Returns boolean

  • queueClear(): void
  • queueClearArea(x: number, y: number, width: number, height: number): void
  • This function is no longer different from gtk_widget_queue_draw_area(), though it once was. Now it just calls gtk_widget_queue_draw_area(). Originally gtk_widget_queue_clear_area() would force a redraw of the background for %GTK_NO_WINDOW widgets, and gtk_widget_queue_draw_area() would not. Now both functions ensure the background will be redrawn.

    Parameters

    • x: number

      x coordinate of upper-left corner of rectangle to redraw

    • y: number

      y coordinate of upper-left corner of rectangle to redraw

    • width: number

      width of region to draw

    • height: number

      height of region to draw

    Returns void

  • queueDraw(): void
  • queueDrawArea(x: number, y: number, width: number, height: number): void
  • Invalidates the rectangular area of widget defined by x, y, width and height by calling gdk_window_invalidate_rect() on the widget's window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive expose events for the union of all regions that have been invalidated.

    Normally you would only use this function in widget implementations. You might also use it, or gdk_window_invalidate_rect() directly, to schedule a redraw of a #GtkDrawingArea or some portion thereof.

    Frequently you can just call gdk_window_invalidate_rect() or gdk_window_invalidate_region() instead of this function. Those functions will invalidate only a single window, instead of the widget and all its children.

    The advantage of adding to the invalidated region compared to simply drawing immediately is efficiency; using an invalid region ensures that you only have to redraw one time.

    Parameters

    • x: number

      x coordinate of upper-left corner of rectangle to redraw

    • y: number

      y coordinate of upper-left corner of rectangle to redraw

    • width: number

      width of region to draw

    • height: number

      height of region to draw

    Returns void

  • queueResize(): void
  • This function is only for use in widget implementations. Flags a widget to have its size renegotiated; should be called when a widget for some reason has a new size request. For example, when you change the text in a #GtkLabel, #GtkLabel queues a resize to ensure there's enough space for the new text.

    Returns void

  • queueResizeNoRedraw(): void
  • realize(): void
  • Creates the GDK (windowing system) resources associated with a widget. For example, widget->window will be created when a widget is realized. Normally realization happens implicitly; if you show a widget and all its parent containers, then the widget will be realized and mapped automatically.

    Realizing a widget requires all the widget's parent widgets to be realized; calling gtk_widget_realize() realizes the widget's parents in addition to widget itself. If a widget is not yet inside a toplevel window when you realize it, bad things will happen.

    This function is primarily used in widget implementations, and isn't very useful otherwise. Many times when you think you might need it, a better approach is to connect to a signal that will be called after the widget is realized automatically, such as GtkWidget::expose-event. Or simply g_signal_connect () to the GtkWidget::realize signal.

    Returns void

  • Increases the reference count of object.

    Since GLib 2.56, if GLIB_VERSION_MAX_ALLOWED is 2.56 or greater, the type of object will be propagated to the return type (using the GCC typeof() extension), so any casting the caller needs to do on the return type must be explicit.

    Returns GObject.Object

  • Increase the reference count of object, and possibly remove the [floating][floating-ref] reference, if object has a floating reference.

    In other words, if the object is floating, then this call "assumes ownership" of the floating reference, converting it to a normal reference by clearing the floating flag while leaving the reference count unchanged. If the object is not floating, then this call adds a new normal reference increasing the reference count by one.

    Since GLib 2.56, the type of object will be propagated to the return type under the same conditions as for g_object_ref().

    Returns GObject.Object

  • Removes widget from container. widget must be inside container. Note that container will own a reference to widget, and that this may be the last reference held; so removing a widget from its container can destroy that widget. If you want to use widget again, you need to add a reference to it while it's not inside a container, using g_object_ref(). If you don't want to use widget again it's usually more efficient to simply destroy it directly using gtk_widget_destroy() since this will remove it from the container and help break any circular reference count cycles.

    Parameters

    • widget: Gtk.Widget

      a current child of container

    Returns void

  • Removes an accelerator from widget, previously installed with gtk_widget_add_accelerator().

    Parameters

    • accelGroup: Gtk.AccelGroup

      accel group for this widget

    • accelKey: number

      GDK keyval of the accelerator

    • accelMods: Gdk.ModifierType

      modifier key combination of the accelerator

    Returns boolean

  • removeData(key: string): void
  • removeDataById(dataId: number): void
  • removeEmbeddedXid(xid: number): void
  • removeMnemonic(keyval: number, target: Gtk.Widget): void
  • Removes a widget from the list of mnemonic labels for this widget. (See gtk_widget_list_mnemonic_labels()). The widget must have previously been added to the list with gtk_widget_add_mnemonic_label().

    Parameters

    • label: Gtk.Widget

      a #GtkWidget that was previously set as a mnemnic label for widget with gtk_widget_add_mnemonic_label().

    Returns void

  • removeNoNotify(key: string): void
  • removeNoNotifyById(keyId: number): void
  • renderIcon(stockId: string, size: number, detail: string): Pixbuf
  • A convenience function that uses the theme engine and RC file settings for widget to look up stock_id and render it to a pixbuf. stock_id should be a stock icon ID such as #GTK_STOCK_OPEN or #GTK_STOCK_OK. size should be a size such as #GTK_ICON_SIZE_MENU. detail should be a string that identifies the widget or code doing the rendering, so that theme engines can special-case rendering for that widget or code.

    The pixels in the returned #GdkPixbuf are shared with the rest of the application and should not be modified. The pixbuf should be freed after use with g_object_unref().

    Parameters

    • stockId: string

      a stock ID

    • size: number

      a stock size. A size of (GtkIconSize)-1 means render at the size of the source and don't scale (if there are multiple source sizes, GTK+ picks one of the available sizes).

    • detail: string

      render detail to pass to theme engine

    Returns Pixbuf

  • Moves a widget from one #GtkContainer to another, handling reference count issues to avoid destroying the widget.

    Parameters

    • newParent: Gtk.Widget

      a #GtkContainer to move the widget into

    Returns void

  • resetRcStyles(): void
  • Reset the styles of widget and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings.

    This function is not useful for applications.

    Returns void

  • resetShapes(): void
  • reshowWithInitialSize(): void
  • resize(width: number, height: number): void
  • Resizes the window as if the user had done so, obeying geometry constraints. The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call gtk_widget_set_size_request() to set the window's request to a smaller value.

    If gtk_window_resize() is called before showing a window for the first time, it overrides any default size set with gtk_window_set_default_size().

    Windows may not be resized smaller than 1 by 1 pixels.

    Parameters

    • width: number

      width in pixels to resize the window to

    • height: number

      height in pixels to resize the window to

    Returns void

  • resizeChildren(): void
  • response(responseId: number): void
  • Emits the #GtkDialog::response signal with the given response ID. Used to indicate that the user has responded to the dialog in some way; typically either you or gtk_dialog_run() will be monitoring the ::response signal and take appropriate action.

    Parameters

    • responseId: number

      response ID

    Returns void

  • run(): number
  • Blocks in a recursive main loop until the dialog either emits the #GtkDialog::response signal, or is destroyed. If the dialog is destroyed during the call to gtk_dialog_run(), gtk_dialog_run() returns #GTK_RESPONSE_NONE. Otherwise, it returns the response ID from the ::response signal emission.

    Before entering the recursive main loop, gtk_dialog_run() calls gtk_widget_show() on the dialog for you. Note that you still need to show any children of the dialog yourself.

    During gtk_dialog_run(), the default behavior of #GtkWidget::delete-event is disabled; if the dialog receives ::delete_event, it will not be destroyed as windows usually are, and gtk_dialog_run() will return #GTK_RESPONSE_DELETE_EVENT. Also, during gtk_dialog_run() the dialog will be modal. You can force gtk_dialog_run() to return at any time by calling gtk_dialog_response() to emit the ::response signal. Destroying the dialog during gtk_dialog_run() is a very bad idea, because your post-run code won't know whether the dialog was destroyed or not.

    After gtk_dialog_run() returns, you are responsible for hiding or destroying the dialog if you wish to do so.

    Typical usage of this function might be: |[ gint result = gtk_dialog_run (GTK_DIALOG (dialog)); switch (result) { case GTK_RESPONSE_ACCEPT: do_application_specific_something (); break; default: do_nothing_since_dialog_was_cancelled (); break; } gtk_widget_destroy (dialog);



    Note that even though the recursive main loop gives the effect of a
    modal dialog (it prevents the user from interacting with other
    windows in the same window group while the dialog is run), callbacks
    such as timeouts, IO channel watches, DND drops, etc, <emphasis>will</emphasis>
    be triggered during a gtk_dialog_run() call.

    Returns number

  • runDispose(): void
  • Releases all references to other objects. This can be used to break reference cycles.

    This function should only be called from object system implementations.

    Returns void

  • Very rarely-used function. This function is used to emit an expose event signals on a widget. This function is not normally used directly. The only time it is used is when propagating an expose event to a child %NO_WINDOW widget, and that is normally done using gtk_container_propagate_expose().

    If you want to force an area of a window to be redrawn, use gdk_window_invalidate_rect() or gdk_window_invalidate_region(). To cause the redraw to be done immediately, follow that call with a call to gdk_window_process_updates().

    Parameters

    Returns number

  • sendFocusChange(event: Gdk.Event): boolean
  • Sends the focus change event to widget

    This function is not meant to be used by applications. The only time it should be used is when it is necessary for a #GtkWidget to assign focus to a widget that is semantically owned by the first widget even though it's not a direct child - for instance, a search entry in a floating window similar to the quick search in #GtkTreeView.

    An example of its usage is:

    |[ GdkEvent *fevent = gdk_event_new (GDK_FOCUS_CHANGE);

    fevent->focus_change.type = GDK_FOCUS_CHANGE; fevent->focus_change.in = TRUE; fevent->focus_change.window = gtk_widget_get_window (widget); if (fevent->focus_change.window != NULL) g_object_ref (fevent->focus_change.window);

    gtk_widget_send_focus_change (widget, fevent);

    gdk_event_free (event);


    @param event a #GdkEvent of type GDK_FOCUS_CHANGE

    Parameters

    Returns boolean

  • setAccelPath(accelPath: string, accelGroup?: Gtk.AccelGroup): void
  • Given an accelerator group, accel_group, and an accelerator path, accel_path, sets up an accelerator in accel_group so whenever the key binding that is defined for accel_path is pressed, widget will be activated. This removes any accelerators (for any accelerator group) installed by previous calls to gtk_widget_set_accel_path(). Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use. (See gtk_accel_map_save().)

    This function is a low level function that would most likely be used by a menu creation system like #GtkUIManager. If you use #GtkUIManager, setting up accelerator paths will be done automatically.

    Even when you you aren't using #GtkUIManager, if you only want to set up accelerators on menu items gtk_menu_item_set_accel_path() provides a somewhat more convenient interface.

    Note that accel_path string will be stored in a #GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string().

    Parameters

    • accelPath: string

      path used to look up the accelerator

    • Optional accelGroup: Gtk.AccelGroup

      a #GtkAccelGroup.

    Returns void

  • setAcceptFocus(setting: boolean): void
  • Windows may set a hint asking the desktop environment not to receive the input focus. This function sets this hint.

    Parameters

    • setting: boolean

      %TRUE to let this window receive input focus

    Returns void

  • Sets the widget's allocation. This should not be used directly, but from within a widget's size_allocate method.

    Parameters

    • allocation: Gdk.Rectangle

      a pointer to a #GtkAllocation to copy from

    Returns void

  • setAlternativeButtonOrderFromArray(newOrder: number[]): void
  • Sets an alternative button order. If the #GtkSettings:gtk-alternative-button-order setting is set to %TRUE, the dialog buttons are reordered according to the order of the response ids in new_order.

    See gtk_dialog_set_alternative_button_order() for more information.

    This function is for use by language bindings.

    Parameters

    • newOrder: number[]

      an array of response ids of dialog's buttons

    Returns void

  • setAppPaintable(appPaintable: boolean): void
  • Sets whether the application intends to draw on the widget in an #GtkWidget::expose-event handler.

    This is a hint to the widget and does not affect the behavior of the GTK+ core; many widgets ignore this flag entirely. For widgets that do pay attention to the flag, such as #GtkEventBox and #GtkWindow, the effect is to suppress default themed drawing of the widget's background. (Children of the widget will still be drawn.) The application is then entirely responsible for drawing the widget background.

    Note that the background is still drawn when the widget is mapped. If this is not suitable (e.g. because you want to make a transparent window using an RGBA visual), you can work around this by doing: |[ gtk_widget_realize (window); gdk_window_set_back_pixmap (window->window, NULL, FALSE); gtk_widget_show (window);


    @param appPaintable %TRUE if the application will paint on the widget

    Parameters

    • appPaintable: boolean

    Returns void

  • setArtists(artists: string): void
  • Sets the strings which are displayed in the artists tab of the secondary credits dialog.

    Parameters

    • artists: string

      a %NULL-terminated array of strings

    Returns void

  • setAuthors(authors: string): void
  • Sets the strings which are displayed in the authors tab of the secondary credits dialog.

    Parameters

    • authors: string

      a %NULL-terminated array of strings

    Returns void

  • setBorderWidth(borderWidth: number): void
  • Sets the border width of the container.

    The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is #GtkWindow; because toplevel windows can't leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, one approach is to create a #GtkAlignment widget, call gtk_widget_set_size_request() to give it a size, and place it on the side of the container as a spacer.

    Parameters

    • borderWidth: number

      amount of blank space to leave outside the container. Valid values are in the range 0-65535 pixels.

    Returns void

  • setBuildableProperty(builder: Gtk.Builder, name: string, value: any): void
  • setCanDefault(canDefault: boolean): void
  • Specifies whether widget can be a default widget. See gtk_widget_grab_default() for details about the meaning of "default".

    Parameters

    • canDefault: boolean

      whether or not widget can be a default widget.

    Returns void

  • setCanFocus(canFocus: boolean): void
  • Specifies whether widget can own the input focus. See gtk_widget_grab_focus() for actually setting the input focus on a widget.

    Parameters

    • canFocus: boolean

      whether or not widget can own the input focus.

    Returns void

  • setChildVisible(isVisible: boolean): void
  • Sets whether widget should be mapped along with its when its parent is mapped and widget has been shown with gtk_widget_show().

    The child visibility can be set for widget before it is added to a container with gtk_widget_set_parent(), to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of %TRUE when the widget is removed from a container.

    Note that changing the child visibility of a widget does not queue a resize on the widget. Most of the time, the size of a widget is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself.

    This function is only useful for container implementations and never should be called by an application.

    Parameters

    • isVisible: boolean

      if %TRUE, widget should be mapped along with its parent.

    Returns void

  • Sets the colormap for the widget to the given value. Widget must not have been previously realized. This probably should only be used from an init() function (i.e. from the constructor for the widget).

    Parameters

    Returns void

  • setComments(comments: string): void
  • Sets the comments string to display in the about dialog. This should be a short string of one or two lines.

    Parameters

    • comments: string

      a comments string

    Returns void

  • setCompositeName(name: string): void
  • Sets a widgets composite name. The widget must be a composite child of its parent; see gtk_widget_push_composite_child().

    Parameters

    • name: string

      the name to set

    Returns void

  • setCopyright(copyright: string): void
  • Sets the copyright string to display in the about dialog. This should be a short string of one or two lines.

    Parameters

    • copyright: string

      the copyright string

    Returns void

  • setData(key: string, data?: object): void
  • setData(key: string, data?: object): void
  • setData(...args: any[]): any
  • setData(args_or_key: string | any[], data?: object): any
  • Each object carries around a table of associations from strings to pointers. This function lets you set an association.

    If the object already had an association with that name, the old association will be destroyed.

    Internally, the key is converted to a #GQuark using g_quark_from_string(). This means a copy of key is kept permanently (even after object has been finalized) — so it is recommended to only use a small, bounded set of values for key in your program, to avoid the #GQuark storage growing unbounded.

    Parameters

    • key: string
    • Optional data: object

    Returns void

  • Each object carries around a table of associations from strings to pointers. This function lets you set an association.

    If the object already had an association with that name, the old association will be destroyed.

    Internally, the key is converted to a #GQuark using g_quark_from_string(). This means a copy of key is kept permanently (even after object has been finalized) — so it is recommended to only use a small, bounded set of values for key in your program, to avoid the #GQuark storage growing unbounded.

    Parameters

    • key: string

      name of the key

    • Optional data: object

      data to associate with that key

    Returns void

  • Parameters

    • Rest ...args: any[]

    Returns any

  • Parameters

    • args_or_key: string | any[]
    • Optional data: object

    Returns any

  • setDataById(dataId: number, data: object): void
  • setDecorated(setting: boolean): void
  • By default, windows are decorated with a title bar, resize controls, etc. Some window managers allow GTK+ to disable these decorations, creating a borderless window. If you set the decorated property to %FALSE using this function, GTK+ will do its best to convince the window manager not to decorate the window. Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling gtk_window_show().

    On Windows, this function always works, since there's no window manager policy involved.

    Parameters

    • setting: boolean

      %TRUE to decorate the window

    Returns void

  • The default widget is the widget that's activated when the user presses Enter in a dialog (for example). This function sets or unsets the default widget for a #GtkWindow about. When setting (rather than unsetting) the default widget it's generally easier to call gtk_widget_grab_focus() on the widget. Before making a widget the default widget, you must set the #GTK_CAN_DEFAULT flag on the widget you'd like to make the default using GTK_WIDGET_SET_FLAGS().

    Parameters

    • defaultWidget: Gtk.Widget

      widget to be the default, or %NULL to unset the default widget for the toplevel.

    Returns void

  • setDefaultResponse(responseId: number): void
  • Sets the last widget in the dialog's action area with the given response_id as the default widget for the dialog. Pressing "Enter" normally activates the default widget.

    Parameters

    • responseId: number

      a response ID

    Returns void

  • setDefaultSize(width: number, height: number): void
  • Sets the default size of a window. If the window's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the window (gtk_window_set_geometry_hints() can be used to set these explicitly), the default size will be clamped to the nearest permitted size.

    Unlike gtk_widget_set_size_request(), which sets a size request for a widget and thus would keep users from shrinking the window, this function only sets the initial size, just as if the user had resized the window themselves. Users can still shrink the window again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the window).

    For more control over a window's initial size and how resizing works, investigate gtk_window_set_geometry_hints().

    For some uses, gtk_window_resize() is a more appropriate function. gtk_window_resize() changes the current size of the window, rather than the size to be used on initial display. gtk_window_resize() always affects the window itself, not the geometry widget.

    The default size of a window only affects the first time a window is shown; if a window is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size.

    Windows can't actually be 0x0 in size, they must be at least 1x1, but passing 0 for width and height is OK, resulting in a 1x1 default size.

    Parameters

    • width: number

      width in pixels, or -1 to unset the default width

    • height: number

      height in pixels, or -1 to unset the default height

    Returns void

  • setDeletable(setting: boolean): void
  • By default, windows have a close button in the window frame. Some

    window managers allow GTK+ to disable this button. If you set the deletable property to %FALSE using this function, GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling gtk_window_show().

    On Windows, this function always works, since there's no window manager policy involved.

    Parameters

    • setting: boolean

      %TRUE to decorate the window as deletable

    Returns void

  • setDestroyWithParent(setting: boolean): void
  • If setting is %TRUE, then destroying the transient parent of window will also destroy window itself. This is useful for dialogs that shouldn't persist beyond the lifetime of the main window they're associated with, for example.

    Parameters

    • setting: boolean

      whether to destroy window with its transient parent

    Returns void

  • Sets the reading direction on a particular widget. This direction controls the primary direction for widgets containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitely visual rather than logical (such as buttons for text justification).

    If the direction is set to %GTK_TEXT_DIR_NONE, then the value set by gtk_widget_set_default_direction() will be used.

    Parameters

    Returns void

  • setDocumenters(documenters: string): void
  • Sets the strings which are displayed in the documenters tab of the secondary credits dialog.

    Parameters

    • documenters: string

      a %NULL-terminated array of strings

    Returns void

  • setDoubleBuffered(doubleBuffered: boolean): void
  • Widgets are double buffered by default; you can use this function to turn off the buffering. "Double buffered" simply means that gdk_window_begin_paint_region() and gdk_window_end_paint() are called automatically around expose events sent to the widget. gdk_window_begin_paint() diverts all drawing to a widget's window to an offscreen buffer, and gdk_window_end_paint() draws the buffer to the screen. The result is that users see the window update in one smooth step, and don't see individual graphics primitives being rendered.

    In very simple terms, double buffered widgets don't flicker, so you would only use this function to turn off double buffering if you had special needs and really knew what you were doing.

    Note: if you turn off double-buffering, you have to handle expose events, since even the clearing to the background color or pixmap will not happen automatically (as it is done in gdk_window_begin_paint()).

    Parameters

    • doubleBuffered: boolean

      %TRUE to double-buffer a widget

    Returns void

  • setEvents(events: number): void
  • Sets the event mask (see #GdkEventMask) for a widget. The event mask determines which events a widget will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a widget's functionality, so be careful. This function must be called while a widget is unrealized. Consider gtk_widget_add_events() for widgets that are already realized, or if you want to preserve the existing event mask. This function can't be used with #GTK_NO_WINDOW widgets; to get events on those widgets, place them inside a #GtkEventBox and receive events on the event box.

    Parameters

    • events: number

      event mask

    Returns void

  • If focus is not the current focus widget, and is focusable, sets it as the focus widget for the window. If focus is %NULL, unsets the focus widget for this window. To set the focus to a particular widget in the toplevel, it is usually more convenient to use gtk_widget_grab_focus() instead of this function.

    Parameters

    • focus: Gtk.Widget

      widget to be the new focus widget, or %NULL to unset any focus widget for the toplevel window.

    Returns void

  • setFocusChain(focusableWidgets: Gtk.Widget[]): void
  • Sets a focus chain, overriding the one computed automatically by GTK+.

    In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it's allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn't always packed. The necessary checks are done when the focus chain is actually traversed.

    Parameters

    • focusableWidgets: Gtk.Widget[]

      the new focus chain

    Returns void

  • Sets, or unsets if child is %NULL, the focused child of container.

    This function emits the GtkContainer::set_focus_child signal of container. Implementations of #GtkContainer can override the default behaviour by overriding the class closure of this signal.

    This is function is mostly meant to be used by widgets. Applications can use gtk_widget_grab_focus() to manualy set the focus to a specific widget.

    Parameters

    Returns void

  • Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the horizontal alignment. See gtk_scrolled_window_get_hadjustment() for a typical way of obtaining the adjustment and gtk_container_set_focus_vadjustment() for setting the vertical adjustment.

    The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.

    Parameters

    • adjustment: Gtk.Adjustment

      an adjustment which should be adjusted when the focus is moved among the descendents of container

    Returns void

  • setFocusOnMap(setting: boolean): void
  • Windows may set a hint asking the desktop environment not to receive the input focus when the window is mapped. This function sets this hint.

    Parameters

    • setting: boolean

      %TRUE to let this window receive input focus on map

    Returns void

  • Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the vertical alignment. See gtk_scrolled_window_get_vadjustment() for a typical way of obtaining the adjustment and gtk_container_set_focus_hadjustment() for setting the horizontal adjustment.

    The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.

    Parameters

    • adjustment: Gtk.Adjustment

      an adjustment which should be adjusted when the focus is moved among the descendents of container

    Returns void

  • setFrameDimensions(left: number, top: number, right: number, bottom: number): void
  • (Note: this is a special-purpose function intended for the framebuffer port; see gtk_window_set_has_frame(). It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system.)

    For windows with frames (see gtk_window_set_has_frame()) this function can be used to change the size of the frame border.

    Parameters

    • left: number

      The width of the left border

    • top: number

      The height of the top border

    • right: number

      The width of the right border

    • bottom: number

      The height of the bottom border

    Returns void

  • This function sets up hints about how a window can be resized by the user. You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See the #GdkGeometry struct.

    Parameters

    • geometryWidget: Gtk.Widget

      widget the geometry hints will be applied to

    • geometry: Gdk.Geometry

      struct containing geometry information

    • geomMask: Gdk.WindowHints

      mask indicating which struct fields should be paid attention to

    Returns void

  • Window gravity defines the meaning of coordinates passed to gtk_window_move(). See gtk_window_move() and #GdkGravity for more details.

    The default window gravity is #GDK_GRAVITY_NORTH_WEST which will typically "do what you mean."

    Parameters

    Returns void

  • setHasFrame(setting: boolean): void
  • (Note: this is a special-purpose function for the framebuffer port, that causes GTK+ to draw its own window border. For most applications, you want gtk_window_set_decorated() instead, which tells the window manager whether to draw the window border.)

    If this function is called on a window with setting of %TRUE, before it is realized or showed, it will have a "frame" window around window->window, accessible in window->frame. Using the signal frame_event you can receive all events targeted at the frame.

    This function is used by the linux-fb port to implement managed windows, but it could conceivably be used by X-programs that want to do their own window decorations.

    Parameters

    • setting: boolean

      a boolean

    Returns void

  • setHasSeparator(setting: boolean): void
  • setHasTooltip(hasTooltip: boolean): void
  • Sets the has-tooltip property on widget to has_tooltip. See GtkWidget:has-tooltip for more information.

    Parameters

    • hasTooltip: boolean

      whether or not widget has a tooltip.

    Returns void

  • setHasWindow(hasWindow: boolean): void
  • Specifies whether widget has a #GdkWindow of its own. Note that all realized widgets have a non-%NULL "window" pointer (gtk_widget_get_window() never returns a %NULL window when a widget is realized), but for many of them it's actually the #GdkWindow of one of its parent widgets. Widgets that do not create a %window for themselves in GtkWidget::realize() must announce this by calling this function with has_window = %FALSE.

    This function should only be called by widget implementations, and they should call it in their init() function.

    Parameters

    • hasWindow: boolean

      whether or not widget has a window.

    Returns void

  • Sets up the icon representing a #GtkWindow. This icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.

    The icon should be provided in whatever size it was naturally drawn; that is, don't scale the image before passing it to GTK+. Scaling is postponed until the last minute, when the desired final size is known, to allow best quality.

    If you have your icon hand-drawn in multiple sizes, use gtk_window_set_icon_list(). Then the best size will be used.

    This function is equivalent to calling gtk_window_set_icon_list() with a 1-element list.

    See also gtk_window_set_default_icon_list() to set the icon for all windows in your application in one go.

    Parameters

    • icon: Pixbuf

      icon image, or %NULL

    Returns void

  • setIconFromFile(filename: string): boolean
  • Sets the icon for window. Warns on failure if err is %NULL.

    This function is equivalent to calling gtk_window_set_icon() with a pixbuf created by loading the image from filename.

    Parameters

    • filename: string

      location of icon file

    Returns boolean

  • setIconName(name: string): void
  • Sets the icon for the window from a named themed icon. See the docs for #GtkIconTheme for more details.

    Note that this has nothing to do with the WM_ICON_NAME property which is mentioned in the ICCCM.

    Parameters

    • name: string

      the name of the themed icon

    Returns void

  • setKeepAbove(setting: boolean): void
  • Asks to keep window above, so that it stays on top. Note that you shouldn't assume the window is definitely above afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support keeping windows above. But normally the window will end kept above. Just don't write code that crashes if not.

    It's permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially.

    You can track the above state via the "window-state-event" signal on #GtkWidget.

    Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.

    Parameters

    • setting: boolean

      whether to keep window above other windows

    Returns void

  • setKeepBelow(setting: boolean): void
  • Asks to keep window below, so that it stays in bottom. Note that you shouldn't assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just don't write code that crashes if not.

    It's permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially.

    You can track the below state via the "window-state-event" signal on #GtkWidget.

    Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.

    Parameters

    • setting: boolean

      whether to keep window below other windows

    Returns void

  • setLicense(license: string): void
  • Sets the license information to be displayed in the secondary license dialog. If license is %NULL, the license button is hidden.

    Parameters

    • license: string

      the license information or %NULL

    Returns void

  • Sets the pixbuf to be displayed as logo in the about dialog. If it is %NULL, the default window icon set with gtk_window_set_default_icon() will be used.

    Parameters

    • logo: Pixbuf

      a #GdkPixbuf, or %NULL

    Returns void

  • setLogoIconName(iconName: string): void
  • Sets the pixbuf to be displayed as logo in the about dialog. If it is %NULL, the default window icon set with gtk_window_set_default_icon() will be used.

    Parameters

    • iconName: string

      an icon name, or %NULL

    Returns void

  • setMapped(mapped: boolean): void
  • Marks the widget as being realized.

    This function should only ever be called in a derived widget's "map" or "unmap" implementation.

    Parameters

    • mapped: boolean

      %TRUE to mark the widget as mapped

    Returns void

  • setMnemonicsVisible(setting: boolean): void
  • setModal(modal: boolean): void
  • Sets a window modal or non-modal. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use gtk_window_set_transient_for() to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.

    Parameters

    • modal: boolean

      whether the window is modal

    Returns void

  • setName(name: string): void
  • setName(name: string): void
  • setName(...args: any[]): any
  • setName(args_or_name: string | any[]): any
  • Sets the name to display in the about dialog. If this is not set, it defaults to g_get_application_name().

    Parameters

    • name: string

      the program name

    Returns void

  • Sets the name of the buildable object.

    Parameters

    • name: string

      name to set

    Returns void

  • Parameters

    • Rest ...args: any[]

    Returns any

  • Parameters

    • args_or_name: string | any[]

    Returns any

  • setNoShowAll(noShowAll: boolean): void
  • Sets the #GtkWidget:no-show-all property, which determines whether calls to gtk_widget_show_all() and gtk_widget_hide_all() will affect this widget.

    This is mostly for use in constructing widget hierarchies with externally controlled visibility, see #GtkUIManager.

    Parameters

    • noShowAll: boolean

      the new value for the "no-show-all" property

    Returns void

  • setOpacity(opacity: number): void
  • Request the windowing system to make window partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) On X11 this has any effect only on X screens with a compositing manager running. See gtk_widget_is_composited(). On Windows it should work always.

    Note that setting a window's opacity after the window has been shown causes it to flicker once on Windows.

    Parameters

    • opacity: number

      desired opacity, between 0 and 1

    Returns void

  • This function is useful only when implementing subclasses of #GtkContainer. Sets the container as the parent of widget, and takes care of some details such as updating the state and style of the child to reflect its new location. The opposite function is gtk_widget_unparent().

    Parameters

    Returns void

  • setParentWindow(parentWindow: Gdk.Window): void
  • setPolicy(allowShrink: number, allowGrow: number, autoShrink: number): void
  • Sets a position constraint for this window. If the old or new constraint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause the window to be repositioned to satisfy the new constraint.

    Parameters

    Returns void

  • setProgramName(name: string): void
  • Sets the name to display in the about dialog. If this is not set, it defaults to g_get_application_name().

    Parameters

    • name: string

      the program name

    Returns void

  • setProperty(propertyName: string, value?: any): void
  • Sets a property on an object.

    Parameters

    • propertyName: string

      the name of the property to set

    • Optional value: any

      the value

    Returns void

  • setRealized(realized: boolean): void
  • Marks the widget as being realized.

    This function should only ever be called in a derived widget's "realize" or "unrealize" implementation.

    Parameters

    • realized: boolean

      %TRUE to mark the widget as realized

    Returns void

  • setReallocateRedraws(needsRedraws: boolean): void
  • Sets the reallocate_redraws flag of the container to the given value.

    Containers requesting reallocation redraws get automatically redrawn if any of their children changed allocation.

    Parameters

    • needsRedraws: boolean

      the new value for the container's reallocate_redraws flag

    Returns void

  • setReceivesDefault(receivesDefault: boolean): void
  • Specifies whether widget will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

    See gtk_widget_grab_default() for details about the meaning of "default".

    Parameters

    • receivesDefault: boolean

      whether or not widget can be a default widget.

    Returns void

  • setRedrawOnAllocate(redrawOnAllocate: boolean): void
  • Sets whether the entire widget is queued for drawing when its size allocation changes. By default, this setting is %TRUE and the entire widget is redrawn on every size change. If your widget leaves the upper left unchanged when made bigger, turning this setting off will improve performance.

    Note that for %NO_WINDOW widgets setting this flag to %FALSE turns off all allocation on resizing: the widget will not even redraw if its position changes; this is to allow containers that don't draw anything to avoid excess invalidations. If you set this flag on a %NO_WINDOW widget that does draw on widget->window, you are responsible for invalidating both the old and new allocation of the widget when the widget is moved and responsible for invalidating regions newly when the widget increases size.

    Parameters

    • redrawOnAllocate: boolean

      if %TRUE, the entire widget will be redrawn when it is allocated to a new size. Otherwise, only the new portion of the widget will be redrawn.

    Returns void

  • setResizable(resizable: boolean): void
  • Sets whether the user can resize a window. Windows are user resizable by default.

    Parameters

    • resizable: boolean

      %TRUE if the user can resize this window

    Returns void

  • Sets the resize mode for the container.

    The resize mode of a container determines whether a resize request will be passed to the container's parent, queued for later execution or executed immediately.

    Parameters

    Returns void

  • setResponseSensitive(responseId: number, setting: boolean): void
  • Calls gtk_widget_set_sensitive (widget, setting) for each widget in the dialog's action area with the given response_id. A convenient way to sensitize/desensitize dialog buttons.

    Parameters

    • responseId: number

      a response ID

    • setting: boolean

      %TRUE for sensitive

    Returns void

  • setRole(role: string): void
  • This function is only useful on X11, not with other GTK+ targets.

    In combination with the window title, the window role allows a

    window manager to identify "the same" window when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox window, so that when the user restarts their session, the window manager can put the toolbox back in the same place.

    If a window already has a unique title, you don't need to set the role, since the WM can use the title to identify the window when restoring the session.

    Parameters

    • role: string

      unique identifier for the window to be used when restoring a session

    Returns void

  • Sets the #GdkScreen where the window is displayed; if the window is already mapped, it will be unmapped, and then remapped on the new screen.

    Parameters

    Returns void

  • For widgets that support scrolling, sets the scroll adjustments and returns %TRUE. For widgets that don't support scrolling, does nothing and returns %FALSE. Widgets that don't support scrolling can be scrolled by placing them in a #GtkViewport, which does support scrolling.

    Parameters

    • hadjustment: Gtk.Adjustment

      an adjustment for horizontal scrolling, or %NULL

    • vadjustment: Gtk.Adjustment

      an adjustment for vertical scrolling, or %NULL

    Returns boolean

  • setSensitive(sensitive: boolean): void
  • Sets the sensitivity of a widget. A widget is sensitive if the user can interact with it. Insensitive widgets are "grayed out" and the user can't interact with them. Insensitive widgets are known as "inactive", "disabled", or "ghosted" in some other toolkits.

    Parameters

    • sensitive: boolean

      %TRUE to make the widget sensitive

    Returns void

  • setSizeRequest(width: number, height: number): void
  • Sets the minimum size of a widget; that is, the widget's size request will be width by height. You can use this function to force a widget to be either larger or smaller than it normally would be.

    In most cases, gtk_window_set_default_size() is a better choice for toplevel windows than this function; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, gtk_window_set_geometry_hints() can be a useful function as well.

    Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. So, it's basically impossible to hardcode a size that will always be correct.

    The size request of a widget is the smallest size a widget can accept while still functioning well and drawing itself correctly. However in some strange cases a widget may be allocated less than its requested size, and in many cases a widget may be allocated more space than it requested.

    If the size request in a given direction is -1 (unset), then the "natural" size request of the widget will be used instead.

    Widgets can't actually be allocated a size less than 1 by 1, but you can pass 0,0 to this function to mean "as small as possible."

    Parameters

    • width: number

      width widget should request, or -1 to unset

    • height: number

      height widget should request, or -1 to unset

    Returns void

  • setSkipPagerHint(setting: boolean): void
  • Windows may set a hint asking the desktop environment not to display the window in the pager. This function sets this hint. (A "pager" is any desktop navigation tool such as a workspace switcher that displays a thumbnail representation of the windows on the screen.)

    Parameters

    • setting: boolean

      %TRUE to keep this window from appearing in the pager

    Returns void

  • setSkipTaskbarHint(setting: boolean): void
  • Windows may set a hint asking the desktop environment not to display the window in the task bar. This function sets this hint.

    Parameters

    • setting: boolean

      %TRUE to keep this window from appearing in the task bar

    Returns void

  • setStartupId(startupId: string): void
  • Startup notification identifiers are used by desktop environment to track application startup, to provide user feedback and other features. This function changes the corresponding property on the underlying GdkWindow. Normally, startup identifier is managed automatically and you should only use this function in special cases like transferring focus from other processes. You should use this function before calling gtk_window_present() or any equivalent function generating a window map event.

    This function is only useful on X11, not with other GTK+ targets.

    Parameters

    • startupId: string

      a string with startup-notification identifier

    Returns void

  • This function is for use in widget implementations. Sets the state of a widget (insensitive, prelighted, etc.) Usually you should set the state using wrapper functions such as gtk_widget_set_sensitive().

    Parameters

    Returns void

  • Sets the #GtkStyle for a widget (widget->style). You probably don't want to use this function; it interacts badly with themes, because themes work by replacing the #GtkStyle. Instead, use gtk_widget_modify_style().

    Parameters

    • style: Gtk.Style

      a #GtkStyle, or %NULL to remove the effect of a previous gtk_widget_set_style() and go back to the default style

    Returns void

  • setTitle(title: string): void
  • Sets the title of the #GtkWindow. The title of a window will be displayed in its title bar; on the X Window System, the title bar is rendered by the window manager, so exactly how the title appears to users may vary according to a user's exact configuration. The title should help a user distinguish this window from other windows they may have open. A good title might include the application name and current document filename, for example.

    Parameters

    • title: string

      title of the window

    Returns void

  • setTooltipMarkup(markup: string): void
  • Sets markup as the contents of the tooltip, which is marked up with the Pango text markup language.

    This function will take care of setting GtkWidget:has-tooltip to %TRUE and of the default handler for the GtkWidget::query-tooltip signal.

    See also the GtkWidget:tooltip-markup property and gtk_tooltip_set_markup().

    Parameters

    • markup: string

      the contents of the tooltip for widget, or %NULL

    Returns void

  • setTooltipText(text: string): void
  • Sets text as the contents of the tooltip. This function will take care of setting GtkWidget:has-tooltip to %TRUE and of the default handler for the GtkWidget::query-tooltip signal.

    See also the GtkWidget:tooltip-text property and gtk_tooltip_set_text().

    Parameters

    • text: string

      the contents of the tooltip for widget

    Returns void

  • setTooltipWindow(customWindow: Gtk.Window): void
  • Replaces the default, usually yellow, window used for displaying tooltips with custom_window. GTK+ will take care of showing and hiding custom_window at the right moment, to behave likewise as the default tooltip window. If custom_window is %NULL, the default tooltip window will be used.

    If the custom window should have the default theming it needs to have the name "gtk-tooltip", see gtk_widget_set_name().

    Parameters

    • customWindow: Gtk.Window

      a #GtkWindow, or %NULL

    Returns void

  • Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. gtk_dialog_new_with_buttons() and other convenience functions in GTK+ will sometimes call gtk_window_set_transient_for() on your behalf.

    Passing %NULL for parent unsets the current transient window.

    On Windows, this function puts the child window on top of the parent, much as the window manager would have done on X.

    Parameters

    Returns void

  • setTranslatorCredits(translatorCredits: string): void
  • Sets the translator credits string which is displayed in the translators tab of the secondary credits dialog.

    The intended use for this string is to display the translator of the language which is currently used in the user interface. Using gettext(), a simple way to achieve that is to mark the string for translation: |[ gtk_about_dialog_set_translator_credits (about, _("translator-credits"));


    It is a good idea to use the customary msgid "translator-credits" for this
    purpose, since translators will already know the purpose of that msgid, and
    since #GtkAboutDialog will detect if "translator-credits" is untranslated
    and hide the tab.
    @param translatorCredits the translator credits

    Parameters

    • translatorCredits: string

    Returns void

  • By setting the type hint for the window, you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application.

    This function should be called before the window becomes visible.

    gtk_dialog_new_with_buttons() and other convenience functions in GTK+ will sometimes call gtk_window_set_type_hint() on your behalf.

    Parameters

    Returns void

  • setUposition(x: number, y: number): void
  • Sets the position of a widget. The funny "u" in the name comes from the "user position" hint specified by the X Window System, and exists for legacy reasons. This function doesn't work if a widget is inside a container; it's only really useful on #GtkWindow.

    Don't use this function to center dialogs over the main application window; most window managers will do the centering on your behalf if you call gtk_window_set_transient_for(), and it's really not possible to get the centering to work correctly in all cases from application code. But if you insist, use gtk_window_set_position() to set #GTK_WIN_POS_CENTER_ON_PARENT, don't do the centering manually.

    Note that although x and y can be individually unset, the position is not honoured unless both x and y are set.

    Parameters

    • x: number

      x position; -1 to unset x; -2 to leave x unchanged

    • y: number

      y position; -1 to unset y; -2 to leave y unchanged

    Returns void

  • setUrgencyHint(setting: boolean): void
  • Windows may set a hint asking the desktop environment to draw the users attention to the window. This function sets this hint.

    Parameters

    • setting: boolean

      %TRUE to mark this window as urgent

    Returns void

  • setUserData(data: object): void
  • setUsize(width: number, height: number): void
  • Sets the minimum size of a widget; that is, the widget's size request will be width by height. You can use this function to force a widget to be either larger or smaller than it is. The strange "usize" name dates from the early days of GTK+, and derives from X Window System terminology. In many cases, gtk_window_set_default_size() is a better choice for toplevel windows than this function; setting the default size will still allow users to shrink the window. Setting the usize will force them to leave the window at least as large as the usize. When dealing with window sizes, gtk_window_set_geometry_hints() can be a useful function as well.

    Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. So, it's basically impossible to hardcode a size that will always be correct.

    Parameters

    • width: number

      minimum width, or -1 to unset

    • height: number

      minimum height, or -1 to unset

    Returns void

  • setVersion(version: string): void
  • Sets the version string to display in the about dialog.

    Parameters

    • version: string

      the version string

    Returns void

  • setVisible(visible: boolean): void
  • Sets the visibility state of widget. Note that setting this to %TRUE doesn't mean the widget is actually viewable, see gtk_widget_get_visible().

    This function simply calls gtk_widget_show() or gtk_widget_hide() but is nicer to use when the visibility of the widget depends on some condition.

    Parameters

    • visible: boolean

      whether the widget should be shown or not

    Returns void

  • setWebsite(website: string): void
  • Sets the URL to use for the website link.

    Note that that the hook functions need to be set up before calling this function.

    Parameters

    • website: string

      a URL string starting with "http://"

    Returns void

  • setWebsiteLabel(websiteLabel: string): void
  • Sets the label to be used for the website link. It defaults to the website URL.

    Parameters

    • websiteLabel: string

      the label used for the website link

    Returns void

  • Sets a widget's window. This function should only be used in a widget's GtkWidget::realize() implementation. The %window passed is usually either new window created with gdk_window_new(), or the window of its parent widget as returned by gtk_widget_get_parent_window().

    Widgets must indicate whether they will create their own #GdkWindow by calling gtk_widget_set_has_window(). This is usually done in the widget's init() function.

    Parameters

    Returns void

  • setWmclass(wmclassName: string, wmclassClass: string): void
  • Don't use this function. It sets the X Window System "class" and "name" hints for a window. According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK+ sets them to that value by default, so calling this function is sort of pointless. However, you may want to call gtk_window_set_role() on each window in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session.

    Parameters

    • wmclassName: string

      window name hint

    • wmclassClass: string

      window class hint

    Returns void

  • setWrapLicense(wrapLicense: boolean): void
  • Sets whether the license text in about is automatically wrapped.

    Parameters

    • wrapLicense: boolean

      whether to wrap the license

    Returns void

  • shapeCombineMask(shapeMask: Gdk.Bitmap, offsetX: number, offsetY: number): void
  • Sets a shape for this widget's GDK window. This allows for transparent windows etc., see gdk_window_shape_combine_mask() for more information.

    Parameters

    • shapeMask: Gdk.Bitmap

      shape to be added, or %NULL to remove an existing shape

    • offsetX: number

      X position of shape mask with respect to window

    • offsetY: number

      Y position of shape mask with respect to window

    Returns void

  • show(): void
  • Flags a widget to be displayed. Any widget that isn't shown will not appear on the screen. If you want to show all the widgets in a container, it's easier to call gtk_widget_show_all() on the container, instead of individually showing the widgets.

    Remember that you have to show the containers containing a widget, in addition to the widget itself, before it will appear onscreen.

    When a toplevel container is shown, it is immediately realized and mapped; other shown widgets are realized and mapped when their toplevel container is realized and mapped.

    Returns void

  • showAll(): void
  • showNow(): void
  • Shows a widget. If the widget is an unmapped toplevel widget (i.e. a #GtkWindow that has not yet been shown), enter the main loop and wait for the window to actually be mapped. Be careful; because the main loop is running, anything can happen during this function.

    Returns void

  • sink(): void
  • This function is only used by #GtkContainer subclasses, to assign a size and position to their child widgets.

    Parameters

    • allocation: Gdk.Rectangle

      position and size to be allocated to widget

    Returns void

  • This function is typically used when implementing a #GtkContainer subclass. Obtains the preferred size of a widget. The container uses this information to arrange its child widgets and decide what size allocations to give them with gtk_widget_size_allocate().

    You can also call this function from an application, with some caveats. Most notably, getting a size request requires the widget to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind.

    Also remember that the size request is not necessarily the size a widget will actually be allocated.

    See also gtk_widget_get_child_requisition().

    Parameters

    Returns void

  • stealData(key?: string): object
  • Remove a specified datum from the object's data associations, without invoking the association's destroy handler.

    Parameters

    • Optional key: string

      name of the key

    Returns object

  • stealQdata(quark: number): object
  • This function gets back user data pointers stored via g_object_set_qdata() and removes the data from object without invoking its destroy() function (if any was set). Usually, calling this function is only required to update user data pointers with a destroy notifier, for example:

    void
    object_add_to_user_list (GObject *object,
    const gchar *new_string)
    {
    // the quark, naming the object data
    GQuark quark_string_list = g_quark_from_static_string ("my-string-list");
    // retrieve the old string list
    GList *list = g_object_steal_qdata (object, quark_string_list);

    // prepend new string
    list = g_list_prepend (list, g_strdup (new_string));
    // this changed 'list', so we need to set it again
    g_object_set_qdata_full (object, quark_string_list, list, free_string_list);
    }
    static void
    free_string_list (gpointer data)
    {
    GList *node, *list = data;

    for (node = list; node; node = node->next)
    g_free (node->data);
    g_list_free (list);
    }

    Using g_object_get_qdata() in the above example, instead of g_object_steal_qdata() would have left the destroy function set, and thus the partial string list would have been freed upon g_object_set_qdata_full().

    Parameters

    • quark: number

      A #GQuark, naming the user data pointer

    Returns object

  • stick(): void
  • Asks to stick window, which means that it will appear on all user desktops. Note that you shouldn't assume the window is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the window will end up stuck. Just don't write code that crashes if not.

    It's permitted to call this function before showing a window.

    You can track stickiness via the "window-state-event" signal on #GtkWidget.

    Returns void

  • styleAttach(): void
  • This function attaches the widget's #GtkStyle to the widget's #GdkWindow. It is a replacement for

    widget->style = gtk_style_attach (widget->style, widget->window);

    and should only ever be called in a derived widget's "realize" implementation which does not chain up to its parent class' "realize" implementation, because one of the parent classes (finally #GtkWidget) would attach the style itself.

    Returns void

  • styleGetProperty(propertyName: string, value: any): void
  • Gets the value of a style property of widget.

    Parameters

    • propertyName: string

      the name of a style property

    • value: any

      location to return the property value

    Returns void

  • thawChildNotify(): void
  • Reverts the effect of a previous call to gtk_widget_freeze_child_notify(). This causes all queued #GtkWidget::child-notify signals on widget to be emitted.

    Returns void

  • thawNotify(): void
  • Reverts the effect of a previous call to g_object_freeze_notify(). The freeze count is decreased on object and when it reaches zero, queued "notify" signals are emitted.

    Duplicate notifications for each property are squashed so that at most one #GObject::notify signal is emitted for each property, in the reverse order in which they have been queued.

    It is an error to call this function when the freeze count is zero.

    Returns void

  • translateCoordinates(destWidget: Gtk.Widget, srcX: number, srcY: number): [boolean, number, number]
  • Translate coordinates relative to src_widget's allocation to coordinates relative to dest_widget's allocations. In order to perform this operation, both widgets must be realized, and must share a common toplevel.

    Parameters

    • destWidget: Gtk.Widget

      a #GtkWidget

    • srcX: number

      X position relative to src_widget

    • srcY: number

      Y position relative to src_widget

    Returns [boolean, number, number]

  • triggerTooltipQuery(): void
  • Triggers a tooltip query on the display where the toplevel of widget is located. See gtk_tooltip_trigger_tooltip_query() for more information.

    Returns void

  • unfullscreen(): void
  • Asks to toggle off the fullscreen state for window. Note that you shouldn't assume the window is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the window will end up restored to its normal state. Just don't write code that crashes if not.

    You can track the fullscreen state via the "window-state-event" signal on #GtkWidget.

    Returns void

  • unmap(): void
  • This function is only for use in widget implementations. Causes a widget to be unmapped if it's currently mapped.

    Returns void

  • unmaximize(): void
  • Asks to unmaximize window. Note that you shouldn't assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the window will end up unmaximized. Just don't write code that crashes if not.

    You can track maximization via the "window-state-event" signal on #GtkWidget.

    Returns void

  • unparent(): void
  • This function is only for use in widget implementations. Should be called by implementations of the remove method on #GtkContainer, to dissociate a child from the container.

    Returns void

  • unrealize(): void
  • This function is only useful in widget implementations. Causes a widget to be unrealized (frees all GDK resources associated with the widget, such as widget->window).

    Returns void

  • unref(): void
  • unsetFocusChain(): void
  • unstick(): void
  • Asks to unstick window, which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the window is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the window will end up stuck. Just don't write code that crashes if not.

    You can track stickiness via the "window-state-event" signal on #GtkWidget.

    Returns void

  • watchClosure(closure: TClosure<any, any>): void
  • This function essentially limits the life time of the closure to the life time of the object. That is, when the object is finalized, the closure is invalidated by calling g_closure_invalidate() on it, in order to prevent invocations of the closure with a finalized (nonexisting) object. Also, g_object_ref() and g_object_unref() are added as marshal guards to the closure, to ensure that an extra reference count is held on object during invocation of the closure. Usually, this function will be called on closures that use this object as closure data.

    Parameters

    • closure: TClosure<any, any>

      #GClosure to watch

    Returns void

  • addArgType(argName: string, argType: GType<unknown>, argFlags: number, argId: number): void
  • compatControl(what: number, data: object): number
  • getDefaultIconList(): Pixbuf[]
  • Gets the value set by gtk_window_set_default_icon_list(). The list is a copy and should be freed with g_list_free(), but the pixbufs in the list have not had their reference count incremented.

    Returns Pixbuf[]

  • getDefaultIconName(): string
  • Returns the fallback icon name for windows that has been set with gtk_window_set_default_icon_name(). The returned string is owned by GTK+ and should not be modified. It is only valid until the next call to gtk_window_set_default_icon_name().

    Returns string

  • Find the #GParamSpec with the given name for an interface. Generally, the interface vtable passed in as g_iface will be the default vtable from g_type_default_interface_ref(), or, if you know the interface has already been loaded, g_type_default_interface_peek().

    Parameters

    • gIface: TypeInterface

      any interface vtable for the interface, or the default vtable for the interface

    • propertyName: string

      name of a property to look up.

    Returns ParamSpec

  • Add a property to an interface; this is only useful for interfaces that are added to GObject-derived types. Adding a property to an interface forces all objects classes with that interface to have a compatible property. The compatible property could be a newly created #GParamSpec, but normally g_object_class_override_property() will be used so that the object class only needs to provide an implementation and inherits the property description, default value, bounds, and so forth from the interface property.

    This function is meant to be called from the interface's default vtable initialization function (the class_init member of #GTypeInfo.) It must not be called after after class_init has been called for any object types implementing this interface.

    If pspec is a floating reference, it will be consumed.

    Parameters

    • gIface: TypeInterface

      any interface vtable for the interface, or the default vtable for the interface.

    • pspec: ParamSpec

      the #GParamSpec for the new property

    Returns void

  • Lists the properties of an interface.Generally, the interface vtable passed in as g_iface will be the default vtable from g_type_default_interface_ref(), or, if you know the interface has already been loaded, g_type_default_interface_peek().

    Parameters

    • gIface: TypeInterface

      any interface vtable for the interface, or the default vtable for the interface

    Returns ParamSpec[]

  • Returns a list of all existing toplevel windows. The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, NULL) first, and then unref all the widgets afterwards.

    Returns Gtk.Widget[]

  • Creates a new #GtkAboutDialog.

    If you simply want an undecorated window (no window borders), use gtk_window_set_decorated(), don't use #GTK_WINDOW_POPUP.

    Returns Gtk.AboutDialog

  • Creates a new #GtkWindow, which is a toplevel window that can contain other widgets. Nearly always, the type of the window should be #GTK_WINDOW_TOPLEVEL. If you're implementing something like a popup menu from scratch (which is a bad idea, just use #GtkMenu), you might use #GTK_WINDOW_POPUP. #GTK_WINDOW_POPUP is not for dialogs, though in some other toolkits dialogs are called "popups". In GTK+, #GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip. On X11, popup windows are not controlled by the window manager.

    If you simply want an undecorated window (no window borders), use gtk_window_set_decorated(), don't use #GTK_WINDOW_POPUP.

    Returns Gtk.Dialog

  • Creates a new #GtkWindow, which is a toplevel window that can contain other widgets. Nearly always, the type of the window should be #GTK_WINDOW_TOPLEVEL. If you're implementing something like a popup menu from scratch (which is a bad idea, just use #GtkMenu), you might use #GTK_WINDOW_POPUP. #GTK_WINDOW_POPUP is not for dialogs, though in some other toolkits dialogs are called "popups". In GTK+, #GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip. On X11, popup windows are not controlled by the window manager.

    If you simply want an undecorated window (no window borders), use gtk_window_set_decorated(), don't use #GTK_WINDOW_POPUP.

    Parameters

    Returns Gtk.Window

  • Creates a new instance of a #GObject subtype and sets its properties.

    Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) which are not explicitly specified are set to their default values.

    Parameters

    • objectType: GType<unknown>

      the type id of the #GObject subtype to instantiate

    • parameters: GObject.Parameter[]

      an array of #GParameter

    Returns GObject.Object

  • popColormap(): void
  • popCompositeChild(): void
  • Pushes cmap onto a global stack of colormaps; the topmost colormap on the stack will be used to create all widgets. Remove cmap with gtk_widget_pop_colormap(). There's little reason to use this function.

    Parameters

    Returns void

  • pushCompositeChild(): void
  • Makes all newly-created widgets as composite children until the corresponding gtk_widget_pop_composite_child() call.

    A composite child is a child that's an implementation detail of the container it's inside and should not be visible to people using the container. Composite children aren't treated differently by GTK (but see gtk_container_foreach() vs. gtk_container_forall()), but e.g. GUI builders might want to treat them in a different way.

    Here is a simple example: |[ gtk_widget_push_composite_child (); scrolled_window->hscrollbar = gtk_hscrollbar_new (hadjustment); gtk_widget_set_composite_name (scrolled_window->hscrollbar, "hscrollbar"); gtk_widget_pop_composite_child (); gtk_widget_set_parent (scrolled_window->hscrollbar, GTK_WIDGET (scrolled_window)); g_object_ref (scrolled_window->hscrollbar);

    
    

    Returns void

  • setAutoStartupNotification(setting: boolean): void
  • By default, after showing the first #GtkWindow, GTK+ calls gdk_notify_startup_complete(). Call this function to disable the automatic startup notification. You might do this if your first window is a splash screen, and you want to delay notification until after your real main window has been shown, for example.

    In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main window would automatically result in notification.

    Parameters

    • setting: boolean

      %TRUE to automatically do startup notification

    Returns void

  • Sets the default colormap to use when creating widgets. gtk_widget_push_colormap() is a better function to use if you only want to affect a few widgets, rather than all widgets.

    Parameters

    Returns void

  • Sets the default reading direction for widgets where the direction has not been explicitly set by gtk_widget_set_direction().

    Parameters

    • dir: Gtk.TextDirection

      the new default direction. This cannot be %GTK_TEXT_DIR_NONE.

    Returns void

  • setDefaultIcon(icon: Pixbuf): void
  • Sets an icon to be used as fallback for windows that haven't had gtk_window_set_icon() called on them from a pixbuf.

    Parameters

    Returns void

  • setDefaultIconFromFile(filename: string): boolean
  • Sets an icon to be used as fallback for windows that haven't had gtk_window_set_icon_list() called on them from a file on disk. Warns on failure if err is %NULL.

    Parameters

    • filename: string

      location of icon file

    Returns boolean

  • setDefaultIconList(list: Pixbuf[]): void
  • Sets an icon list to be used as fallback for windows that haven't had gtk_window_set_icon_list() called on them to set up a window-specific icon list. This function allows you to set up the icon for all windows in your app at once.

    See gtk_window_set_icon_list() for more details.

    Parameters

    • list: Pixbuf[]

      a list of #GdkPixbuf

    Returns void

  • setDefaultIconName(name: string): void
  • Sets an icon to be used as fallback for windows that haven't had gtk_window_set_icon_list() called on them from a named themed icon, see gtk_window_set_icon_name().

    Parameters

    • name: string

      the name of the themed icon

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method