mteb/BrightProStackoverflowRetrieval huggingface dataset:
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Window ](class.Window.html)

#####  Properties

[ accept-focus ](property.Window.accept-focus.html) [ application
](property.Window.application.html) [ attached-to ](property.Window.attached-
to.html) [ decorated ](property.Window.decorated.html) [ default-height
](property.Window.default-height.html) [ default-width
](property.Window.default-width.html) [ deletable
](property.Window.deletable.html) [ destroy-with-parent
](property.Window.destroy-with-parent.html) [ focus-on-map
](property.Window.focus-on-map.html) [ focus-visible ](property.Window.focus-
visible.html) [ gravity ](property.Window.gravity.html) [ has-resize-grip
](property.Window.has-resize-grip.html) [ has-toplevel-focus
](property.Window.has-toplevel-focus.html) [ hide-titlebar-when-maximized
](property.Window.hide-titlebar-when-maximized.html) [ icon
](property.Window.icon.html) [ icon-name ](property.Window.icon-name.html) [
is-active ](property.Window.is-active.html) [ is-maximized
](property.Window.is-maximized.html) [ mnemonics-visible
](property.Window.mnemonics-visible.html) [ modal
](property.Window.modal.html) [ resizable ](property.Window.resizable.html) [
resize-grip-visible ](property.Window.resize-grip-visible.html) [ role
](property.Window.role.html) [ screen ](property.Window.screen.html) [ skip-
pager-hint ](property.Window.skip-pager-hint.html) [ skip-taskbar-hint
](property.Window.skip-taskbar-hint.html) [ startup-id
](property.Window.startup-id.html) [ title ](property.Window.title.html) [
transient-for ](property.Window.transient-for.html) [ type
](property.Window.type.html) [ type-hint ](property.Window.type-hint.html) [
urgency-hint ](property.Window.urgency-hint.html) [ window-position
](property.Window.window-position.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ Window ](class.Window.html) :focus-on-map

since: 2.6

####  Declaration

    
    
    property focus-on-map: gboolean [ read, write ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkwindow.c#L960 "go
to source location")

Whether the window should receive the input focus when mapped.

Type: ` gboolean `

Available since: 2.6

Getter method  |  [ ` gtk_window_get_focus_on_map() ` ](method.Window.get_focus_on_map.html)  
---|---  
Setter method  |  [ ` gtk_window_set_focus_on_map() ` ](method.Window.set_focus_on_map.html)  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ MessageDialog ](class.MessageDialog.html)

#####  Properties

[ buttons ](property.MessageDialog.buttons.html) [ image
](property.MessageDialog.image.html) [ message-area
](property.MessageDialog.message-area.html) [ message-type
](property.MessageDialog.message-type.html) [ secondary-text
](property.MessageDialog.secondary-text.html) [ secondary-use-markup
](property.MessageDialog.secondary-use-markup.html) [ text
](property.MessageDialog.text.html) [ use-markup ](property.MessageDialog.use-
markup.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ MessageDialog ](class.MessageDialog.html) :message-
area

since: 2.22

####  Declaration

    
    
    property message-area: Gtk.Widget [ read ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkmessagedialog.c#L282
"go to source location")

The ` GtkBox ` that corresponds to the message area of this dialog. See `
gtk_message_dialog_get_message_area() ` for a detailed description of this
area.

Type: [ ` GtkWidget ` ](class.Widget.html)

Available since: 2.22

Getter method  |  [ ` gtk_message_dialog_get_message_area() ` ](method.MessageDialog.get_message_area.html)  
---|---  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **no**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ MessageDialog ](class.MessageDialog.html)

#####  Properties

