[Geany-devel] draggable tabs - current state?

Matthew Brush mbrush at xxxxx
Sat Jul 14 11:55:51 UTC 2012


On 12-07-14 04:48 AM, Matthew Brush wrote:
> On 12-07-14 03:59 AM, Thomas Martitz wrote:
>> Am 14.07.2012 12:39, schrieb Lex Trotman:
>>> On 14 July 2012 20:21, Thomas Martitz
>>> <thomas.martitz at student.htw-berlin.de> wrote:
>>>> Am 14.07.2012 04:20, schrieb Lex Trotman:
>>>>
>>>>> On 14 July 2012 07:07, Sean Felipe Wolfe <ether.joe at gmail.com> wrote:
>>>>>> I'd like to be able to have 2-3 columns of tabs and be able to drag +
>>>>>> rearrange, something like Eclipse's draggable tab setup -- one of the
>>>>>> few things I like about Eclipse.
>>>>>>
>>>>>> I assume this is non-trivial ... how horribly difficult would it be?
>>>>> Multiple columns/rows of tabs, how hard can it be?
>>>>>
>>>>> @#&* hard, AFAICT you will have to change GTK, not Geany.
>>>>>
>>>>> Note drag re-ordering already works.
>>>>>
>>>>> Cheers
>>>>> Lex
>>>>
>>>>
>>>> Can I at least have multiple sidebars with tabs being draggable
>>>> between them
>>>> (or make the message window a sidebar) ? :)
>>> Hi Thomas,
>>>
>>> Well, tabs are part of the GTK notebook that the edit window is in, so
>>> to put them in a sidebar you would be re-implementing part of GTK,
>>> maybe instead look at making the document sidebar re-orderable instead
>>> of sorted?
>>>
>
> GTK+ allows any tab to be dragged to any notebook as long as they have
> the same group id/name[1]. The only real limitation is the assumption
> Geany currently may make about certain tabs being in certain notebooks.
>
>>>
>>
>> I didn't mean document tabs. I meant the symbols, files, etc tabs in the
>> side bar which should be draggable to a second sidebar on the right
>> (basically split the current sidebar into two with the editor in the
>> middle).
>>
>
> +1.
>
> Like this: http://tinypic.com/r/dnoto8/6
>
> Where you can choose between any of the layouts (with or without
> "splitview" enabled) and drag tabs between any same colourednotebooks.
> All notebooks can be hidden except for one of the blue document
> notebooks (the main document notebook).
>

You can imagine also how this would be useful for plugins such as 
Webhelper or MultiTerm (or the builtin terminal). Like this:

http://tinypic.com/r/2d1px90/6

Cheers,
Matthew Brush



More information about the Devel mailing list