mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Add GtkComboBoxText items
This commit is contained in:
parent
f1e1811e1f
commit
aa447466c0
12 changed files with 137 additions and 17 deletions
|
@ -75,7 +75,8 @@ def using_gtk(ast_node, match_variables):
|
|||
def namespace(ast_node, match_variables):
|
||||
yield Completion("Gtk", CompletionItemKind.Module, text="Gtk.")
|
||||
for ns in ast_node.root.children[ast.Import]:
|
||||
yield Completion(ns.namespace, CompletionItemKind.Module, text=ns.namespace + ".")
|
||||
if ns.gir_namespace is not None:
|
||||
yield Completion(ns.gir_namespace.name, CompletionItemKind.Module, text=ns.gir_namespace.name + ".")
|
||||
|
||||
|
||||
@completer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue