GOffice.ActionComboStack
- Subclasses:
None
Class Details
-
class GOffice.ActionComboStack(*args, **kwargs)
- Bases:
Gtk.Action
- Abstract:
No
-
pop(n)
- Parameters:
n (int
) – GOffice.count
Shorten list self by removing n off the top (or fewer if the list is
shorter)
-
push(str, key)
- Parameters:
-
-
selection()
- Returns:
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.
NOTE: see writeup in cb_combo_changed.
- Return type:
object
or None
-
truncate(n)
- Parameters:
n (int
) – maximum length
Ensure that list self is no longer than n, dropping any extra off the
bottom.