Class: GOffice::ActionComboStack

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

Instance Method Summary collapse

Instance Method Details

#pop(n) ⇒ nil

Shorten list act by removing n off the top (or fewer if the list is shorter)

Parameters:

  • n (Integer)

    count

Returns:

  • (nil)

#push(str, key) ⇒ nil

Parameters:

  • str (String)

    The label to push

  • key (GObject)

    a key value to id the pushed item

Returns:

  • (nil)

#selectionGObject

NOTE : see writeup in cb_combo_changed.

Returns:

  • (GObject)

    the key of the item last selected in one of the proxies. Yes this interface is terrible, but we can't return the key in the activate signal.

#truncate(n) ⇒ nil

Ensure that list act is no longer than n, dropping any extra off the bottom.

Parameters:

  • n (Integer)

    maximum length

Returns:

  • (nil)