Gtkdialog Development
- EDDIE_THE_HEAD
- Posts: 15
- Joined: Mon 03 Dec 2012, 02:24
- Location: Córdoba, Argentina
@Thunor
Thanks for everything. I haven't tried that C code you posted 'cause I've been occupied with other things and had no time to fix some issues in the virtual machine where I'm running Ubuntu. I believe that (the fact that I'm running it in VirtualBox) is the only difference in my setup, so it could certainly be the source of the problem. In fact, I've encountered much more trouble than I ever had when Ubuntu was my host OS.
I'll get back to you as soon as I can run the tests you suggested.
Cheers.
Thanks for everything. I haven't tried that C code you posted 'cause I've been occupied with other things and had no time to fix some issues in the virtual machine where I'm running Ubuntu. I believe that (the fact that I'm running it in VirtualBox) is the only difference in my setup, so it could certainly be the source of the problem. In fact, I've encountered much more trouble than I ever had when Ubuntu was my host OS.
I'll get back to you as soon as I can run the tests you suggested.
Cheers.
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
Gtkdialog 0.8.3 Released
Changes:
* Solved the hidden widgets leaving artifacts at start-up problem.
* Added support for conditional actions with <action condition="type">.
* Added support for <variable export="false">VARNAME</variable>.
* Added button-press/release-event signals to comboboxentry's entry.
* Added support for break i.e. don't process any more actions.
* Connected-up the realize signal so that it can be used within actions.
* Refreshing markup in a text widget now works as expected.
* Added three new examples including the Pfeme emulator front-end.
* Fixed bashisms within examples where possible and made them portable.
* Fixed three examples.
http://code.google.com/p/gtkdialog/downloads/list
It's gone quiet so it must've matured by now Thanks to everyone who assisted with testing.
If anyone's interested I've written an emulator front-end using gtkdialog called Pfeme. I actually used a very small piece of perl code to merge the times-played data into the games list and it's so fast! I really recommend taking a look at perl to manage the complex parts of your applications.
Regards,
Thunor
Changes:
* Solved the hidden widgets leaving artifacts at start-up problem.
* Added support for conditional actions with <action condition="type">.
* Added support for <variable export="false">VARNAME</variable>.
* Added button-press/release-event signals to comboboxentry's entry.
* Added support for break i.e. don't process any more actions.
* Connected-up the realize signal so that it can be used within actions.
* Refreshing markup in a text widget now works as expected.
* Added three new examples including the Pfeme emulator front-end.
* Fixed bashisms within examples where possible and made them portable.
* Fixed three examples.
http://code.google.com/p/gtkdialog/downloads/list
It's gone quiet so it must've matured by now Thanks to everyone who assisted with testing.
If anyone's interested I've written an emulator front-end using gtkdialog called Pfeme. I actually used a very small piece of perl code to merge the times-played data into the games list and it's so fast! I really recommend taking a look at perl to manage the complex parts of your applications.
Regards,
Thunor
Hi Thunor
HAPPY NEW YEAR 2013 :)
Thank you for this new version of gtkdialog,
I put the packages for Ubuntu/Debian Bits 32 and 64 provide a ...
It is here: http://liveusb.info/tmp/gtkdialog-0.8.3/
HAPPY NEW YEAR 2013 :)
Thank you for this new version of gtkdialog,
I put the packages for Ubuntu/Debian Bits 32 and 64 provide a ...
It is here: http://liveusb.info/tmp/gtkdialog-0.8.3/
Last edited by frafa on Fri 11 Jan 2013, 11:14, edited 1 time in total.
I put the gtkdialog examples in an easy to install pet package
http://murga-linux.com/puppy/viewtopic.php?t=82059
__________________________________________________
http://murga-linux.com/puppy/viewtopic.php?t=82059
__________________________________________________
Hey Thunor et al
There's ambiguous behaviour of <spinbutton> when floating point values are in use.
Example 1:
works fine with English country settings (dot as a decimal separator), but fails with, eg. German (comma as separator).
Example 2:
and the situation is opposite.
Ref:
http://murga-linux.com/puppy/viewtopic. ... 587#681587
http://murga-linux.com/puppy/viewtopic. ... 138#682138 (last sentence)
Is there anything what can be done about it, or the only way is to determine which type of decimal separator is in use (btw, what's the best way to do so?), before I export the GUI?
Thanks & Greetings!
There's ambiguous behaviour of <spinbutton> when floating point values are in use.
Example 1:
Code: Select all
echo '<spinbutton range-step="0.01"></spinbutton>' | gtkdialog -s
Example 2:
Code: Select all
echo '<spinbutton range-step="0,01"></spinbutton>' | gtkdialog -s
Ref:
http://murga-linux.com/puppy/viewtopic. ... 587#681587
http://murga-linux.com/puppy/viewtopic. ... 138#682138 (last sentence)
Is there anything what can be done about it, or the only way is to determine which type of decimal separator is in use (btw, what's the best way to do so?), before I export the GUI?
Thanks & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
@SFR: Read from here onwards. Argolance (French user) I believe solves it 8 posts later.
Basically the decimal mark requires internationalising within your script.
Regards,
Thunor
Basically the decimal mark requires internationalising within your script.
Regards,
Thunor
Thanks!
In the meantime I made up an alternative (not extensively tested), "dirty" method based on printf error:
however Argolance's looks more elegant.
Thanks again & Greetings!
In the meantime I made up an alternative (not extensively tested), "dirty" method based on printf error:
Code: Select all
[ "`printf %.1f 1.1 2> /dev/null`" = "1.1" ] && echo "DOT" || echo "COMMA"
Thanks again & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
This is on the to-do list but I'll need to install a GKT+ 3 distro and I've become accustomed to downloading a puppy ISO and extracting the few files necessary, so if it involves burning an oversized ISO image then I'll have to locate my sole CD-RW disc packed away in one of my boxes which likely won't be oversized enough anyway.simargl wrote:Hello,
Are there plans for gtkdialog to support GTK3?
I want to use gtk3 (3.6) in next release of ArchPup http://www.murga-linux.com/puppy/viewtopic.php?t=84353 and currently
only 3 applications - gtkdialog, geany, firefox - require keeping GTK2.
Kind regard
Maybe it's as simple as changing the gtk+ and gthread version numbers in configure.in and running ./autogen.sh? I doubt it but it's the first thing I would do.
Regards,
Thunor
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
I've found Mageia 2 which uses gtk+ 3.6.2 on a 671MB live CD so I'll dig out my CD-RW over the next few days and partition/install/set-up etc. I'm sure ArchPup is really nice but for me it makes sense to develop on a mainstream distro that is ready to go.
Leave it with me, it'll take some time to get just the development environment running but it might be pretty straightforward after that.
Regards,
Thunor
Leave it with me, it'll take some time to get just the development environment running but it might be pretty straightforward after that.
Regards,
Thunor
@thunor, there is a mage2 puppy in next to final beta out, I'm awaiting a few retro fixes by the mageia people before bringing the final beta out, if it's any help.
The link is below!
The link is below!
Last edited by scsijon on Mon 04 Mar 2013, 01:20, edited 1 time in total.
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
There's a Puppy ISO and DEVX which includes gtk+ 3 and all dependencies ready to go? If so can I have a link please.scsijon wrote:@thunor, there is a mage2 puppy in next to final beta out, I'm awaiting a few retro fixes by the mageia people before bringing the final beta out, if it's any help.
I haven't had any luck yet installing a gtk+ 3 distro because my CD-RW was too small and I got a boot loader up from my SD card + reader but it failed after that so I think it has to be a flash drive. I'm not familiar with installing from SD/flash so I don't know.
I shall have to create another gtkdialog branch because I'll have to purge the code of all the deprecated stuff and widgets (combobox, comboboxentry, list, table) so once I'm up and running it could take some time to complete.
Regards,
Thunor
Thunor,
I don't know what dev box you are using but Slacko-5.5 is ready very soon. It's based on slackware-14.0 bins like 5.4 but with many bugs fixed. Min system requirements are a P3 900 with 512 RAM, unless you want to do a full install then that can be cut down a bit.
I have just constructed an sfs of audacious which includes gtk+3-3.4.4-i486-1.txz and all development headers and libraries plus .pc files, docs and demos.
http://www.smokey01.com/01micko/sfs_xz/ ... 1-i486.sfs 12M
checksum <-- 1b5c7ad0fa837a7bea1071a2610fd012 audacious-3.3.1-i486.sfs
I don't know what dev box you are using but Slacko-5.5 is ready very soon. It's based on slackware-14.0 bins like 5.4 but with many bugs fixed. Min system requirements are a P3 900 with 512 RAM, unless you want to do a full install then that can be cut down a bit.
I have just constructed an sfs of audacious which includes gtk+3-3.4.4-i486-1.txz and all development headers and libraries plus .pc files, docs and demos.
http://www.smokey01.com/01micko/sfs_xz/ ... 1-i486.sfs 12M
checksum <-- 1b5c7ad0fa837a7bea1071a2610fd012 audacious-3.3.1-i486.sfs
Puppy Linux Blog - contact me for access
Really? Why didn't you report it?simargl wrote:I would say since Slacko is so broken, you should better use real OS ..
I don't go around bagging your os, just the way you promote it.
-
Sorry for OT
Puppy Linux Blog - contact me for access
This thread is for gtkdialog.
If you have a problem with Slacko, post there, NOT here. If you have a problem with me tell some one who cares.
If you have a problem with Slacko, post there, NOT here. If you have a problem with me tell some one who cares.
Puppy Linux Blog - contact me for access