Public bug reported:

Description: Ubuntu 16.04.4 LTS
Release: 16.04

According to:
https://developer.gnome.org/gtk3/stable/GtkCellEditable.html#GtkCellEditable-editing-done

Implementations of GtkCellEditable are responsible for emitting this
signal when they are done editing, e.g. GtkEntry is emitting it when the
user presses Enter.

What I did:
On the http://python-gtk-3-tutorial.readthedocs.io/en/latest/entry.html example 
I added a "connect signal":
        self.entry.connect("editing-done", self.on_editentry_done)

also added the def
    def on_editentry_done(self, widget, *args):
        print('Hi!')

Running the script and pressing either the "enter" or the "return" key,
inside the entry box, expected "Hi!" to be printed on the terminal.

(I have not checked if this is not working in C, I checked only in
python 3)

** Affects: gtk+3.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: python3 xenial

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1765758

Title:
  Gtk.Entry is not receiving editing-done signal (at least in python3,
  ubuntu 16.04)

Status in gtk+3.0 package in Ubuntu:
  New

Bug description:
  Description: Ubuntu 16.04.4 LTS
  Release: 16.04

  According to:
  
https://developer.gnome.org/gtk3/stable/GtkCellEditable.html#GtkCellEditable-editing-done

  Implementations of GtkCellEditable are responsible for emitting this
  signal when they are done editing, e.g. GtkEntry is emitting it when
  the user presses Enter.

  What I did:
  On the http://python-gtk-3-tutorial.readthedocs.io/en/latest/entry.html 
example I added a "connect signal":
          self.entry.connect("editing-done", self.on_editentry_done)

  also added the def
      def on_editentry_done(self, widget, *args):
          print('Hi!')

  Running the script and pressing either the "enter" or the "return"
  key, inside the entry box, expected "Hi!" to be printed on the
  terminal.

  (I have not checked if this is not working in C, I checked only in
  python 3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1765758/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to