Re: pointer/etc
- From: Alexey Semenov <swajj yahoo com>
- To: Vlad Harchev <hvv hippo ru>
- Cc: gtk-list gnome org
- Subject: Re: pointer/etc
- Date: Fri, 12 Oct 2001 11:09:07 +0300 (EEST)
hi,
> > i tried. gtk_editable_*_clipboard() work only inside my application.
>
> Do you mean calling gtk_editable_paste_clipboard for say GtkText doesn't
> paste anything if something is cut to clipboard in *other* app?
yeah.
> > ps: and another question - how intercept key_press for all windows
> > opened in X?
>
> If you mean for all windows including other apps' ones, see man XGrabKey
> Gnome panel uses it for shortcuts like Meta-R => "run program" prompt.
> And it works fine (in gnome-1.4 only, previous versions had severe problems
> which I fixed). See the source (grep gpanel's sources for XGrabKey).
hm... i'd like to pop-up my application when some shortcut is
pressed. and question is - is there smth. in gtk to do like that (or
only the way to call xlib directly)?
>
> HTH.
>
> Best regards,
> -Vlad
>
--
See you later,
Alexey.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]