(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Sep 2020, 18:50
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
GtkDialog - tips
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 101 of 101 [1505 Posts]   Goto page: Previous 1, 2, 3, ..., 99, 100, 101
Author Message
wiak

Joined: 11 Dec 2007
Posts: 2075
Location: not Bulgaria

PostPosted: Mon 08 Jun 2020, 17:25    Post subject: gtkdialog vte fixes  

Fixes for gtkdialog vte functionality discussed in last few posts of thread:

http://murga-linux.com/puppy/viewtopic.php?p=1060379#1060379

wiak

_________________
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
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5524
Location: Ontario

PostPosted: Wed 10 Jun 2020, 15:23    Post subject: force widget to left  

Quote:

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
script-color.gz
Description  fake extension
gz

 Download 
Filename  script-color.gz 
Filesize  2.11 KB 
Downloaded  80 Time(s) 
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9400
Location: Perth, Western Australia

PostPosted: Wed 17 Jun 2020, 23:34    Post subject:  

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?
nemo-drag-drop-gtkdialog.png
Description 
png

 Download 
Filename  nemo-drag-drop-gtkdialog.png 
Filesize  4.75 KB 
Downloaded  91 Time(s) 

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 2084
Location: Japan

PostPosted: Thu 18 Jun 2020, 02:25    Post subject:  

BarryK wrote:
Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
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.

As for the prepended stuff you could use some input verification code if you want to remove the prepended "file://". Maybe this can help.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 9400
Location: Perth, Western Australia

PostPosted: Thu 18 Jun 2020, 07:39    Post subject:  

MochiMoppel wrote:
BarryK wrote:
Does anyone know if gtkdialog 'entry' tag can be configured not to show that preppended and appended stuff?
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.

As for the prepended stuff you could use some input verification code if you want to remove the prepended "file://". Maybe this can help.


Thanks for that! I have fixed EasyDD:

https://bkhome.org/news/202006/easydd-gui-fixes-for-linux-mint.html

_________________
https://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 101 of 101 [1505 Posts]   Goto page: Previous 1, 2, 3, ..., 99, 100, 101
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1586s ][ Queries: 12 (0.0643s) ][ GZIP on ]