how to TAB select into an <edit> and start at the top...?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

how to TAB select into an <edit> and start at the top...?

#1 Post by sc0ttman »

how to TAB select into an <edit> and start at the top...?

When I use TAB to move into an <edit> widget in a gtkdialog GUI, I am always taken to the bottom of the text... this is annoying, especially when the text is long ....


.. So, how do I TAB into an <edit> box and automatically start with my text cursor at the top, on the first line, so I dont have to scroll up to the top (pressing UP or PAGE UP a lot)?

EDIT: Anyone have any ideas???
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: how to TAB select into an <edit> and start at the top...?

#2 Post by MochiMoppel »

sc0ttman wrote:how to TAB select into an <edit> and start at the top...?
The edit widget always displays the top of text by default, so I'm not sure what your problem is. You ARE at the top already, just click to insert the text cursor (which - and this is the annoying part - is blinking away at the end of text, but in case of long texts not visible. Would be much better if the edit widget would start where the cursor is)
When I use TAB to move into an <edit> widget in a gtkdialog GUI, I am always taken to the bottom of the text.
Not my experience. Using TAB to put the focus on the edit widget doesn't take me to the bottom, consecutive keystrokes do.
so I dont have to scroll up to the top (pressing UP or PAGE UP a lot)?
Press Ctrl+Home once.

Post Reply