Is gxmessage scrollable? <Yes - Solved>

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Is gxmessage scrollable? <Yes - Solved>

Post by Trapster »

I have output being directed to gxmessage that's longer (height) than the window.
I can't find any info to make the window scroll.

If not, any other simple alternatives?

Last edited by Trapster on Thu Jan 25, 2024 9:34 pm, edited 1 time in total.
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Is gxmessage scrollable?

Post by don570 »

Xdialog has a restriction of the number of characters

https://oldforum.puppylinux.com/viewtopic.php?t=114156


GTKDIALOG and YAD are popular.


User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: Is gxmessage scrollable?

Post by mikewalsh »

@Trapster :-

It should be......at least, it is for me.

I'm starting to use gxmessage quite a bit for 'Help' windows when I build packages. If there's a lot of info to display, gxmessage respects the screen dimensions, makes itself into a window that fits the screen and becomes scrollable.

[Click to enlarge:-]

Image

See what I mean? Is yours not behaving like this?

Mike. :?

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
MochiMoppel
Posts: 1116
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 359 times

Re: Is gxmessage scrollable?

Post by MochiMoppel »

Trapster wrote: Wed Jan 24, 2024 11:03 pm

I have output being directed to gxmessage that's longer (height) than the window.
I can't find any info to make the window scroll.

gxmessage already scrolls by default.
If the window is too large for your screen you can make it smaller.

Example: gxmessage -geometry 400x600 -file /tmp/bootkernel.log results in

gxmessage_scroll.png
gxmessage_scroll.png (82.75 KiB) Viewed 164 times

AFAIK there is no way to avoid scrolling - apart from reducing font size or content.

Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Re: Is gxmessage scrollable?

Post by Trapster »

This is on my server that is running puppy 4.10.
I just found that gxmessage is linked to xmessage.

I may have to upgrade but I don't think that system likes gtk-3

Code: Select all

xmessage.c,v 1.6 95/01/04 16:29:54 gildea Exp $

Off to google.

Thanks guys!

Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Re: Is gxmessage scrollable?

Post by Trapster »

I finally got it.
Could not use current/latest gxmessage due to glibc problems.
I found this site full of series 4 goodies and the gxmessage pet worked right away.

https://ftp.nluug.nl/os/Linux/distr/pup ... ackages-4/

Image

Post Reply

Return to “Programming”