Features/GTK3/Porting/InfoSlicer: Difference between revisions

Humitos (talk | contribs)
No edit summary
Humitos (talk | contribs)
Line 41: Line 41:
  Gdk.EventType._2BUTTON_PRESS
  Gdk.EventType._2BUTTON_PRESS
  Gdk.EventType._3BUTTON_PRESS
  Gdk.EventType._3BUTTON_PRESS
== Gtk.TextBuffer.get_slice() needs a new argument ==
We need a new argument to indicate if we want to include the ''hidden_chars'' as well. It wasn't required in gtk2 and by default it was '''True'''
buf = gtk.TextBuffer()
buf.get_slice(start, end)
replaced by:
buf = Gtk.TextBuffer()
buf.get_slice(start, end, include_hidden_chars)


= Missing / Problematic things (not ported yet) =
= Missing / Problematic things (not ported yet) =