🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by saito Sat, 10 Oct 2026 18:28
tablelist question
#29
Author: saito
Date: Sat, 10 Oct 2026 18:28
8 lines
1460 bytes
Is there a way to recreate a tablelist widget to match its previous 
settings exactly? In this context, this includes horizontal and vertical 
positioning within the scrollbars, any sorting by the columns, label 
sort decorations, etc. The data remains the same, the user just wants to 
avoid going through the same steps manually.


Re: tablelist question
#31
Author: nemethi
Date: Sun, 11 Oct 2026 14:07
18 lines
1935 bytes
Am 10.10.26 um 20:28 schrieb saito:
> Is there a way to recreate a tablelist widget to match its previous 
> settings exactly? In this context, this includes horizontal and vertical 
> positioning within the scrollbars, any sorting by the columns, label 
> sort decorations, etc. The data remains the same, the user just wants to 
> avoid going through the same steps manually.

You can get a complete information about the sorting (including the sort 
arrows) with the aid of the sortcolumn, sortcolumnlist, sortorder, and 
sortorderlist subcommands.  To restore the sorting, use the sortbycolumn 
and/or sortbycolumnlist subcommands.

To query and restore the horizontal/vertical view (i.e., the positioning 
within the horizontal/vertical scrollbar), use the xview/yview and 
"xview/yview moveto" subcommands.

-- 
Csaba Nemethi  https://www.nemethi.de  mailto:csaba.nemethi@t-online.de
Re: tablelist question
#32
Author: saito
Date: Sun, 11 Oct 2026 18:34
13 lines
1782 bytes
On 10/11/2026 10:07 AM, nemethi wrote:
> 
> You can get a complete information about the sorting (including the sort 
> arrows) with the aid of the sortcolumn, sortcolumnlist, sortorder, and 
> sortorderlist subcommands.  To restore the sorting, use the sortbycolumn 
> and/or sortbycolumnlist subcommands.
> 
> To query and restore the horizontal/vertical view (i.e., the positioning 
> within the horizontal/vertical scrollbar), use the xview/yview and 
> "xview/yview moveto" subcommands.
> 

Thank you as always!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads