Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

Properties

gtk_alternative_button_order?: boolean
gtk_alternative_sort_arrows?: boolean

Controls the direction of the sort indicators in sorted list and tree views. By default an arrow pointing down means the column is sorted in ascending order. When set to %TRUE, this order will be inverted.

gtk_application_prefer_dark_theme?: boolean

Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configured theme.

Some applications benefit from minimizing the amount of light pollution that interferes with the content. Good candidates for dark themes are photo and video editors that make the actual content get all the attention and minimize the distraction of the chrome.

Dark themes should not be used for documents, where large spaces are white/light and the dark chrome creates too much contrast (web browser, text editor...).

gtk_auto_mnemonics?: boolean

Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.

gtk_button_images?: boolean

Whether images should be shown on buttons

gtk_can_change_accels?: boolean

Whether menu accelerators can be changed by pressing a key over the menu item.

gtk_color_palette?: string

Palette to use in the deprecated color selector.

gtk_color_scheme?: string

A palette of named colors for use in themes. The format of the string is |[ name1: color1 name2: color2 ... ```

Color names must be acceptable as identifiers in the [gtkrc][gtk3-Resource-Files] syntax, and color specifications must be in the format accepted by gdk_color_parse().

Note that due to the way the color tables from different sources are merged, color specifications will be converted to hexadecimal form when getting this property.

Starting with GTK+ 2.12, the entries can alternatively be separated by ';' instead of newlines: |[ name1: color1; name2: color2; ...


gtk_cursor_aspect_ratio?: number
gtk_cursor_blink?: boolean

Whether the cursor should blink.

Also see the #GtkSettings:gtk-cursor-blink-timeout setting, which allows more flexible control over cursor blinking.

gtk_cursor_blink_time?: number
gtk_cursor_blink_timeout?: number

Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction.

Setting this to zero has the same effect as setting #GtkSettings:gtk-cursor-blink to %FALSE.

gtk_cursor_theme_name?: string
gtk_cursor_theme_size?: number
gtk_decoration_layout?: string

This setting determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed at the left of right.

The format of the string is button names, separated by commas. A colon separates the buttons that should appear on the left from those on the right. Recognized button names are minimize, maximize, close, icon (the window icon) and menu (a menu button for the fallback app menu).

For example, "menu:minimize,maximize,close" specifies a menu on the left, and minimize, maximize and close buttons on the right.

Note that buttons will only be shown when they are meaningful. E.g. a menu button only appears when the desktop shell does not show the app menu, and a close button only appears on a window that can be closed.

Also note that the setting can be overridden with the #GtkHeaderBar:decoration-layout property.

gtk_dialogs_use_header?: boolean

Whether builtin GTK+ dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action widgets, or an action area at the bottom.

This setting does not affect custom dialogs using GtkDialog directly, or message dialogs.

gtk_dnd_drag_threshold?: number
gtk_double_click_distance?: number
gtk_double_click_time?: number
gtk_enable_accels?: boolean

Whether menu items should have visible accelerators which can be activated.

gtk_enable_animations?: boolean
gtk_enable_event_sounds?: boolean

Whether to play any event sounds at all.

See the Sound Theme Specifications for more information on event sounds and sound themes.

GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra.

gtk_enable_input_feedback_sounds?: boolean

Whether to play event sounds as feedback to user input.

See the Sound Theme Specifications for more information on event sounds and sound themes.

GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra.

gtk_enable_mnemonics?: boolean

Whether labels and menu items should have visible mnemonics which can be activated.

gtk_enable_primary_paste?: boolean

Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location.

gtk_enable_tooltips?: boolean

Whether tooltips should be shown on widgets.

gtk_entry_password_hint_timeout?: number

How long to show the last input character in hidden entries. This value is in milliseconds. 0 disables showing the last char. 600 is a good value for enabling it.

gtk_entry_select_on_focus?: boolean
gtk_error_bell?: boolean

When %TRUE, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using gdk_window_beep(), the windowing system may offer ways to configure the error bell in many ways, such as flashing the window or similar visual effects.

gtk_fallback_icon_theme?: string

Name of a icon theme to fall back to.

gtk_file_chooser_backend?: string

Name of the GtkFileChooser backend to use by default.

gtk_font_name?: string

The default font to use. GTK+ uses the family name and size from this string.

gtk_fontconfig_timestamp?: number
gtk_icon_sizes?: string

A list of icon sizes. The list is separated by colons, and item has the form:

size-name = width , height

E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48". GTK+ itself use the following named icon sizes: gtk-menu, gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd, gtk-dialog. Applications can register their own named icon sizes with gtk_icon_size_register().

gtk_icon_theme_name?: string
gtk_im_module?: string

Which IM (input method) module should be used by default. This is the input method that will be used if the user has not explicitly chosen another input method from the IM context menu. This also can be a colon-separated list of input methods, which GTK+ will try in turn until it finds one available on the system.

See #GtkIMContext.

gtk_im_preedit_style?: Gtk.IMPreeditStyle

How to draw the input method preedit string.

gtk_im_status_style?: Gtk.IMStatusStyle

How to draw the input method statusbar.

gtk_key_theme_name?: string
gtk_keynav_cursor_only?: boolean

When %TRUE, keyboard navigation should be able to reach all widgets by using the cursor keys only. Tab, Shift etc. keys can't be expected to be present on the used input device.

gtk_keynav_use_caret?: boolean

Whether GTK+ should make sure that text can be navigated with a caret, even if it is not editable. This is useful when using a screen reader.

gtk_keynav_wrap_around?: boolean

When %TRUE, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.

gtk_label_select_on_focus?: boolean
gtk_long_press_time?: number

The time for a button or touch press to be considered a "long press".

gtk_menu_bar_accel?: string

Keybinding to activate the menu bar.

gtk_menu_bar_popup_delay?: number

Delay before the submenus of a menu bar appear.

gtk_menu_images?: boolean

Whether images should be shown in menu items

gtk_menu_popdown_delay?: number

The time before hiding a submenu when the pointer is moving towards the submenu.

gtk_menu_popup_delay?: number

Minimum time the pointer must stay over a menu item before the submenu appear.

gtk_modules?: string
gtk_overlay_scrolling?: boolean

Whether scrolled windows may use overlayed scrolling indicators. If this is set to %FALSE, scrolled windows will have permanent scrollbars.

gtk_primary_button_warps_slider?: boolean

If the value of this setting is %TRUE, clicking the primary button in a #GtkRange trough will move the slider, and hence set the range’s value, to the point that you clicked. If it is %FALSE, a primary click will cause the slider/value to move by the range’s page-size towards the point clicked.

Whichever action you choose for the primary button, the other action will be available by holding Shift and primary-clicking, or (since GTK+ 3.22.25) clicking the middle mouse button.

gtk_print_backends?: string

A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "file", "cups", "lpr" or "papi".

gtk_print_preview_command?: string

A command to run for displaying the print preview. The command should contain a %f placeholder, which will get replaced by the path to the pdf file. The command may also contain a %s placeholder, which will get replaced by the path to a file containing the print settings in the format produced by gtk_print_settings_to_file().

The preview application is responsible for removing the pdf file and the print settings file when it is done.

gtk_recent_files_enabled?: boolean

Whether GTK+ should keep track of items inside the recently used resources list. If set to %FALSE, the list will always be empty.

gtk_recent_files_limit?: number

The number of recently used files that should be displayed by default by #GtkRecentChooser implementations and by the #GtkFileChooser. A value of -1 means every recently used file stored.

gtk_recent_files_max_age?: number

The maximum age, in days, of the items inside the recently used resources list. Items older than this setting will be excised from the list. If set to 0, the list will always be empty; if set to -1, no item will be removed.

gtk_scrolled_window_placement?: Gtk.CornerType

Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement.

gtk_shell_shows_app_menu?: boolean
gtk_shell_shows_desktop?: boolean
gtk_shell_shows_menubar?: boolean
gtk_show_input_method_menu?: boolean
gtk_show_unicode_menu?: boolean
gtk_sound_theme_name?: string

The XDG sound theme to use for event sounds.

See the Sound Theme Specifications for more information on event sounds and sound themes.

GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra.

gtk_split_cursor?: boolean
gtk_theme_name?: string
gtk_timeout_expand?: number
gtk_timeout_initial?: number
gtk_timeout_repeat?: number
gtk_titlebar_double_click?: string

This setting determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

gtk_titlebar_middle_click?: string

This setting determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

gtk_titlebar_right_click?: string

This setting determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

gtk_toolbar_icon_size?: Gtk.IconSize

The size of icons in default toolbars.

gtk_toolbar_style?: Gtk.ToolbarStyle

The size of icons in default toolbars.

gtk_tooltip_browse_mode_timeout?: number

Amount of time, in milliseconds, after which the browse mode will be disabled.

See #GtkSettings:gtk-tooltip-browse-timeout for more information about browse mode.

gtk_tooltip_browse_timeout?: number

Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.

Browse mode is enabled when the mouse pointer moves off an object where a tooltip was currently being displayed. If the mouse pointer hits another object before the browse mode timeout expires (see #GtkSettings:gtk-tooltip-browse-mode-timeout), it will take the amount of milliseconds specified by this setting to popup the tooltip for the new object.

gtk_tooltip_timeout?: number

Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.

gtk_touchscreen_mode?: boolean

When %TRUE, there are no motion notify events delivered on this screen, and widgets can't use the pointer hovering them for any essential functionality.

gtk_visible_focus?: Gtk.PolicyType

Whether 'focus rectangles' should be always visible, never visible, or hidden until the user starts to use the keyboard.

gtk_xft_antialias?: number
gtk_xft_dpi?: number
gtk_xft_hinting?: number
gtk_xft_hintstyle?: string
gtk_xft_rgba?: string

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