Changes

Jump to navigation Jump to search
Line 102: Line 102:  
In that case we are creating a new instance of <tt>Gdk.Cursor</tt> every time that this chunk of code is called. I think that we could define all the cursor used by the Activity once at the beginning of the file maybe. ''We should discuss about this.''
 
In that case we are creating a new instance of <tt>Gdk.Cursor</tt> every time that this chunk of code is called. I think that we could define all the cursor used by the Activity once at the beginning of the file maybe. ''We should discuss about this.''
   −
== Use Gtk.Box instead Gtk.HBox / Gtk.VBox ==
+
== Use Gtk.Box instead Gtk.HBox / Gtk.VBox | Gtk.HSeparator / Gtk.VSeparator ==
    
As [http://developer.gnome.org/gtk3/3.5/GtkHBox.html#GtkHBox.description its documentation says], Gtk.VBox and Gtk.HBox have been deprecated. So, we should use Gtk.Box instead them. Replacing:
 
As [http://developer.gnome.org/gtk3/3.5/GtkHBox.html#GtkHBox.description its documentation says], Gtk.VBox and Gtk.HBox have been deprecated. So, we should use Gtk.Box instead them. Replacing:
Line 119: Line 119:     
  self.list_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
 
  self.list_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
 +
 +
The same happens with Gtk.Separator: [http://developer.gnome.org/gtk3/3.5/GtkVSeparator.html#GtkVSeparator.description link to the documentation]
    
= Notes =
 
= Notes =
266

edits

Navigation menu