diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-28 14:59:16 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-28 14:59:16 (EDT) |
commit | 73eba9d25be572255997d2ea61d798e0d547b069 (patch) | |
tree | 316fdf1d454a8667d69aff8e8e8e393e8fe7c39e | |
parent | 88225fd9e886d1b1a92486ee964e0897e4fb6d8f (diff) | |
download | marquee-73eba9d25be572255997d2ea61d798e0d547b069.zip marquee-73eba9d25be572255997d2ea61d798e0d547b069.tar.gz marquee-73eba9d25be572255997d2ea61d798e0d547b069.tar.bz2 |
mq_tab_get_position(): New function
-rw-r--r-- | src/tab.c | 6 | ||||
-rw-r--r-- | src/tab.h | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -478,6 +478,12 @@ mq_tab_update_position(MqTab *tab, guint position) update_tab_label(tab); } +guint +mq_tab_get_position(MqTab *tab) +{ + return tab->position; +} + const gchar * mq_tab_get_title(MqTab *tab) { @@ -65,6 +65,9 @@ mq_tab_new_root(MqWindow *window); void mq_tab_update_position(MqTab *tab, guint position); +guint +mq_tab_get_position(MqTab *tab); + const gchar * mq_tab_get_title(MqTab *tab); |