Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
    __gsignals__ = {
+
This page is being performed while I'm porting InfoSlicer Activity to Gtk3.
-        'article-selected' : (SIGNAL_RUN_FIRST, None, [TYPE_PYOBJECT]),
  −
-        'article-added'    : (SIGNAL_RUN_FIRST, None, [TYPE_PYOBJECT]),
  −
-        'article-deleted'  : (SIGNAL_RUN_FIRST, None, [TYPE_PYOBJECT]) }
  −
+        'article-selected' : (GObject.SignalFlags.RUN_FIRST, None, [object]),
  −
+        'article-added'    : (GObject.SignalFlags.RUN_FIRST, None, [object]),
  −
+        'article-deleted'  : (GObject.SignalFlags.RUN_FIRST, None, [object]) }
      +
There is a [http://bugs.sugarlabs.org/ticket/3742 ticket] with some useful information that I'm using on the porting and to keep tracking this port. Besides, this wiki page will be useful to write some code snippets about what are the difficulties that I'm having on the port and maybe can be useful for someone else.
   −
* http://bugs.sugarlabs.org/ticket/3743
+
I will take [[User:Humitos/PortingGetBooks|this guide]] as reference on the Gtk3 porting.
 +
 
 +
= Remove hippo =
 +
 
 +
First of all, I had to remove the ''hippo'' related things and the [[Development_Team/sugar-port|sugar-port]] ([http://bugs.sugarlabs.org/ticket/3743 ticket]) wrapper.
 +
 
 +
= Signals =
 +
 
 +
== Change TYPE_PYOBJECT type from a signal ==
 +
 
 +
We should replace the <tt>TYPE_PYOBJECT</tt>
 +
 
 +
'article-selected' : (SIGNAL_RUN_FIRST, None, [TYPE_PYOBJECT]),
 +
 
 +
by the Python's <tt>object</tt> type
 +
 
 +
'article-selected' : (GObject.SignalFlags.RUN_FIRST, None, [object]),
 +
 
 +
 
 +
= Useful links =
 +
 
 +
* Ticket that removes hippo and sugar-port: http://bugs.sugarlabs.org/ticket/3743
266

edits

Navigation menu