From c9bda06dfddd4cdd28517ff02df5c556fc70da0f Mon Sep 17 00:00:00 2001 From: Thaer Razeq Date: Wed, 1 Mar 2017 11:23:19 -0600 Subject: - `tab_changed` signal emits only by selecting a different tab. - Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again. - Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index. - Add documentation for the added function and signals. Fix a typo too. --- doc/base/classes.xml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'doc/base') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4e4fb3cd23..5ebb712360 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -40626,9 +40626,16 @@ - Return the current tab that is being showed. + Return the current tab index that is being shown. + + + + + Return the previous tab index that was being shown. + + @@ -40654,6 +40661,7 @@ + Return the current tab control that is being shown. @@ -40735,7 +40743,14 @@ - Emitted when the current tab changes. + Emitted only when the current tab changes. + + + + + + + Emitted when a tab is being selected, even if it is the same tab. -- cgit v1.2.3