Re: how to disable alt keys in gtk application
- From: Michael Torrie <torriem cs byu edu>
- To: Syed Irfan <CrazyCrusoe yahoo com>, gtk-list gnome org
- Subject: Re: how to disable alt keys in gtk application
- Date: 11 Jan 2002 19:52:54 -0700
I've done something similar with skipstone, which is also a
mozilla-based browser, but with a much simpler interface and thus easier
to hack. I just turned off various widgets in the ui and was able to
control everything.
I made the url box insensitive, so you can't go to a different page,
removed all entries from the menus that would allow navigation other
than link-following, disabled the context-menus of the gecko engine.
Basically, since it's all straight gtk, instead of gnome-based,
skipstone is far easier to customize into kiosk mode. (galeon is quite
overkill).
Contact me if you want to have a copy of my code. Also download the
real version (search freshmeat) and you'll see that the interface code
is well separated, and it's not hard at all to make a nice kiosk out of
it.
Having said that, the galeon developers (and skipstone too) might
consider allowing some form of control over function through a system
config file. That way we could just put galeon or skipstone in kiosk
mode and have it locked down without any special programming. I think
there would be significant demand for this for internet kiosks, etc.
Michael
On Fri, 2002-01-11 at 17:22, Syed Irfan wrote:
> hi
>
> i am working on a stripped down webbrowser(galeon) i have disabled the
> crtl keys, this is for an internet kiosk
> for example ctrl+x will not do any thing
>
> how do i disable alt+f+x ? i have looked into the code but i couldnt
> find how i can disable the alt+x+x key which brings up the file/edit
> menu
> or how to disable the menu popup when alt+f is pressed ?
>
> please help
> need help urgently
>
> thanks verymuch
>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
--
Public key available from http://students.cs.byu.edu/~torriem
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]