Gjsify LogoGjsify Logo

The #GtkBoxChild holds a child widget of #GtkBox and describes how the child is to be packed into the #GtkBox. All fields of this #GtkBoxChild should be considered read-only and they should never be set directly by an application. Use gtk_box_query_child_packing() and gtk_box_set_child_packing() to query and set the #GtkBoxChild.padding, #GtkBoxChild.expand, #GtkBoxChild.fill and #GtkBoxChild.pack fields.

record

Hierarchy

  • BoxChild

Index

Constructors

Properties

expand: number

flag indicates whether extra space should be given to this child. Any extra space given to the parent GtkBox is divided up among all children with this attribute set to %TRUE; set when packed, %TRUE by default.

field
fill: number

flag indicates whether any extra space given to this child due to its expand attribute being set is actually allocated to the child, rather than being used as padding around the widget; set when packed, %TRUE by default.

field
isSecondary: number

%TRUE if the child is secondary

field
pack: number

one of #GtkPackType indicating whether the child is packed with reference to the start (top/left) or end (bottom/right) of the GtkBox.

field
padding: number

the number of extra pixels to put between this child and its neighbors, set when packed, zero by default.

field
widget: Gtk.Widget

the child widget, packed into the GtkBox.

field
name: 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