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 Sat 23 Aug 2014, 05:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Menuesystem/Editor for JWM and others (08)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 23 Sep 2005, 21:57    Post subject:  

Yes, it is normal that the entry in the startmenue stays.

Barry is working on a mechanism to deactivate entries.

I also plan better integration of my menue(-editor) and the menues of the windowmanagers.
I think somewhen in october I may present a solution for that.

I think I will use a central menuefile for "Personal Menue" and "DotPups".

You can export these two submenues to each windowmanager then.
An optional Tool will allow to import or delete existing entries.

Meanwhile you can delete them in .jwmrc with an editor.


Greets, Mark
Back to top
View user's profile Send private message Visit poster's website 
GuestToday
Guest


PostPosted: Sat 24 Sep 2005, 00:25    Post subject: Menuesystem  

Why was wxBasic used versus tcl/tk (or other script language) or C++, etc. Is it just easier/more familiar or does it have more functionality? Sorry if this is a really dumb question, my ignorance abounds...
Back to top
BarryK
Puppy Master


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

PostPosted: Sat 24 Sep 2005, 06:23    Post subject:  

Mark,
It is probably asking too much...
I am wondering if it could be coded with wxbasicscript and gtkdialog2?

...um, probably not possible.
I was thinking though, gtkdialog2 does have a menu creation system.
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 24 Sep 2005, 09:15    Post subject:  

Hi, it was one of my first programs for puppy, when wxBasicScript did not exist yet.

You could realize a menue in wxBasicscript, but I think the menueeditor will be more difficult.

The menueeditor allows to move entries up and down.
It is realized via invisible lists, that store several arrays.

Try to set the variable "debug" in the Menueeditor to "1", and you will see what I mean, a "full" view of all elements.

With Gtkdialog2 I would have to store more values in files, I fear this would become rather complex.

Might give it a try, but tend to stay with wxBasic for the editor.

Tcl/Tk: I built a menue with it 7 years ago, but think it is more difficult than Basic.
http://geocities.com/gpllinux/projekte/programme2/tux-menu003-setup.zip
Extract, run ./Setup_linux in a rxvt. Has no Editor, does not support submenues.

C++ is nothing for me, don't get a "feeling" for that language. I was able to learn some C this year after years of not getting "warm" with it, but C++ is somehow not "my thing".

Mark
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


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

PostPosted: Sat 24 Sep 2005, 21:49    Post subject:  

I've never liked C or C++.
Don't really know why, there just seems something odd about them.
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 24 Sep 2005, 22:11    Post subject:  

The main problem I had with the pointers and the memory-handling.

I made a ... how do you call it... such a time of 2 years, where you learn a new job. I worked for 10 years with handicaped people, then I changed the profession to IT specialist (german: Fachinformatiker). Though without a real job atm.

We had some weeks in C during these 2 years, but I did not understand it.

This year, I wanted to enhance wxBasic with wrappers for xlib.
So I had to learn it.
Very helpfull was a tutorial about imlib2, and a book.with 800 pages.
Now I am able to modify and enhance smaller routines, but developing complete applications would certainly last 5 times longer than in wBasic or Perl.

So I will stay with this if possible Wink

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 24 Sep 2005, 23:47    Post subject:  

Uploaded version 08 (see first message).

It now can export to JWM to a submenue "Personal Menue (wxb)".

This JWM-Submenue will not be saved to a remastered CD, but the wxB-Menue itself will be.
So after you created a new CD, run the menueeditor, and simply export the existing menue again to JWM.


Now you also can use the "Icon"-Button to open the application-folder.
This allows easy addition of Icons delivered with the application.
Note that JWM supports .xpm only, whereas wxB-menue supports several formats.

Also note, that you should leave the "DotPups"-Menue at first position, or your menue gets a bit puzzled by the installation of some Dotpups (what you could correct by moving entries up/down).

It is not perfect, but might be more comfortable than editing .jwmrc with beaver Wink

Greets, Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0618s ][ Queries: 13 (0.0123s) ][ GZIP on ]