![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
Menus
Hi,
what I've always been dearly missing in Calibre is the lack of menus. The focus on toolbar icons just doesn't do it for me. So I looked into the help files on plugin development. From what I've read, it should be a simple matter of creating a menu, then calling the corresponding function. Is this correct, or am I overlooking some complication? Furthermore, if such a plugin is indeed possible - has anyone else ever worked on such? I presume that this is not exactly a new idea. Is it? Regards, CEW4 |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Are you referring to a menu bar like the standard File, Edit...? Calibre already has this functionality. It is only default enabled on OS X. You can customize it and make it appear by adding items to it in Preferences, Toolbars. Look for the menubar and device menubar entries.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
That's exactly what I mean. And I'm aware of the options in Preferences, yet I've not been able to use them: I'm successful in adding a command to the menu bar, but not a menu.
Can you help me on this? |
![]() |
![]() |
![]() |
#4 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Moderator Notice
Thread moved, read this Development forum sticky post, PLEASE READ BEFORE POSTING - The purpose of this subforum, before posting again in the development sub-forum. Last edited by DoctorOhh; 10-30-2011 at 01:34 AM. |
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,299
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
![]() Quote:
And why you move this to a LIBRARY MANAGEMENT sub-forum is totally beyond me. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Quote:
Karma your way for adding clarity. I moved it back to the development forum. I still don't think this is appropriate for the development forum, but I'll leave it in development to give the OP a chance to expresses his interest in developing code to add the menu structure he desires. Last edited by DoctorOhh; 10-30-2011 at 02:06 AM. |
|||
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() This did not appear to be a development question (other than possibly a personal hack,which the rules are not clear on, to me.). |
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
The way I understand the situation from the replys, Calibre's built in options do not provide menus. They may start to implement such, but not to the extent that they would be usable as one would expect.
And indeed my intent is to create a plugin that does provide full "classic" menus. The purpose of my post was to find out a) if there already is such an effort and b) if I overlooked some technical issue that would make this goal impractical to realize. So far, I think the answers to this are No and No. Right? ;-) |
![]() |
![]() |
![]() |
#9 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Welcome Aboard. |
||
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
Good enough. I'll give it a try.
Thanks! |
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
If by 'classic' menus you mean a menu bar as opposed to the toolbar used by default then can already have this. By default the menu bar is empty and thus not displayed. As was mentioned in an earlier reply you can populate a menu under Preferences->Interface->Toolbar and select the Menubar (one for normal case and another for when device connected) and then customise it by adding the entries you want on it.
If you want additional functionality on this menu bar customisation then enhancing the current functionality is the way to proceed. |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
Thanks for your comment. With the built-in functionality I was only able to put a command to the menu bar, but not to create a real menu (like "File", "About" etc.) that itself contains commands.
A previous reply stated that this is the way it's supposed to work. To me, that's no solution at all. Last edited by CEW4; 10-30-2011 at 07:09 AM. |
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
It could also be worth looking at how on a Mac entries are added to the standard Mac menubar in case that is something that can be built on. |
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 23
Karma: 10
Join Date: Nov 2010
Location: Germany
Device: Oyo, Kindle
|
Yes, I see. But you are right - I feel that this kind of modification would be beyond me. The API interface looks somewhat clear to me, but I haven't dipped into the main Calibre code and don't feel confident enough to do it yet either.
|
![]() |
![]() |
![]() |
#15 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
So it looks like creating a plugin with the items you think are missing might be the way to go. Every plugin I have has an extensive menu attached to it.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drop down menus | CazMar | Feedback | 3 | 09-16-2011 02:03 AM |
PRS-350 Better contrast in menus than when reading | sethdove | Sony Reader | 3 | 04-30-2011 01:38 AM |
How to edit drop down menus | arnoldajr | Library Management | 3 | 03-12-2011 05:11 PM |
Index & Menus | Morrile | Workshop | 2 | 11-21-2010 07:59 PM |
Unicode fonts in menus | cartman | Sony Reader Dev Corner | 1 | 06-09-2009 10:53 AM |