All,
I have implemented word completion with GtkSourceView, but I cannot find a
simple way to prevent the provider and proposals from popping up until 3 (or
more) characters are typed? Is there an easier way to adjust this rather than
counting chars with an iter from every begins_word and
Le 27/07/2018 à 23:05, c.buhtz--- via gtk-app-devel-list a écrit :
> Dear Reuben
>
> On 2018-07-23 08:03 Reuben Rissler wrote:
>> This is how I have done it in the past. Note, I do not proclaim
>> spectacular or Pythonic code, and would humbly accept any corrections
>> and/or better ways to
Dear Colomban,
thanks for your great hint.
> You get inserted/deleted signals for moved rows so you can know
> when and how things changed if needed
This signals are also emited when I manually insert and delete data in
the model. How do I know if a insert/delete signal was caused by a drag
and
On 07/28/2018 08:12 AM, John Coppens wrote:
> David, is 'set_minimum_key_length' what you are looking for?
Oh, no, no, no, not entry-completion, *word-completion* in a text editor
window. (which explains why it was no where to be found in the gtkSourceView
code :)
--
David C. Rankin, J.D.,P.E.
On 07/28/2018 08:12 AM, John Coppens wrote:
> On Sat, 28 Jul 2018 03:35:02 -0500
> "David C. Rankin" wrote:
>
>> All,
>>
>> I have implemented word completion with GtkSourceView, but I cannot
>> find a simple way to prevent the provider and proposals from popping
>> up until 3 (or more)
On 07/28/2018 08:29 AM, John Coppens wrote:
> On Sat, 28 Jul 2018 07:42:16 -0400
> Reuben Rissler wrote:
>
>>> Thanks for the suggestion. Believe it or not, I had just arrived at
>>> that same solution! I first tried to use GLib.timeout_add(), and
>>> that worked too, if the time was larger than
Thanks for the suggestion. Believe it or not, I had just arrived at that
same solution! I first tried to use GLib.timeout_add(), and that worked too,
if the time was larger than 300 - 400 ms, which is on the verge of annoying.
I then tried idle_add(), and I guess that makes the 300-400ms
On Sat, 28 Jul 2018 03:35:02 -0500
"David C. Rankin" wrote:
> All,
>
> I have implemented word completion with GtkSourceView, but I cannot
> find a simple way to prevent the provider and proposals from popping
> up until 3 (or more) characters are typed? Is there an easier way to
> adjust
On Sat, 28 Jul 2018 07:42:16 -0400
Reuben Rissler wrote:
> > Thanks for the suggestion. Believe it or not, I had just arrived at
> > that same solution! I first tried to use GLib.timeout_add(), and
> > that worked too, if the time was larger than 300 - 400 ms, which is
> > on the verge of
If it's only for reordering the elements in the tree view, you can use
the built-in Gtk.TreeView.set_reorderable() method [1], and you're all
set. You get inserted/deleted signals for moved rows so you can know
when and how things changed if needed, and the underlying model is also
changing
10 matches
Mail list logo