Class: Gtk::BuilderListItemFactory

Inherits:
ListItemFactory show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initialize(scope, resource_path) ⇒ Gtk::ListItemFactory

Creates a new GtkBuilderListItemFactory that instantiates widgets using data read from the given resource_path to pass to GtkBuilder.

Parameters:

  • scope (Gtk::BuilderScope)

    A scope to use when instantiating

  • resource_path (String)

    valid path to a resource that contains the data

Instance Method Details

#bytesGLib::Bytes

GBytes containing the UI definition.

Returns:

  • (GLib::Bytes)

    bytes

#bytes=(bytes) ⇒ GLib::Bytes

GBytes containing the UI definition.

Parameters:

  • bytes (GLib::Bytes)

Returns:

  • (GLib::Bytes)

    bytes

  • (GLib::Bytes)

    bytes

#resourceString

Path of the resource containing the UI definition.

Returns:

  • (String)

    resource

#resource=(resource) ⇒ String

Path of the resource containing the UI definition.

Parameters:

  • resource (String)

Returns:

  • (String)

    resource

  • (String)

    resource

#scopeGtk::BuilderScope

GtkBuilderScope to use when instantiating listitems

Returns:

#scope=(scope) ⇒ Gtk::BuilderScope

GtkBuilderScope to use when instantiating listitems

Parameters:

Returns: