Class: Gtk::BookmarkList

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initialize(filename, attributes) ⇒ Gtk::BookmarkList

Creates a new GtkBookmarkList with the given attributes.

Parameters:

  • filename (Gtk::filename)

    The bookmark file to load

  • attributes (String)

    The attributes to query

Instance Method Details

#attributesString

The attributes to query.

Returns:

  • (String)

    attributes

#attributes=(attributes) ⇒ String

The attributes to query.

Parameters:

  • attributes (String)

Returns:

  • (String)

    attributes

  • (String)

    attributes

#filenameString

The bookmark file to load.

Returns:

  • (String)

    filename

#filename=(filename) ⇒ String

The bookmark file to load.

Parameters:

  • filename (String)

Returns:

  • (String)

    filename

  • (String)

    filename

#io_priorityInteger

Priority used when loading.

Returns:

  • (Integer)

    io-priority

#io_priority=(io_priority) ⇒ Integer

Priority used when loading.

Parameters:

  • io_priority (Integer)

Returns:

  • (Integer)

    io-priority

  • (Integer)

    io-priority

#is_loadingBoolean

Returns true if the files are currently being loaded.

Files will be added to self from time to time while loading is going on. The order in which are added is undefined and may change in between runs.

Returns:

  • (Boolean)

    true if self is loading

#item_typeGLib::Type

The type of items. See [methodGio.ListModel.get_item_type].

Returns:

  • (GLib::Type)

    item-type

#item_type=(item_type) ⇒ GLib::Type

The type of items. See [methodGio.ListModel.get_item_type].

Parameters:

  • item_type (GLib::Type)

Returns:

  • (GLib::Type)

    item-type

  • (GLib::Type)

    item-type

#loading=(loading) ⇒ Boolean

true if files are being loaded.

Parameters:

  • loading (Boolean)

Returns:

  • (Boolean)

    loading

  • (Boolean)

    loading

#loading?Boolean

true if files are being loaded.

Returns:

  • (Boolean)

    loading

#n_itemsInteger

The number of items. See [methodGio.ListModel.get_n_items].

Returns:

  • (Integer)

    n-items

#n_items=(n_items) ⇒ Integer

The number of items. See [methodGio.ListModel.get_n_items].

Parameters:

  • n_items (Integer)

Returns:

  • (Integer)

    n-items

  • (Integer)

    n-items