This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

1. Developing Gedit plugins - the missing notes

   1 currDoc = someWindow.get_active_document()
   2 selectionIters = currDoc.get_selection_bounds()
   3 if selectionIters:
   4         selectedText = selectionIters[0].get_text(selectionIters[1])

2024-10-23 11:24