#670 message window should have close button

Adam Dingle

It would be nice if the message window had a close button so I could close it more easily with the mouse.


  • Anonymous - 2013-05-19

    Assuming you know about `View->Show Message Window`, where would you pack the close button into the GUI? I think it's not a bad idea if it could be implemented cleanly, maybe using the GtkNotebook's "action widget"? It might look weird for the message window with the tabs on the left though, I'd need to see it.

  • Adam Dingle

    Adam Dingle - 2013-05-19

    screenshot of gedit with close button on lower pane

  • Adam Dingle

    Adam Dingle - 2013-05-19

    For what it's worth, here's a screenshot of gedit, which has a close button on its own message window. It does take up a sliver of horizontal space at the right, but I do find it convenient. If you wanted to make it more compact, in GTK 3 you should be able to use the GtkOverlay class (available since GTK 3.2) to have the close button float over the message window in the upper right corner.

  • Lex Trotman

    Lex Trotman - 2013-05-19

    Adam, I suppose you are aware that you can define a keybinding for toggle message window? I usually use ALT-M. Otherwise the tiny sliver of horizontal?/vertical? space as used by gedit would probably be ok.

    Pull requests are welcome :)

    Overlay is not an option for now since Geany still supports back to GTK2.16 (or maybe soon 2.18) unless you use lots if #ifdefs, and we try to avoid those as a maintenance headache.

  • Adam Dingle

    Adam Dingle - 2013-05-23

    Yes, I'm aware I can define a keybinding for closing the message pane, and I do use one. It would still be convenient to have a close button though. I figured that the overlay probably wasn't an option yet - glad to hear using a sliver of space for this might be OK.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks