summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-page.c6
-rw-r--r--src/tab-page.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index c6e5edd..e6bb021 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -259,6 +259,12 @@ mq_tab_page_get_label(MqTabPage *tab_page)
return MQ_TAB_LABEL(tab_page->label);
}
+guint64
+mq_tab_page_get_id(MqTabPage *tab_page)
+{
+ return tab_page->id;
+}
+
guint
mq_tab_page_get_position(MqTabPage *tab_page)
{
diff --git a/src/tab-page.h b/src/tab-page.h
index c0c5612..cd47730 100644
--- a/src/tab-page.h
+++ b/src/tab-page.h
@@ -70,6 +70,9 @@ mq_tab_page_get_window(MqTabPage *tab_page);
MqTabLabel *
mq_tab_page_get_label(MqTabPage *tab_page);
+guint64
+mq_tab_page_get_id(MqTabPage *tab_page);
+
guint
mq_tab_page_get_position(MqTabPage *tab_page);