Re: pointer/etc



On Fri, 12 Oct 2001, Alexey Semenov wrote:

> hi,
> 
> > > >  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.
> > >
> >
> >  I don't believe you.
> >  Pressing Ctrl-V in GtkText calls gtk_editable_paste_clipboard directly - see
> > gtktext.c:control_keys. If gtk_editable_paste_clipboard can't paste data
> > placed to clipboard by other apps, how one can paste to GtkText by pressing
> > Ctrl-V?
> 
>  actually i don't know, but this functions don't work outside. and
> more - i can have two selections in two gtk+ applications (inside text
> widgets).

 There are 2 selections in X (accessible by user) - primary and secondary.
Primary is when you Ctrl-C something in some app, secondary contains the text
you just select with mouse. Add to that that Qt selection support is broken
horribly (may be you are testing with some Qt app).

 Could you please open any gtk app (better some editor), select something,
then Edit->Copy, and then call gtk_editable_paste_clipboard - does it paste
something? It should.

 Best regards,
  -Vlad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]