[Geany-devel] Detachable Tab

David Gomes davidrafagomes at xxxxx
Sun Dec 18 15:06:34 UTC 2011


Hey, I'm David, a programmer and I wanted to make Geany tabs detachable. So
I went added and got the source (from Github), and added a few lines in the
file notebook.c:

Line 478
  /* enable tab drag and drop */
  gtk_notebook_set_tab_detachable(GTK_NOTEBOOK(main_widgets.notebook),
page, TRUE);
  gtk_notebook_set_group_name(GTK_NOTEBOOK(main_widgets.notebook),
"geany_tabs");
  gtk_notebook_set_group_id(GTK_NOTEBOOK(main_widgets.notebook), 1);

However, it didn't really work, the tabs were not detachable, I tried
different IDs too.

What do you think? Thanks.

Also hello :) I feel like the mail isn't lovable enough.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20111218/5bcdfacc/attachment.html>


More information about the Devel mailing list