[ buttons ](property.MessageDialog.buttons.html) [ image
](property.MessageDialog.image.html) [ message-area
](property.MessageDialog.message-area.html) [ message-type
](property.MessageDialog.message-type.html) [ secondary-text
](property.MessageDialog.secondary-text.html) [ secondary-use-markup
](property.MessageDialog.secondary-use-markup.html) [ text
](property.MessageDialog.text.html) [ use-markup ](property.MessageDialog.use-
markup.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ MessageDialog ](class.MessageDialog.html) :buttons

####  Declaration

    
    
    property buttons: Gtk.ButtonsType [ write, construct-only ]

####  Description

No description available.

Type: [ ` GtkButtonsType ` ](enum.ButtonsType.html)

####  Flags

Readable  |  **no**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **yes**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ MessageDialog ](class.MessageDialog.html)

#####  Methods

[ format_secondary_markup ](method.MessageDialog.format_secondary_markup.html)
[ format_secondary_text ](method.MessageDialog.format_secondary_text.html) [
get_image ](method.MessageDialog.get_image.html) [ get_message_area
](method.MessageDialog.get_message_area.html) [ set_image
](method.MessageDialog.set_image.html) [ set_markup
](method.MessageDialog.set_markup.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Method

#  [ Gtk ](index.html) [ MessageDialog ](class.MessageDialog.html) get_image

deprecated: 3.12  since: 2.14

####  Declaration  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkmessagedialog.h#L119
"go to source location")

    
    
    GtkWidget*
    gtk_message_dialog_get_image (
      GtkMessageDialog* dialog
    )
    

`

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkmessagedialog.c#L756
"go to source location")

Gets the dialog’s image.

Available since: 2.14

Deprecated since: 3.12

Use ` GtkDialog ` for dialogs with images.

Gets property  |  [ ` Gtk.MessageDialog:image ` ](property.MessageDialog.image.html)  
---|---  
  
####  Return value

_Type:_ [ ` GtkWidget ` ](class.Widget.html)

The dialog’s image.

The returned data is owned by the instance.  
---
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ FileChooser ](iface.FileChooser.html)

#####  Properties

[ action ](property.FileChooser.action.html) [ create-folders
](property.FileChooser.create-folders.html) [ do-overwrite-confirmation
](property.FileChooser.do-overwrite-confirmation.html) [ extra-widget
](property.FileChooser.extra-widget.html) [ filter
](property.FileChooser.filter.html) [ local-only ](property.FileChooser.local-
only.html) [ preview-widget ](property.FileChooser.preview-widget.html) [
preview-widget-active ](property.FileChooser.preview-widget-active.html) [
select-multiple ](property.FileChooser.select-multiple.html) [ show-hidden
](property.FileChooser.show-hidden.html) [ use-preview-label
](property.FileChooser.use-preview-label.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ FileChooser ](iface.FileChooser.html) :local-only

####  Declaration

    
    
    property local-only: gboolean [ read, write ]

####  Description

No description available.

Type: ` gboolean `

Getter method  |  [ ` gtk_file_chooser_get_local_only() ` ](method.FileChooser.get_local_only.html)  
---|---  
Setter method  |  [ ` gtk_file_chooser_set_local_only() ` ](method.FileChooser.set_local_only.html)  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Dialog ](class.Dialog.html)

#####  Methods

[ add_action_widget ](method.Dialog.add_action_widget.html) [ add_button
](method.Dialog.add_button.html) [ add_buttons
](method.Dialog.add_buttons.html) [ get_action_area
](method.Dialog.get_action_area.html) [ get_content_area
](method.Dialog.get_content_area.html) [ get_header_bar
](method.Dialog.get_header_bar.html) [ get_response_for_widget
](method.Dialog.get_response_for_widget.html) [ get_widget_for_response
](method.Dialog.get_widget_for_response.html) [ response
](method.Dialog.response.html) [ run ](method.Dialog.run.html) [
set_alternative_button_order
](method.Dialog.set_alternative_button_order.html) [
set_alternative_button_order_from_array
](method.Dialog.set_alternative_button_order_from_array.html) [
set_default_response ](method.Dialog.set_default_response.html) [
set_response_sensitive ](method.Dialog.set_response_sensitive.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Method

#  [ Gtk ](index.html) [ Dialog ](class.Dialog.html) add_buttons

####  Declaration  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkdialog.h#L164 "go
to source location")

    
    
    void
    gtk_dialog_add_buttons (
      GtkDialog* dialog,
      const gchar* first_button_text,
      ...
    )
    

`

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkdialog.c#L1116 "go
to source location")

