Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: CellAreaBoxMeta

[221:14] static extends: object

Generated metadata helpers for CellAreaBox class surfaces.

Methods

  • properties ()

    Returns property metadata for CellAreaBox.

    • @r A list.

class: CellAreaBox

[24:7] extends: object

A cell area that renders GtkCellRenderers into a row or a column The GtkCellAreaBox renders cell renderers into a row or a column depending on its GtkOrientation. GtkCellAreaBox uses a notion of packing. Packing refers to adding cell renderers with reference to a particular position in a GtkCellAreaBox. There are two reference positions: the start and the end of the box. When the GtkCellAreaBox is oriented in the %GTK_ORIENTATION_VERTICAL orientation, the start is defined as the top of the box and the end is defined as the bottom. In the %GTK_ORIENTATION_HORIZONTAL orientation start is defined as the left side and the end is defined as the right side. Alignments of GtkCellRenderers rendered in adjacent rows can be configured by configuring the GtkCellAreaBox align child cell property with gtk_cell_area_cell_set_property() or by specifying the "align" argument to gtk_cell_area_box_pack_start() and gtk_cell_area_box_pack_end().

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • CellAreaBox ()

    Creates a new GtkCellAreaBox.

  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asCellArea ()

    Wraps this handle as CellArea.

    • @r A CellArea object.
  • asBuildable ()

    Wraps this handle as Buildable.

    • @r A Buildable object.
  • asCellLayout ()

    Wraps this handle as CellLayout.

    • @r A CellLayout object.
  • asOrientable ()

    Wraps this handle as Orientable.

    • @r A Orientable object.
  • getProperty (string Name)

    Reads one generated property by name.

  • setProperty (string Name, Value)

    Writes one generated property by name.

  • setSpacing (int Value)

    The amount of space to reserve between cells.

    • @p Value is the new property value.
    • @r None.
  • get_spacing ()

    Gets the spacing added between cell renderers.

  • pack_end (object renderer, bool expand, bool align, bool fixed)

    Adds @renderer to @box, packed with reference to the end of @box. The

    • @renderer is packed after (away from end of) any other GtkCellRenderer packed with reference to the end of @box.
    • @p renderer is the GtkCellRenderer to add.
    • @p expand is whether @renderer should receive extra space when the area receives more than its natural size.
    • @p align is whether @renderer should be aligned in adjacent rows.
    • @p fixed is whether @renderer should have the same size in all rows.
    • @r None.
  • pack_start (object renderer, bool expand, bool align, bool fixed)

    Adds @renderer to @box, packed with reference to the start of @box. The

    • @renderer is packed after any other GtkCellRenderer packed with reference to the start of @box.
    • @p renderer is the GtkCellRenderer to add.
    • @p expand is whether @renderer should receive extra space when the area receives more than its natural size.
    • @p align is whether @renderer should be aligned in adjacent rows.
    • @p fixed is whether @renderer should have the same size in all rows.
    • @r None.
  • set_spacing (int spacing)

    Sets the spacing to add between cell renderers in @box.

    • @p spacing is the space to add between GtkCellRenderers.
    • @r None.