Fixes for gtkdialog vte functionality discussed in last few posts of thread:
http://murga-linux.com/puppy/viewtopic. ... 79#1060379
wiak
GtkDialog - tips
gtkdialog vte fixes
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
force widget to left
Posted: Tue 28 Apr 2020, 06:00 Post subject: Hbox alignment
Hey, does someone know how to align a a hbox on the left and not at the right of a window
best way is to put an empty text widget on right side to force another widget to left
In this script --> text widget is forced to left of window
- Attachments
-
- script-color.gz
- fake extension
- (2.11 KiB) Downloaded 131 times
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Hi guys,
I received feedback from a Linux Mint user, running my EasyDD script, with gtkdialog installed.
EasyDD is for writing an OS image file to a drive, usually a USB-stick. The GUI allows drag-and-drop off the image file.
However, in Linux Mint, Cinnamon, running the Nemo file manager, drag-and-drop preppends "file://" and appends what looks like a utf8 character "000A". This what we see in the box, see attached.
Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
I received feedback from a Linux Mint user, running my EasyDD script, with gtkdialog installed.
EasyDD is for writing an OS image file to a drive, usually a USB-stick. The GUI allows drag-and-drop off the image file.
However, in Linux Mint, Cinnamon, running the Nemo file manager, drag-and-drop preppends "file://" and appends what looks like a utf8 character "000A". This what we see in the box, see attached.
Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
- Attachments
-
- nemo-drag-drop-gtkdialog.png
- (4.75 KiB) Downloaded 36 times
[url]https://bkhome.org/news/[/url]
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
You can avoid the "appended stuff", a line feed character, by using the tag attribute truncate-multiline="true". This restricts input to a single line. By default entry widgets accept multiline input (usually achieved by pasting, hardly possible by keyboard input), resulting in those hex 0A "box" characters.BarryK wrote:Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
As for the prepended stuff you could use some input verification code if you want to remove the prepended "file://". Maybe this can help.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Thanks for that! I have fixed EasyDD:MochiMoppel wrote:You can avoid the "appended stuff", a line feed character, by using the tag attribute truncate-multiline="true". This restricts input to a single line. By default entry widgets accept multiline input (usually achieved by pasting, hardly possible by keyboard input), resulting in those hex 0A "box" characters.BarryK wrote:Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
As for the prepended stuff you could use some input verification code if you want to remove the prepended "file://". Maybe this can help.
https://bkhome.org/news/202006/easydd-g ... -mint.html
[url]https://bkhome.org/news/[/url]