Adds more buttons, same as calling ` gtk_dialog_add_button() ` repeatedly. The
variable argument list should be ` NULL ` -terminated as with
gtk_dialog_new_with_buttons(). Each button must have both text and response
ID  .

This method is not directly available to language bindings.

####  Parameters

` first_button_text `

    

_Type:_ ` const gchar* `

Button text.

The data is owned by the caller of the method.  
---  
The value is a NUL terminated UTF-8 string.  
` ... `

    

_Type:_ ` `

Response  ID  for first button, then more text-response_id pairs.
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ MessageDialog ](class.MessageDialog.html)

#####  Properties

[ buttons ](property.MessageDialog.buttons.html) [ image
](property.MessageDialog.image.html) [ message-area
](property.MessageDialog.message-area.html) [ message-type
](property.MessageDialog.message-type.html) [ secondary-text
](property.MessageDialog.secondary-text.html) [ secondary-use-markup
](property.MessageDialog.secondary-use-markup.html) [ text
](property.MessageDialog.text.html) [ use-markup ](property.MessageDialog.use-
markup.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ MessageDialog ](class.MessageDialog.html) :text

since: 2.10

####  Declaration

    
    
    property text: utf8 [ read, write ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkmessagedialog.c#L203
"go to source location")

The primary text of the message dialog. If the dialog has a secondary text,
this will appear as the title.

Type: ` gchar* `

Available since: 2.10

####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Widget ](class.Widget.html)

#####  Properties

[ app-paintable ](property.Widget.app-paintable.html) [ can-default
](property.Widget.can-default.html) [ can-focus ](property.Widget.can-
focus.html) [ composite-child ](property.Widget.composite-child.html) [
double-buffered ](property.Widget.double-buffered.html) [ events
](property.Widget.events.html) [ expand ](property.Widget.expand.html) [
focus-on-click ](property.Widget.focus-on-click.html) [ halign
](property.Widget.halign.html) [ has-default ](property.Widget.has-
default.html) [ has-focus ](property.Widget.has-focus.html) [ has-tooltip
](property.Widget.has-tooltip.html) [ height-request ](property.Widget.height-
request.html) [ hexpand ](property.Widget.hexpand.html) [ hexpand-set
](property.Widget.hexpand-set.html) [ is-focus ](property.Widget.is-
focus.html) [ margin ](property.Widget.margin.html) [ margin-bottom
](property.Widget.margin-bottom.html) [ margin-end ](property.Widget.margin-
end.html) [ margin-left ](property.Widget.margin-left.html) [ margin-right
](property.Widget.margin-right.html) [ margin-start ](property.Widget.margin-
start.html) [ margin-top ](property.Widget.margin-top.html) [ name
](property.Widget.name.html) [ no-show-all ](property.Widget.no-show-all.html)
[ opacity ](property.Widget.opacity.html) [ parent
](property.Widget.parent.html) [ receives-default ](property.Widget.receives-
default.html) [ scale-factor ](property.Widget.scale-factor.html) [ sensitive
](property.Widget.sensitive.html) [ style ](property.Widget.style.html) [
tooltip-markup ](property.Widget.tooltip-markup.html) [ tooltip-text
](property.Widget.tooltip-text.html) [ valign ](property.Widget.valign.html) [
vexpand ](property.Widget.vexpand.html) [ vexpand-set
](property.Widget.vexpand-set.html) [ visible ](property.Widget.visible.html)
[ width-request ](property.Widget.width-request.html) [ window
](property.Widget.window.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ Widget ](class.Widget.html) :hexpand-set

