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

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Buildable ](iface.Buildable.html)

#####  Methods

[ add_child ](method.Buildable.add_child.html) [ construct_child
](method.Buildable.construct_child.html) [ custom_finished
](method.Buildable.custom_finished.html) [ custom_tag_end
](method.Buildable.custom_tag_end.html) [ custom_tag_start
](method.Buildable.custom_tag_start.html) [ get_internal_child
](method.Buildable.get_internal_child.html) [ get_name
](method.Buildable.get_name.html) [ parser_finished
](method.Buildable.parser_finished.html) [ set_buildable_property
](method.Buildable.set_buildable_property.html) [ set_name
](method.Buildable.set_name.html)

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

###  Method

#  [ Gtk ](index.html) [ Buildable ](iface.Buildable.html) custom_finished

since: 2.12

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

    
    
    void
    gtk_buildable_custom_finished (
      GtkBuildable* buildable,
      GtkBuilder* builder,
      GObject* child,
      const gchar* tagname,
      gpointer data
    )
    

`

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

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

Available since: 2.12

####  Parameters

` builder `

    

_Type:_ [ ` GtkBuilder ` ](class.Builder.html)

A ` GtkBuilder ` .

The data is owned by the caller of the method.  
---  
` child `

    

_Type:_ [ ` GObject ` ](javascript:void\(0\))

Child object or ` NULL ` for non-child tags.

The argument can be ` NULL ` .  
---  
The data is owned by the caller of the method.  
` tagname `

    

_Type:_ ` const gchar* `

The name of the tag.

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

    

_Type:_ ` gpointer `

User data created in custom_tag_start.

The argument can be ` NULL ` .  
---  
The data is owned by the caller of the method.
![](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) :composite-child

####  Declaration

    
    
    property composite-child: gboolean [ read ]

####  Description

No description available.

Type: ` gboolean `

####  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

[ 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_action_widget

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

    
    
    void
    gtk_dialog_add_action_widget (
      GtkDialog* dialog,
      GtkWidget* child,
      gint response_id
    )
    

`

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

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 `

    

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

An activatable widget.

The data is owned by the caller of the method.  
---  
` response_id `

    

_Type:_ ` gint `

Response  ID  for ` child ` .
![](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) :app-paintable

####  Declaration

    
    
    property app-paintable: gboolean [ read, write ]

####  Description

No description available.

Type: ` gboolean `

Getter method  |  [ ` gtk_widget_get_app_paintable() ` ](method.Widget.get_app_paintable.html)  
---|---  
Setter method  |  [ ` gtk_widget_set_app_paintable() ` ](method.Widget.set_app_paintable.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) :skip-pager-hint

####  Declaration

    
    
    property skip-pager-hint: gboolean [ read, write ]

####  Description

No description available.

Type: ` gboolean `

Getter method  |  [ ` gtk_window_get_skip_pager_hint() ` ](method.Window.get_skip_pager_hint.html)  
---|---  
Setter method  |  [ ` gtk_window_set_skip_pager_hint() ` ](method.Window.set_skip_pager_hint.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

[ Buildable ](iface.Buildable.html)

#####  Methods

[ add_child ](method.Buildable.add_child.html) [ construct_child
](method.Buildable.construct_child.html) [ custom_finished
](method.Buildable.custom_finished.html) [ custom_tag_end
](method.Buildable.custom_tag_end.html) [ custom_tag_start
](method.Buildable.custom_tag_start.html) [ get_internal_child
](method.Buildable.get_internal_child.html) [ get_name
](method.Buildable.get_name.html) [ parser_finished
](method.Buildable.parser_finished.html) [ set_buildable_property
](method.Buildable.set_buildable_property.html) [ set_name
](method.Buildable.set_name.html)

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

###  Method

#  [ Gtk ](index.html) [ Buildable ](iface.Buildable.html) construct_child

since: 2.12

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

    
    
    GObject*
    gtk_buildable_construct_child (
      GtkBuildable* buildable,
      GtkBuilder* builder,
      const gchar* name
    )
    

`

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

Constructs a child of ` buildable ` with the name ` name ` .

` GtkBuilder ` calls this function if a “constructor” has been specified in
the  UI  definition.

Available since: 2.12

####  Parameters

` builder `

    

_Type:_ [ ` GtkBuilder ` ](class.Builder.html)

` GtkBuilder ` used to construct this object.

The data is owned by the caller of the method.  
---  
` name `

    

_Type:_ ` const gchar* `

Name of child to construct.

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

_Type:_ [ ` GObject ` ](javascript:void\(0\))

The constructed child.

The caller of the method takes ownership of the returned data, and is
responsible for freeing it.  
---
![](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) :margin

since: 3.0

####  Declaration

    
    
    property margin: int [ read, write ]

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

Sets all four sides’ margin at once. If read, returns max margin on any side.

Type: ` gint `

Available since: 3.0

####  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) :has-resize-grip

deprecated: 3.14  since: 3.0

####  Declaration

    
    
    property has-resize-grip: gboolean [ read, write ]

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

Whether the window has a corner resize grip.

Note that the resize grip is only shown if the window is actually resizable
and not maximized. Use ` GtkWindow:resize-grip-visible ` to find out if the
resize grip is currently shown.

Type: ` gboolean `

Available since: 3.0

Deprecated since: 3.14

Resize grips have been removed.

Getter method  |  [ ` gtk_window_get_has_resize_grip() ` ](method.Window.get_has_resize_grip.html)  
---|---  
Setter method  |  [ ` gtk_window_set_has_resize_grip() ` ](method.Window.set_has_resize_grip.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

[ 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) :valign

since: 3.0

####  Declaration

    
    
    property valign: Gtk.Align [ read, write ]

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

How to distribute vertical space if widget gets extra space, see ` GtkAlign `
.

Type: [ ` GtkAlign ` ](enum.Align.html)

Available since: 3.0

Getter method  |  [ ` gtk_widget_get_valign() ` ](method.Widget.get_valign.html)  
---|---  
Setter method  |  [ ` gtk_widget_set_valign() ` ](method.Widget.set_valign.html)  
  
####  Flags

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