[Github-comments] [geany/geany] Sidebar tab positions: Add left/right-vertical options (#2107)
Gregor Santner
notifications at xxxxx
Sun Sep 1 11:57:25 UTC 2019
@elextr @codebrainz
This code applies rotation accordingly and works for Geany-own tabs as well tabs inserted by plugins.
```
GtkNotebook *sidebarNotebook = GTK_NOTEBOOK(ui_lookup_widget(geany->main_widgets->window, "notebook3"));
for (GList *iterator = gtk_container_get_children(sidebarNotebook); iterator; iterator = iterator->next) {
GtkLabel *sidebarLabel = gtk_notebook_get_tab_label(sidebarNotebook, iterator->data);
gtk_label_set_angle(sidebarLabel, 90);
}
```
You can do what you want with that piece, public domain.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2107#issuecomment-526912686
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190901/7d4208b2/attachment.html>
More information about the Github-comments
mailing list