since: 3.0

####  Declaration

    
    
    property hexpand-set: gboolean [ read, write ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkwidget.c#L1552 "go
to source location")

Whether to use the ` GtkWidget:hexpand ` property. See
gtk_widget_get_hexpand_set().

Type: ` gboolean `

Available since: 3.0

Getter method  |  [ ` gtk_widget_get_hexpand_set() ` ](method.Widget.get_hexpand_set.html)  
---|---  
Setter method  |  [ ` gtk_widget_set_hexpand_set() ` ](method.Widget.set_hexpand_set.html)  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Window ](class.Window.html)

#####  Properties

[ accept-focus ](property.Window.accept-focus.html) [ application
](property.Window.application.html) [ attached-to ](property.Window.attached-
to.html) [ decorated ](property.Window.decorated.html) [ default-height
](property.Window.default-height.html) [ default-width
](property.Window.default-width.html) [ deletable
](property.Window.deletable.html) [ destroy-with-parent
](property.Window.destroy-with-parent.html) [ focus-on-map
](property.Window.focus-on-map.html) [ focus-visible ](property.Window.focus-
visible.html) [ gravity ](property.Window.gravity.html) [ has-resize-grip
](property.Window.has-resize-grip.html) [ has-toplevel-focus
](property.Window.has-toplevel-focus.html) [ hide-titlebar-when-maximized
](property.Window.hide-titlebar-when-maximized.html) [ icon
](property.Window.icon.html) [ icon-name ](property.Window.icon-name.html) [
is-active ](property.Window.is-active.html) [ is-maximized
](property.Window.is-maximized.html) [ mnemonics-visible
](property.Window.mnemonics-visible.html) [ modal
](property.Window.modal.html) [ resizable ](property.Window.resizable.html) [
resize-grip-visible ](property.Window.resize-grip-visible.html) [ role
](property.Window.role.html) [ screen ](property.Window.screen.html) [ skip-
pager-hint ](property.Window.skip-pager-hint.html) [ skip-taskbar-hint
](property.Window.skip-taskbar-hint.html) [ startup-id
](property.Window.startup-id.html) [ title ](property.Window.title.html) [
transient-for ](property.Window.transient-for.html) [ type
](property.Window.type.html) [ type-hint ](property.Window.type-hint.html) [
urgency-hint ](property.Window.urgency-hint.html) [ window-position
](property.Window.window-position.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ Window ](class.Window.html) :startup-id

since: 2.12

####  Declaration

    
    
    property startup-id: utf8 [ write ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkwindow.c#L765 "go
to source location")

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

Type: ` gchar* `

Available since: 2.12

Setter method  |  [ ` gtk_window_set_startup_id() ` ](method.Window.set_startup_id.html)  
---|---  
  
####  Flags

Readable  |  **no**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Window ](class.Window.html)

#####  Properties

[ accept-focus ](property.Window.accept-focus.html) [ application
](property.Window.application.html) [ attached-to ](property.Window.attached-
to.html) [ decorated ](property.Window.decorated.html) [ default-height
](property.Window.default-height.html) [ default-width
](property.Window.default-width.html) [ deletable
](property.Window.deletable.html) [ destroy-with-parent
](property.Window.destroy-with-parent.html) [ focus-on-map
](property.Window.focus-on-map.html) [ focus-visible ](property.Window.focus-
visible.html) [ gravity ](property.Window.gravity.html) [ has-resize-grip
](property.Window.has-resize-grip.html) [ has-toplevel-focus
](property.Window.has-toplevel-focus.html) [ hide-titlebar-when-maximized
](property.Window.hide-titlebar-when-maximized.html) [ icon
](property.Window.icon.html) [ icon-name ](property.Window.icon-name.html) [
is-active ](property.Window.is-active.html) [ is-maximized
](property.Window.is-maximized.html) [ mnemonics-visible
](property.Window.mnemonics-visible.html) [ modal
](property.Window.modal.html) [ resizable ](property.Window.resizable.html) [
resize-grip-visible ](property.Window.resize-grip-visible.html) [ role
](property.Window.role.html) [ screen ](property.Window.screen.html) [ skip-
pager-hint ](property.Window.skip-pager-hint.html) [ skip-taskbar-hint
](property.Window.skip-taskbar-hint.html) [ startup-id
](property.Window.startup-id.html) [ title ](property.Window.title.html) [
transient-for ](property.Window.transient-for.html) [ type
](property.Window.type.html) [ type-hint ](property.Window.type-hint.html) [
urgency-hint ](property.Window.urgency-hint.html) [ window-position
](property.Window.window-position.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ Window ](class.Window.html) :is-maximized

