Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » Menubar disappears when space bar is pressed [RSS Feed]

#1 March 22, 2008 22:42:10

n.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Menubar disappears when space bar is pressed


Hello,

I was developing and application with pyGtk and glade , under gnome 2.20.1

And I have a funny behavior when I press the space bar. The menu bar
"moves out" of the application ( disappears) and is stored on the top
left of the desktop.

I not undestand where the problem is, and I try to use the space bar as
a key "short cut" on a button of the GUI. Somebody have an idea where
this problem come from ?

Here after the links "before/after" when the press of the space bar is done :http://nbd.free.fr/gtk/capture_before.pnghttp://nbd.free.fr/gtk/capture_after.pngThanks in advance.

Nico






_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#2 March 25, 2008 09:09:19

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Menubar disappears when space bar is pressed


Hello

On Sat, 2008-03-22 at 22:41 +0100, nico wrote:
> Hello,
>
> I was developing and application with pyGtk and glade , under gnome 2.20.1
>
> And I have a funny behavior when I press the space bar. The menu bar
> "moves out" of the application ( disappears) and is stored on the top
> left of the desktop.
>
> I not undestand where the problem is, and I try to use the space bar as
> a key "short cut" on a button of the GUI. Somebody have an idea where
> this problem come from ?
>
> Here after the links "before/after" when the press of the space bar is done :
>http://nbd.free.fr/gtk/capture_before.png>http://nbd.free.fr/gtk/capture_after.png>
> Thanks in advance.

$ gcontool-2 --type bool
--set /desktop/gnome/interface/menus_have_tearoff false


>
> Nico
>
>
>
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-l***@*nome.org
>http://mail.gnome.org/mailman/listinfo/gtk-list--
Ritesh Khadgaray
ॐ मणि पद्मे हूँ
Desktop LinuX N Stuff
Ph: +919970164885
Eat Right, Exercise, Die Anyway.

_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#3 March 25, 2008 20:58:25

n.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Menubar disappears when space bar is pressed


ritz a écrit :
> Hello
>
> On Sat, 2008-03-22 at 22:41 +0100, nico wrote:
>
>> Hello,
>>
>> I was developing and application with pyGtk and glade , under gnome 2.20.1
>>
>> And I have a funny behavior when I press the space bar. The menu bar
>> "moves out" of the application ( disappears) and is stored on the top
>> left of the desktop.
>>
>> I not undestand where the problem is, and I try to use the space bar as
>> a key "short cut" on a button of the GUI. Somebody have an idea where
>> this problem come from ?
>>
>> Here after the links "before/after" when the press of the space bar is done :
>>http://nbd.free.fr/gtk/capture_before.png>>http://nbd.free.fr/gtk/capture_after.png>>
>> Thanks in advance.
>>
>
> $ gcontool-2 --type bool
> --set /desktop/gnome/interface/menus_have_tearoff false
>
>
>
>
Sorry but this command changes nothing and futhermore the

/desktop/gnome/interface/menus_have_tearoff was yet set to off.

Perhaps I have to take a look for the tears offs options in gtk.menu; but I saw
nothing for setting that in glade.

Regards
Nico


_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#4 March 25, 2008 21:11:58

n.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Menubar disappears when space bar is pressed


ritz a écrit :
> Hello
>
> On Sat, 2008-03-22 at 22:41 +0100, nico wrote:
>
>> Hello,
>>
>> I was developing and application with pyGtk and glade , under gnome 2.20.1
>>
>> And I have a funny behavior when I press the space bar. The menu bar
>> "moves out" of the application ( disappears) and is stored on the top
>> left of the desktop.
>>
>> I not undestand where the problem is, and I try to use the space bar as
>> a key "short cut" on a button of the GUI. Somebody have an idea where
>> this problem come from ?
>>
>>
>>

Actually I found a solution for this problem.
I have a BonoboDockItem class for managing the menu bar ; I can set for
the behavior a "Never Floating " option.
When this option is set the menu bar goes no more out if the window.


_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

  • Root
  • » GTK+
  • » Menubar disappears when space bar is pressed [RSS Feed]

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support