mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Inline menus didn't work anyway--menus have to be referenced by ID (though, curiously, you *can* put the <menu> within the <property> tag and immediately reference it--but that's a hack, and not what blueprint-compiler was doing).
47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
""" Contains all the syntax beyond basic objects, properties, signal, and
|
|
templates. """
|
|
|
|
from .attributes import BaseAttribute, BaseTypedAttribute
|
|
from .expression import Expr
|
|
from .gobject_object import Object, ObjectContent
|
|
from .gobject_property import Property
|
|
from .gobject_signal import Signal
|
|
from .gtk_a11y import A11y
|
|
from .gtk_combo_box_text import Items
|
|
from .gtk_file_filter import mime_types, patterns, suffixes
|
|
from .gtk_layout import Layout
|
|
from .gtk_menu import menu
|
|
from .gtk_size_group import Widgets
|
|
from .gtk_string_list import Strings
|
|
from .gtk_styles import Styles
|
|
from .gtkbuilder_child import Child
|
|
from .gtkbuilder_template import Template
|
|
from .imports import GtkDirective, Import
|
|
from .ui import UI
|
|
from .values import TypeValue, IdentValue, TranslatedStringValue, FlagsValue, QuotedValue, NumberValue
|
|
|
|
from .common import *
|
|
|
|
OBJECT_CONTENT_HOOKS.children = [
|
|
Signal,
|
|
Property,
|
|
A11y,
|
|
Styles,
|
|
Layout,
|
|
mime_types,
|
|
patterns,
|
|
suffixes,
|
|
Widgets,
|
|
Items,
|
|
Strings,
|
|
Child,
|
|
]
|
|
|
|
VALUE_HOOKS.children = [
|
|
TypeValue,
|
|
TranslatedStringValue,
|
|
FlagsValue,
|
|
IdentValue,
|
|
QuotedValue,
|
|
NumberValue,
|
|
]
|