|  10-10-2014, 07:31 AM | #1 | 
| Member  Posts: 23 Karma: 10 Join Date: Jul 2008 Device: Sony PRS 505, iPad | 
				
				Adding buttons to the toolbar
			 
			
			Is it possible to add buttons to the Sigil-toolbar (performing some action in the HTML source with respect to the actual cursor position or selection)?  For example: 
 Do I have to do it in the C++ sources, or is there an easier way? | 
|   |   | 
|  10-10-2014, 07:46 AM | #2 | 
| Sigil & calibre developer            Posts: 2,487 Karma: 1063785 Join Date: Jan 2009 Location: Florida, USA Device: Nook STR | |
|   |   | 
|  10-10-2014, 12:16 PM | #3 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 Then Drag-n-reDock it under the Icon Bars (see my layout image) to get the bar Horizontal All clips that are added, that are NOT moved to a group, in the Clip Editor appear here. (see cilip ed image) Newbies Note The layout of buttons shown is not the default. No special code needed, just drag and drop the sections into new locations . | |
|   |   | 
|  10-10-2014, 12:31 PM | #4 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | 
			
			Note that you'll need to define clips with a \1 placeholder for the text that will be wrapped by your custom code. For example: Code:  <span class='x'>\1</span>These shortcuts can also be changed via Edit > Preferences > Keyboard Shortcuts. Last edited by Doitsu; 10-10-2014 at 02:40 PM. | 
|   |   | 
|  10-11-2014, 03:10 PM | #5 | 
| Connoisseur  Posts: 57 Karma: 10 Join Date: Dec 2011 Device: Samsung Tablet | 
			
			Kinda a little off topic but is there an inbuilt limit to what this tool bar can hold? I have items in my clips that do not appear on the too bar.
		 | 
|   |   | 
|  10-11-2014, 03:30 PM | #6 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | |
|   |   | 
|  10-11-2014, 03:42 PM | #7 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Custom adding to toolbar? | imans314 | Calibre | 9 | 04-28-2014 08:29 AM | 
| adding buttons via usb | scope | Kindle Developer's Corner | 18 | 11-24-2013 05:47 PM | 
| How I can fullscreen without any toolbar and buttons? | ElenaLauder | Calibre | 2 | 12-25-2011 12:18 AM | 
| iLiad Adding custom action buttons to toolbar | thijso | iRex Developer's Corner | 1 | 12-31-2009 07:12 AM | 
| LrfAppender: IE toolbar similar to "Toolbar for Librie" | mumurik | Sony Reader Dev Corner | 1 | 10-06-2009 03:33 AM |