####  Declaration

    
    
    property is-maximized: gboolean [ read ]

####  Description

No description available.

Type: ` gboolean `

Getter method  |  [ ` gtk_window_is_maximized() ` ](method.Window.is_maximized.html)  
---|---  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **no**  
Construct  |  **no**  
Construct only  |  **no**
![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Window ](class.Window.html)

#####  Properties

[ accept-focus ](property.Window.accept-focus.html) [ application
](property.Window.application.html) [ attached-to ](property.Window.attached-
to.html) [ decorated ](property.Window.decorated.html) [ default-height
](property.Window.default-height.html) [ default-width
](property.Window.default-width.html) [ deletable
](property.Window.deletable.html) [ destroy-with-parent
](property.Window.destroy-with-parent.html) [ focus-on-map
](property.Window.focus-on-map.html) [ focus-visible ](property.Window.focus-
visible.html) [ gravity ](property.Window.gravity.html) [ has-resize-grip
](property.Window.has-resize-grip.html) [ has-toplevel-focus
](property.Window.has-toplevel-focus.html) [ hide-titlebar-when-maximized
](property.Window.hide-titlebar-when-maximized.html) [ icon
](property.Window.icon.html) [ icon-name ](property.Window.icon-name.html) [
is-active ](property.Window.is-active.html) [ is-maximized
](property.Window.is-maximized.html) [ mnemonics-visible
](property.Window.mnemonics-visible.html) [ modal
](property.Window.modal.html) [ resizable ](property.Window.resizable.html) [
resize-grip-visible ](property.Window.resize-grip-visible.html) [ role
](property.Window.role.html) [ screen ](property.Window.screen.html) [ skip-
pager-hint ](property.Window.skip-pager-hint.html) [ skip-taskbar-hint
](property.Window.skip-taskbar-hint.html) [ startup-id
](property.Window.startup-id.html) [ title ](property.Window.title.html) [
transient-for ](property.Window.transient-for.html) [ type
](property.Window.type.html) [ type-hint ](property.Window.type-hint.html) [
urgency-hint ](property.Window.urgency-hint.html) [ window-position
](property.Window.window-position.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Property

#  [ Gtk ](index.html) [ Window ](class.Window.html) :focus-visible

since: 2.20

####  Declaration

    
    
    property focus-visible: gboolean [ read, write ]

####  Description  [ [src]
](https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkwindow.c#L864 "go
to source location")

Whether ‘focus rectangles’ are currently visible in this window.

This property is maintained by  GTK  \+ based on user input and should not be
set by applications.

Type: ` gboolean `

Available since: 2.20

Getter method  |  [ ` gtk_window_get_focus_visible() ` ](method.Window.get_focus_visible.html)  
---|---  
Setter method  |  [ ` gtk_window_set_focus_visible() ` ](method.Window.set_focus_visible.html)  
  
####  Flags

Readable  |  **yes**  
---|---  
Writable  |  **yes**  
Construct  |  **no**  
Construct only  |  **no**