no "File", "Edit, "Help" strings in upper left
i am testing several tutorial examples to get the top menubar, but after four tries, zip. there are no complaints from the compiler. i can't figure this one out. anybody of the list have any ideas? the site says it builds for linux, but the makefile blows up. my own compile line does not blow up; the only thing missing is the menubar with the lines File Edit Help missing. . any ideas? can anybody who is running ubuntu 11.10 send me the smallest gtk program possible with one menubar working? i need to set up a slider to give a range of words/minute so that people who may be hard-of-hearing or not necessary english speakers will have an easier time understanding the computer gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
Give gtk-demo binary a shot, it includes a multitude of minimal examples Regards Bernhard Gary Kline schrieb am 29.01.12 02:51: i am testing several tutorial examples to get the top menubar, but after four tries, zip. there are no complaints from the compiler. i can't figure this one out. anybody of the list have any ideas? the site says it builds for linux, but the makefile blows up. my own compile line does not blow up; the only thing missing is the menubar with the lines File Edit Help missing. . any ideas? can anybody who is running ubuntu 11.10 send me the smallest gtk program possible with one menubar working? i need to set up a slider to give a range of words/minute so that people who may be hard-of-hearing or not necessary english speakers will have an easier time understanding the computer gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On 01/28/2012 11:38 PM, schuster.bernh...@googlemail.com wrote: Give gtk-demo binary a shot, it includes a multitude of minimal examples Regards Bernhard Nada. but it compiles with my gcc string and works as it is coded on debian linux; on my sub-laptop. but ubuntu: nope. i added gtk-demo and rebuilt. typing $ gtk-demo pops up a rectangle with a bunch of items, but the GTK+ Code Demos lacks the menubar ... Gary Kline schrieb am 29.01.12 02:51: i am testing several tutorial examples to get the top menubar, but after four tries, zip. there are no complaints from the compiler. i can't figure this one out. anybody of the list have any ideas? the site says it builds for linux, but the makefile blows up. my own compile line does not blow up; the only thing missing is the menubar with the lines File Edit Help missing. . any ideas? can anybody who is running ubuntu 11.10 send me the smallest gtk program possible with one menubar working? i need to set up a slider to give a range of words/minute so that people who may be hard-of-hearing or not necessary english speakers will have an easier time understanding the computer gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On 01/29/2012 01:41 PM, Gary Kline wrote: > Nada. but it compiles with my gcc string and works as it is coded on > debian linux; on my sub-laptop. but ubuntu: nope. i added gtk-demo > and rebuilt. typing > > $ gtk-demo > > pops up a rectangle with a bunch of items, but the GTK+ Code Demos lacks > the menubar ... I think in Ubuntu's Unity desktop the menubar is grabbed out of the window and placed at the top of the screen. I could be wrong, though. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On Sun, Jan 29, 2012 at 02:05:51PM -0700, Michael Torrie wrote: > Date: Sun, 29 Jan 2012 14:05:51 -0700 > From: Michael Torrie > Subject: Re: no "File", "Edit, "Help" strings in upper left > To: gtk-app-devel-list@gnome.org > > On 01/29/2012 01:41 PM, Gary Kline wrote: > > Nada. but it compiles with my gcc string and works as it is coded on > > debian linux; on my sub-laptop. but ubuntu: nope. i added gtk-demo > > and rebuilt. typing > > > > $ gtk-demo > > > > pops up a rectangle with a bunch of items, but the GTK+ Code Demos lacks > > the menubar ... > > I think in Ubuntu's Unity desktop the menubar is grabbed out of the > window and placed at the top of the screen. I could be wrong, though. i've seen this and don't like it; i'd rather have every Konsole have its own menubar. same with other GUI apps. hmm. i'm still not 100.0% certain of this, but here is what i've learned: in my compile script is `pgk-config --cflags --libs gtk+-2.0` that follows the gcc [stuff]. at least for ubuntu linux, i need the `gtk-config --cflags [etc]` according to what i can find on google, it looks as tho the gtk-config command might only be available for the i386 ... i took a simp;le gtk C src along with my compile script and scp'd them over to my netbook. ran the script and exec'd the binary. it produced a gtk widget with the menubar and "File Help" and twso buttons in the lower left. it may be hthat ubuntu is moving toward gtk-3.0 and dropping the older releases. {?} > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On Sun, Jan 29, 2012 at 02:36:03PM -0800, Gary Kline wrote: > i've seen this and don't like it; i'd rather have every > Konsole have its own menubar. same with other GUI apps. Me too but OS X does this. Aparrently, it does not matter nowadays whether something makes sense or not but only whether OS X does it... Some methods how to disable it are described here: http://www.webupd8.org/2011/03/disable-appmenu-global-menu-in-ubuntu.html In short, get rid of it globally: sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt or disable it while running specific program: UBUNTU_MENUPROXY= program args... > at least for ubuntu linux, i > need the `gtk-config --cflags [etc]` You definitely do NOT need gtk-config. It was used in Gtk+ 1.x and has been replaced with pkg-config. > it may be hthat ubuntu is moving toward gtk-3.0 and > dropping the older releases. {?} It should not be directly related to these issues although Gtk+ 3.x indeed will bring new methods to do unexpected things to menus. For me this all means classical application menubars are dead and I will not use them in newly written programs at all. Yeti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On 2012.01.29 17:36, Gary Kline wrote: [snip...] it may be hthat ubuntu is moving toward gtk-3.0 and dropping the older releases. {?} Perhaps, but I can't imagine this has anything directly to do with Unity or missing menu items. If, indeed, the problem is that Unity is "stealing" your menu bar, you can test by un-maximizing the app. In my experience, once you do that, the app main window gets back its title bar and menu bar, as well as the expected window manager stuff in the upper right and left corners. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On Mon, Jan 30, 2012 at 12:14:11AM +0100, David Ne??as wrote: > Date: Mon, 30 Jan 2012 00:14:11 +0100 > From: David Ne??as > Subject: Re: no "File", "Edit, "Help" strings in upper left > To: Gary Kline > Cc: Michael Torrie , gtk-app-devel-list@gnome.org > > On Sun, Jan 29, 2012 at 02:36:03PM -0800, Gary Kline wrote: > > i've seen this and don't like it; i'd rather have every > > Konsole have its own menubar. same with other GUI apps. > > Me too but OS X does this. Aparrently, it does not matter nowadays > whether something makes sense or not but only whether OS X does it... > > Some methods how to disable it are described here: > > http://www.webupd8.org/2011/03/disable-appmenu-global-menu-in-ubuntu.html > > In short, get rid of it globally: > > sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt > > or disable it while running specific program: > > UBUNTU_MENUPROXY= program args... > > > at least for ubuntu linux, i > > need the `gtk-config --cflags [etc]` > > You definitely do NOT need gtk-config. It was used in Gtk+ 1.x and has > been replaced with pkg-config. > > > it may be hthat ubuntu is moving toward gtk-3.0 and > > dropping the older releases. {?} > > It should not be directly related to these issues although Gtk+ 3.x > indeed will bring new methods to do unexpected things to menus. > > For me this all means classical application menubars are dead and I will > not use them in newly written programs at all. Do you really mean that is your coming appa you will have no "File, Edit, Whatever, Help" bars? Or am i misunderstanding the name of menubar? i like at least File because it usually gives a way of quitting the app? gary ps: more coming re above topics! > > Yeti > -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On 01/29/2012 06:33 PM, Gary Kline wrote: > Do you really mean that is your coming appa you will have no > "File, Edit, Whatever, Help" bars? Or am i misunderstanding > the name of menubar? i like at least File because it > usually gives a way of quitting the app? What he means is that more and more apps are choosing other ways to present the user with options. Like context-sensitive toolbars. Or recently Mark Shuttleworth of Ubuntu demonstrated a system that you could type or speak and it would search for commands in the app (really a fancy way of searching a menu so menus are still relevant). In my little app I shared with you I chose not to have a menubar because it wouldn't have served any purpose. The current feature set is entirely reached via the UI in the main window. To close an app you could set up a shortcut key, usually Ctrl-Q, or sometimes Ctrl-W (window close) to terminate your app. Or let someone just hit the (X) button. Either way, very few people probably use File->Quit to quit. I know I don't. I use Ctrl-Q or Ctrl-W most of the time. Or close the window with the decoration. Menus do have their place of course. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: no "File", "Edit, "Help" strings in upper left
On Sun, Jan 29, 2012 at 10:06:00PM -0700, Michael Torrie wrote: > Date: Sun, 29 Jan 2012 22:06:00 -0700 > From: Michael Torrie > Subject: Re: no "File", "Edit, "Help" strings in upper left > CC: gtk-app-devel-list@gnome.org > > On 01/29/2012 06:33 PM, Gary Kline wrote: > > > Do you really mean that is your coming appa you will have no > > "File, Edit, Whatever, Help" bars? Or am i misunderstanding > > the name of menubar? i like at least File because it > > usually gives a way of quitting the app? > > What he means is that more and more apps are choosing other ways to > present the user with options. Like context-sensitive toolbars. Or > recently Mark Shuttleworth of Ubuntu demonstrated a system that you > could type or speak and it would search for commands in the app (really > a fancy way of searching a menu so menus are still relevant). > > In my little app I shared with you I chose not to have a menubar because > it wouldn't have served any purpose. The current feature set is > entirely reached via the UI in the main window. > > To close an app you could set up a shortcut key, usually Ctrl-Q, or > sometimes Ctrl-W (window close) to terminate your app. Or let someone > just hit the (X) button. Either way, very few people probably use > File->Quit to quit. I know I don't. I use Ctrl-Q or Ctrl-W most of the > time. Or close the window with the decoration. > > Menus do have their place of course. i do, use the File->quit, but as a last resort :-| a more rational use of a top menubar would be to give the user the choice to look at the options that espeak has: from gender to speed of speech to pitch. Another would be to offer a help summary. since the menubar feature works on debian, that may be the best place to do further devel work. it is painful using ubuntu as a gtk development platform. > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list