Hi,
I'm wondering about the possibility of adding an optional GtkNotebook to contain the documents widget. I have a the geany-devhelp plugin doing this as well as the geany-glade plugin (not online yet) in order to keep some sanity in the user interface. I also believe the WebHelper plugin could greatly benefit from this as well. To get an idea of what I'm talking about, see this screenshot:
https://github.com/codebrainz/geany-devhelp/blob/master/geany-devhelp.png
You cannot see the Documents notebook in this screenshot, but it's under the "Code" tab at the bottom, just above the Message Window. The Document notebook keeps it's tabs along the top while the new "Main" notebook puts its tabs on the bottom (it looked ugly with both on top). Some tab labels for this notebook that come to mind are Code(original Documents notebook with scintilla editors), Documentation(DevHelp), Design(Glade), Preview(WebHelper/WebKit), just to give some ideas. If you explore the code in that project, you can see how I've implemented this, particularly that I've added some code to allow the new "Main" notebook come and go as the first and last plugin that needs it loads and unloads (since I needed this for the glade plugin as well as devhelp plugin).
The whole "Main" notebook being done from a plugin is pretty hackish, so I wanted to discuss the possibility of adding this into Geany itself and see what everyone though before I start hacking away for no reason (or if someone more skilled than myself would be willing to implement it). I don't think it would be terribly difficult to code this, but I'm certainly no expert.
I really think this would be great, but I think it should be optional, defaulted to be off, maybe under preferences dialog and/or activated by certain plugins. This way those who want all of the integration possibilities of such plugins (and the overhead they bring) can have it and everyone else don't even need to care about it.
Does anyone have any thoughts on this?
P.S. Ignore the sidebar tab arrangement in the screenshot, I'm only referring to the "Main" notebook where the Documents notebook is (Code, Design tabs).
Cheers, Matthew Brush (codebrainz)
I extremely support this approach, I've never tried neither WebHelper no DevHelp plugin, but it seems comfortable as such GUI paradigm is well known by using other IDEs.
Cheers, Alexander
Wed, 19 Jan 2011 18:06:26 -0800 письмо от Matthew Brush matthewbrush@gmail.com:
Hi,
I'm wondering about the possibility of adding an optional GtkNotebook to contain the documents widget. I have a the geany-devhelp plugin doing this as well as the geany-glade plugin (not online yet) in order to keep some sanity in the user interface. I also believe the WebHelper plugin could greatly benefit from this as well. To get an idea of what I'm talking about, see this screenshot:
https://github.com/codebrainz/geany-devhelp/blob/master/geany-devhelp.png
You cannot see the Documents notebook in this screenshot, but it's under the "Code" tab at the bottom, just above the Message Window. The Document notebook keeps it's tabs along the top while the new "Main" notebook puts its tabs on the bottom (it looked ugly with both on top). Some tab labels for this notebook that come to mind are Code(original Documents notebook with scintilla editors), Documentation(DevHelp), Design(Glade), Preview(WebHelper/WebKit), just to give some ideas. If you explore the code in that project, you can see how I've implemented this, particularly that I've added some code to allow the new "Main" notebook come and go as the first and last plugin that needs it loads and unloads (since I needed this for the glade plugin as well as devhelp plugin).
The whole "Main" notebook being done from a plugin is pretty hackish, so I wanted to discuss the possibility of adding this into Geany itself and see what everyone though before I start hacking away for no reason (or if someone more skilled than myself would be willing to implement it). I don't think it would be terribly difficult to code this, but I'm certainly no expert.
I really think this would be great, but I think it should be optional, defaulted to be off, maybe under preferences dialog and/or activated by certain plugins. This way those who want all of the integration possibilities of such plugins (and the overhead they bring) can have it and everyone else don't even need to care about it.
Does anyone have any thoughts on this?
P.S. Ignore the sidebar tab arrangement in the screenshot, I'm only referring to the "Main" notebook where the Documents notebook is (Code, Design tabs).
Cheers, Matthew Brush (codebrainz)
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On 20 January 2011 13:06, Matthew Brush matthewbrush@gmail.com wrote:
Hi,
I'm wondering about the possibility of adding an optional GtkNotebook to contain the documents widget. I have a the geany-devhelp plugin doing this as well as the geany-glade plugin (not online yet) in order to keep some sanity in the user interface. I also believe the WebHelper plugin could greatly benefit from this as well. To get an idea of what I'm talking about, see this screenshot:
https://github.com/codebrainz/geany-devhelp/blob/master/geany-devhelp.png
You cannot see the Documents notebook in this screenshot, but it's under the "Code" tab at the bottom, just above the Message Window. The Document notebook keeps it's tabs along the top while the new "Main" notebook puts its tabs on the bottom (it looked ugly with both on top). Some tab labels for this notebook that come to mind are Code(original Documents notebook with scintilla editors), Documentation(DevHelp), Design(Glade), Preview(WebHelper/WebKit), just to give some ideas. If you explore the code in that project, you can see how I've implemented this, particularly that I've added some code to allow the new "Main" notebook come and go as the first and last plugin that needs it loads and unloads (since I needed this for the glade plugin as well as devhelp plugin).
The whole "Main" notebook being done from a plugin is pretty hackish, so I wanted to discuss the possibility of adding this into Geany itself and see what everyone though before I start hacking away for no reason (or if someone more skilled than myself would be willing to implement it). I don't think it would be terribly difficult to code this, but I'm certainly no expert.
I really think this would be great, but I think it should be optional, defaulted to be off, maybe under preferences dialog and/or activated by certain plugins. This way those who want all of the integration possibilities of such plugins (and the overhead they bring) can have it and everyone else don't even need to care about it.
Does anyone have any thoughts on this?
P.S. Ignore the sidebar tab arrangement in the screenshot, I'm only referring to the "Main" notebook where the Documents notebook is (Code, Design tabs).
Cheers, Matthew Brush (codebrainz)
Hi Matthew,
I like the idea, but it would be better to be able to see both the doc and the code, what about putting the doc in a separate top level so it can be positioned suitably?
Cheers Lex
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On 20.01.2011 03:06, Matthew Brush wrote:
Hi,
I'm wondering about the possibility of adding an optional GtkNotebook to contain the documents widget. I have a the geany-devhelp plugin doing this as well as the geany-glade plugin (not online yet) in order to keep some sanity in the user interface. I also believe the WebHelper plugin could greatly benefit from this as well. To get an idea of what I'm talking about, see this screenshot:
As I've shown in the other thread about the new debugger plugin (I made a quick hack to also put its tab into the main notebook), I like the idea very much. Of course it would be nice if both code and docs could be shown simultaneously but your approach is a great start.
Best regards.
well, and as a logical continuation, maybe Geany can expose dragging facilities, I mean dragging every note from any service notebook to any other. As for now it will be three areas(notebooks): sidebar, messages notebook and documents area.
What do you think about it?
Tue, 25 Jan 2011 16:41:02 +0100 письмо от Thomas Martitz thomas.martitz@student.htw-berlin.de:
On 20.01.2011 03:06, Matthew Brush wrote:
Hi,
I'm wondering about the possibility of adding an optional GtkNotebook to contain the documents widget. I have a the geany-devhelp plugin doing this as well as the geany-glade plugin (not online yet) in order to keep some sanity in the user interface. I also believe the WebHelper plugin could greatly benefit from this as well. To get an idea of what I'm talking about, see this screenshot:
As I've shown in the other thread about the new debugger plugin (I made a quick hack to also put its tab into the main notebook), I like the idea very much. Of course it would be nice if both code and docs could be shown simultaneously but your approach is a great start.
Best regards. _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On 25.01.2011 16:50, Александр Петухов wrote:
ll, and as a logical continuation, maybe Geany can expose dragging facilities, I mean dragging every note from any service notebook to any other. As for now it will be three areas(notebooks): sidebar, messages notebook and documents area.
What do you think about it?
Would definitely be awesome, I'd also like to have 2 sidebars.
But as always, someone needs to do it :'(
Best regards.
On 01/25/11 07:50, Александр Петухов wrote:
well, and as a logical continuation, maybe Geany can expose dragging facilities, I mean dragging every note from any service notebook to any other. As for now it will be three areas(notebooks): sidebar, messages notebook and documents area.
I think that would great! It would also make my geany-sidebarterm hack/plugin not needed, which would also be great.
It sounds like this would not be too hard to code[1], but I'm not sure with the older GTK+ version Geany is using.
[1] http://library.gnome.org/devel/gtk/unstable/GtkNotebook.html#gtk-notebook-se...
Cheers, Matthew Brush (codebrainz)