Author Topic: Add button to toolbar for user defined tool?  (Read 5343 times)

Offline pfong

  • Multiple posting newcomer
  • *
  • Posts: 14
Add button to toolbar for user defined tool?
« on: September 01, 2010, 06:57:21 pm »
Is it possible to add a button to the toolbar for tools that I've configured under the Tools menu?  I don't see any thing in the forums or wiki about configuring the toolbar and right clicking on the toolbars doesn't do anything.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Add button to toolbar for user defined tool?
« Reply #1 on: September 01, 2010, 09:37:31 pm »
Not possible, but I was thinking about this feature too :)

I think it is possible to write a plugin that does this:)
Another possibility is to extend the script plugins, so they can create toolbars or add buttons to a toolbar ("scripted toolbar").
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Add button to toolbar for user defined tool?
« Reply #2 on: September 02, 2010, 09:12:07 pm »
I think it is possible to write a plugin that does this:)
Another possibility is to extend the script plugins, so they can create toolbars or add buttons to a toolbar ("scripted toolbar").
I think the best way is to enhance the ToDo plugin itself to add this as an option.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Add button to toolbar for user defined tool?
« Reply #3 on: September 02, 2010, 09:34:48 pm »
Morten: why, to me the two seems quite unrelated
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Add button to toolbar for user defined tool?
« Reply #4 on: September 02, 2010, 09:43:01 pm »
Not possible, but I was thinking about this feature too :)

I think it is possible to write a plugin that does this:)
Another possibility is to extend the script plugins, so they can create toolbars or add buttons to a toolbar ("scripted toolbar").

Or perhaps, convert "Tools" into a plugin, and assign Tools its own toolbar.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Add button to toolbar for user defined tool?
« Reply #5 on: September 03, 2010, 12:53:15 pm »
Morten: why, to me the two seems quite unrelated
My bad. I read ToDo instead of tools... Please ignore my noise.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