Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 11 Dec 2017, 17:09
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Gtkdialog Development
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 56 of 56 [833 Posts]   Goto page: Previous 1, 2, 3, ..., 54, 55, 56
Author Message
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Sat 21 Nov 2015, 14:31    Post subject: want to stretch the width of a pixmap...  

its just the buttons that are the keys often vary in size. oh well, i guess the number bar can still serve as a visual aid of sorts.

you see the number bar is above the keys. it shows the key numbers in order. the technical side of things work. the 21-40 piano keys and 4 piece percussion all work.

EDIT: those examples didn't help the number bar issue, but i was able to get the "piano keys" to scale up when you enlarge the window!
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4799
Location: Ontario

PostPosted: Sat 21 Nov 2015, 15:19    Post subject:  

A trick I often use is to center a button in a column

Code:

<hbox homogeneous="true">
<hbox>
<button>
            <text><label>"mtpaint"</label></text>
                             <action>mtpaint</action>
</button>
</hbox></hbox>



http://gtkdialog.googlecode.com/svn/trunk/examples/button/button_image_horizontal_alignment

____________________________________________


...and a column width can be controlled by a width request
Code:
<vbox  width-request="500">
...
...
...
</vbox>



http://gtkdialog.googlecode.com/svn/trunk/examples/vbox/vbox_scrollable
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Sat 21 Nov 2015, 16:48    Post subject: worked around it.  

ended up splitting the number bar into icons. which worked.

EDIT: its now finished, PET can be found here:
http://murga-linux.com/puppy/viewtopic.php?t=101714
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4799
Location: Ontario

PostPosted: Mon 23 Nov 2015, 17:52    Post subject:  

Here's a change I suggest for the about button...
Code:

[url]<window title="Thomas Virtual Piano -about" image-name="Thomas-Virtual-Piano.png"  resizable="false">[/url]



resizable="false" ---> fixes strange resizing of window in some cases

_____________________________________________________

It would be cool if pressing the keyboard keys worked as well
but that might take some C programming.

___________________________________________

Putting the version number in the window title is good practice..
I first start my scripts by defining VERSION

Code:
VERSION=1.3


then I can use it latter in script

______________________________________________

If you want to make the window color stand out
Here is an example pupmemo that is simple to understand

http://www.murga-linux.com/puppy/viewtopic.php?t=96862&sid=238b5686ca9b5a9759c8d809d2fd2cae

___________________________________________
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Fri 08 Jul 2016, 18:21    Post subject:  

With the recent news that Roxterm is not going to be further developed owing to major issues getting to working with gtk3, I was wondering if gtkdialog is still being developed such that it is gtk3 compatible?

I imagine, gtk2 will mainly vanish from our systems one day in the not-so-distant future, just as gtk1 did previously.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4764
Location: Kingwood, TX

PostPosted: Fri 08 Jul 2016, 21:28    Post subject:  

Gtk3 isn't even compatible with gtk3. There is no point except to beta test for gtk4 (which will hopefully be stable, but I wouldn't hold my breath)
_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Sat 09 Jul 2016, 01:56    Post subject:  

Gtk3 gtk4... either way, if we take the time to write apps based on gtkdialog (or yad or Bacon or ...) that needs to keep up with developments or wise to use a different approach guaranteed to still be usable in a few years time. And I'm talking about simple gui frontends for scripts not complex apps that are best programmed in complex programming languages like gtk... or qt themselves (programming in which are beyond the skills of most of us anyway).

So question remains: is gtkdialog being maintained or is gtk2 the end of the line for it?

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6770
Location: Auckland, New Zealand

PostPosted: Sun 18 Jun 2017, 17:41    Post subject:  

Regardless of whether gtk2 is the end of the line, does anyone know if there has been any maintenance anywhere since the google code shutdown? I see there are plenty of people that exported the repository to github. I didn't click on them all, but I did sort by most recently updated, and didn't see any actual recent commits.
_________________
If you have or know of a good gtkdialog application, please post a link here

Classic Puppy quotes

ROOT FOREVER
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 56 of 56 [833 Posts]   Goto page: Previous 1, 2, 3, ..., 54, 55, 56
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0748s ][ Queries: 14 (0.0216s) ][ GZIP on ]