The time now is Tue 19 Feb 2019, 07:17
All times are UTC - 4 |
Author |
Message |
PupMike
Joined: 22 Apr 2009 Posts: 18
|
Posted: Tue 12 May 2009, 22:23 Post subject:
|
|
Okay, I just checked the tab problem you mentioned. You are actually getting the tab index before the change is complete. change the signal handler to:
Code: | def note_page_changed(notebook : void*, index : uint)
// var index = note.get_current_page()
|
The new tab index will be passed in index. Also remember that the tab index is zero based. Hope this helps.
Mike
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Wed 13 May 2009, 02:31 Post subject:
|
|
fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult
Thanks Mike!
Mark
_________________ my recommended links
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Thu 14 May 2009, 23:51 Post subject:
|
|
We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!
would this be suitable for this job?
HanSamBen is here
http://www.murga-linux.com/puppy/viewtopic.php?p=305505
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11200 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 15 May 2009, 00:12 Post subject:
|
|
ecomoney wrote: | We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!
would this be suitable for this job?
HanSamBen is here
http://www.murga-linux.com/puppy/viewtopic.php?p=305505 |
ya it should work just fine if you reinstall Seamonkey, lol or use one of these http://dotpups.de/files/puppybrowser-tests/
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games 
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15241 Location: Paradox Realm
|
Posted: Wed 20 May 2009, 03:02 Post subject:
|
|
Hi Mark
Broke out my crayon set (xaraLX and Mtpaint) to create a logo
based on your icon which I found amusing
Hope it is of some use
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2807 Location: Montenegro
|
Posted: Wed 20 May 2009, 03:54 Post subject:
|
|
^Niiice
Boot your pc and connect easily in couple of mins with puppy linux and puppy browser
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
sky king
Joined: 08 Apr 2009 Posts: 72
|
Posted: Wed 20 May 2009, 04:36 Post subject:
the artwork |
|
Very creative and COOL.
|
Back to top
|
|
 |
Todd
Joined: 31 Aug 2006 Posts: 310
|
Posted: Tue 26 May 2009, 12:37 Post subject:
|
|
MU wrote:
Quote: | fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult |
Any news?
Todd
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Tue 26 May 2009, 15:35 Post subject:
|
|
yes sir
version 0.3 with tabs:
http://www.murga-linux.com/puppy/viewtopic.php?p=303882#303882
Mark
_________________ my recommended links
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1478 Location: Ukraine
|
Posted: Tue 26 May 2009, 16:22 Post subject:
|
|
Dear Mark,
Thanks for version 3 (tabbed). It workes very nicely on my little Samsung NC10 with the acer 4.10 puplet. I wonder whether you could eventually creat a right click menu that would give a few options, such as open link in new tab? In any case, great work.
WIth kind regards,
vovchik
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Tue 26 May 2009, 16:34 Post subject:
|
|
unfortunately I cannot add a right-click menu (I tried it).
The mozilla widget "grabs" the events, so if you add own ones, they are ignored.
This gives no error, but is ignored:
Code: | moz = new MozEmbed ()
moz.button_release_event += on_moz_button_release_event |
If you google for "dom_mouse_down" you'll see, that there are solutions in other programs, but they are not implemented in the Vala/genie vapi.
Such code will not work:
Code: | moz = new MozEmbed ()
moz.dom_mouse_down += on_moz_button_release_event |
I must google more in the next days, to find out, if it can be added somehow.
Mark
_________________ my recommended links
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 2118 Location: Maine, USA
|
Posted: Wed 27 May 2009, 17:57 Post subject:
|
|
Dragging a link to a tab and dropping it on the page that opens, works.
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Wed 27 May 2009, 20:10 Post subject:
|
|
cool, great hint, trapster!
Did not know this myself yet
I uploaded version 0.4:
http://www.murga-linux.com/puppy/viewtopic.php?p=303882#303882
Mark
_________________ my recommended links
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15241 Location: Paradox Realm
|
Posted: Wed 27 May 2009, 21:37 Post subject:
|
|
I really like the toggle full screen (one of the bottom right buttons) and the other new features . . .
A few minutes and it was all obvious how to use . . .
Everything seems a lot faster than using other browsers?
Is that possible?
How much of Seamonkey is it using?
Could it be packaged as an independent pet? How much space would be saved do you think?
Is the feature set complete?
What are your future intentions Mark?
Very exciting release
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Wed 27 May 2009, 22:09 Post subject:
|
|
Lobster,
Quote: | A few minutes and it was all obvious how to use . . . |
Fine, I think it is important to keep it simple.
I should add a help button, that explains the limitations that make the usage different from other browsers, e.g. how to download a file (with pwget).
Quote: | Everything seems a lot faster than using other browsers?
Is that possible? |
Well it just uses Gtk, while the Gtk support of Seamonkey / Firefox is not "native", but added "afterwards" to their internal widget-set.
This could well be seen in their older releases, when not all elements looked like a Gtk application.
I have read, that you meanwhile can extend the grafical interface of Firefox with HTML/Javascript.
Such a lot of functionality costs resources.
Quote: | How much of Seamonkey is it using? |
Just Gecko (the renderengine).
For this reason I also can not use right-click menus, as this would require to include the headers of other seamonkey libraries.
I was able to grab mouseclicks by slightly modifying /usr/share/vala/vapi/gtkmozembed.vapi
Like this:
Code: | public signal void dom_mouse_out (int dom_event);
public signal void dom_mouse_down (int dom_event);
public signal void dom_mouse_up (int dom_event);
public signal void dom_activate (int dom_event);
public signal void dom_mouse_click (int dom_event); |
But this does not really help us.
To find out, what button was clicked, I would need:
Code: | public signal void dom_mouse_up (gpointer dom_event); |
(defined by: /usr/include/gtkembedmoz/gtkmozembed.h)
The gpointer points to a special event from the seamonkey libraries.
As I don't know, how to include them, I used the "int" workaround.
Like this I can catch, when a button is clicked. But as I have not the event-pointer, i cannot use something like:
button = event.button
This means, I now have reached the limits of what can be done with gtkembedmoz.
Quote: | Is the feature set complete?
What are your future intentions Mark? |
More or less.
I might add a button, to download/view the source of a page.
Maybe add the support to execute shellscripts, that was discussed up earlieron with ttuuxx.
One other nice feature might be a "PuppysBrowser Presentation Language".
If a file with the suffix *.pbpl is loaded, the browser would run commands in it.
Like:
Code: | cd /root/presentation
page_1=1.htm
page_2=2.htm
show page_1
wait 10
show page_2 |
Then you would see a buttonbar on the left side, that would allow to open a page directly, or if you click none, the presentation would run just like a slideshow.
As HTML files can display videos, pictures and such, this could be a nice replacement for Powerpoint presentations
And maybe add an option to run it without window border, as I did long ago here:
http://murga-linux.com/puppy/viewtopic.php?p=139725
And of course try to use "Webkit" as alternative to Gecko.
And maybe an own option dialog to set default fonts or so.
But all this has no high priority, I might first concentrate on other Genie examples.
Glad, you like it
Mark
_________________ my recommended links
|
Back to top
|
|
 |
|
|
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
|