Re: [Java-gnome-developer] Notebook example code WITH close button on each tab
Brought to you by:
afcowie
From: Khiraly <khi...@gm...> - 2006-05-04 23:19:47
|
Hi! > It can be compiled, and runs fine. What is MISSING: > > 1. Global keybindings (lin 43 - 51) > 2. It cant dinamically calcule the icon size from the theme (line 85-87) > 3. the close button remove always the actual page, and not where it was > clicked (line 148) Finally all of the above issues was resolved, many thanks for all the java-gnome people at #java-gnome channel (AfC, ajocksch, rcjsuen, ijuma). To resume: Notebook example program whith close button on each tab*. Global keybindings added: Ctrl-t - new notebook page Ctrl-w - close current notebook page Ctrl-q - quit application Screenshot: http://img205.imageshack.us/img205/3049/notebookwithclosebutton0xk.png Sourcecode: http://pastebin.com/699104 Any comment, suggestion is really wellcome. *: the firefox way seams to be unimplementable. Where is only one close button after the tabs. There is no GTK app, what is able to do this. === This application generated two bugreport: http://bugzilla.gnome.org/show_bug.cgi?id=340671 http://bugzilla.gnome.org/show_bug.cgi?id=340675 I've added on the hintsAndTips page about global keybindings (thx to ajocksch): http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/GlobalKeybindings I have added this NotebookExample code to the hintsAndTips page: http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/HowToNotebook Best regards, Khiraly |