Interface Buildable

All Superinterfaces:
Proxy
All Known Implementing Classes:
AboutDialog, AboutDialog, AboutWindow, Actionable.Actionable$Impl, ActionBar, ActionRow, AlertDialog, AnyFilter, AppChooser.AppChooser$Impl, AppChooserButton, AppChooserDialog, AppChooserWidget, ApplicationWindow, ApplicationWindow, AspectFrame, Assistant, Avatar, Banner, Bin, BottomSheet, Box, Breakpoint, BreakpointBin, Buildable.Buildable$Impl, Button, ButtonContent, ButtonRow, Calendar, Carousel, CarouselIndicatorDots, CarouselIndicatorLines, CellArea, CellArea.CellArea$Impl, CellAreaBox, CellEditable.CellEditable$Impl, CellView, CenterBox, CheckButton, Clamp, ClampScrollable, ColorButton, ColorChooserDialog, ColorChooserWidget, ColorDialogButton, ColumnView, ComboBox, ComboBoxText, ComboRow, CompletionCell, ConstraintLayout, Dialog, Dialog, DragIcon, DrawingArea, DropDown, Editable.Editable$Impl, EditableLabel, EmojiChooser, Entry, EntryCompletion, EntryRow, EveryFilter, Expander, ExpanderRow, FileChooserDialog, FileChooserWidget, FileFilter, Fixed, Flap, FlowBox, FlowBoxChild, FontButton, FontChooserDialog, FontChooserWidget, FontDialogButton, Frame, GLArea, GraphicsOffload, Grid, GridView, Gutter, GutterRenderer, GutterRenderer.GutterRenderer$Impl, GutterRendererPixbuf, GutterRendererText, HeaderBar, HeaderBar, HoverDisplay, IconView, Image, InfoBar, InlineViewSwitcher, Inscription, Label, Layout, LayoutSlot, Leaflet, LevelBar, LinkButton, ListBase, ListBase.ListBase$Impl, ListBox, ListBoxRow, ListStore, ListView, LockButton, Map, MediaControls, MenuButton, MessageDialog, MessageDialog, MultiFilter, MultiFilter.MultiFilter$Impl, MultiLayoutView, MultiSorter, Native.Native$Impl, NavigationPage, NavigationSplitView, NavigationView, Notebook, Overlay, OverlaySplitView, PageSetupUnixDialog, Paned, PasswordEntry, PasswordEntryRow, Picture, Popover, PopoverBin, PopoverMenu, PopoverMenuBar, PreferencesDialog, PreferencesGroup, PreferencesPage, PreferencesRow, PreferencesWindow, PrintUnixDialog, ProgressBar, Range, Revealer, Root.Root$Impl, Scale, ScaleButton, Scrollbar, ScrolledWindow, SearchBar, SearchEntry, Separator, ShortcutController, ShortcutLabel, ShortcutLabel, ShortcutsDialog, ShortcutsGroup, ShortcutsSection, ShortcutsSection, ShortcutsShortcut, ShortcutsWindow, Sidebar, SidebarSection, SizeGroup, SpinButton, Spinner, Spinner, SpinRow, SplitButton, Squeezer, Stack, StackSidebar, StackSwitcher, Statusbar, StatusPage, StringList, StyleSchemeChooserButton, StyleSchemeChooserWidget, StyleSchemePreview, Swipeable.Swipeable$Impl, Switch, SwitchRow, TabBar, TabButton, TabOverview, TabView, Text, TextTagTable, TextView, ToastOverlay, ToggleButton, ToggleGroup, ToolbarView, TreeExpander, TreeStore, TreeView, TreeViewColumn, Video, View, Viewport, ViewStack, ViewSwitcher, ViewSwitcherBar, ViewSwitcherSidebar, ViewSwitcherTitle, VolumeButton, WebView, WebViewBase, Widget, Widget.Widget$Impl, Window, Window, WindowControls, WindowHandle, WindowTitle, WrapBox

@Generated("org.javagi.JavaGI") public interface Buildable extends Proxy

Allows objects to extend and customize deserialization from ui files.

The GtkBuildable interface includes methods for setting names and properties of objects, parsing custom tags and constructing child objects.

It is implemented by all widgets and many of the non-widget objects that are provided by GTK. The main user of this interface is GtkBuilder. There should be very little need for applications to call any of these functions directly.

An object only needs to implement this interface if it needs to extend the GtkBuilder XML format or run any extra routines at deserialization time.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    The Buildable$Impl type represents a native instance of the Buildable interface.
    static class 
    Contains methods to let GtkBuilder construct an object from a GtkBuilder UI definition.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable String
    Gets the ID of the this Buildable object.
    static @Nullable Type
    Get the GType of the Buildable class.

    Methods inherited from interface Proxy

    handle
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the Buildable class.
      Returns:
      the GType
    • getBuildableId

      default @Nullable String getBuildableId()

      Gets the ID of the this Buildable object.

      GtkBuilder sets the name based on the ID attribute of the <object> tag used to construct the buildable.

      Returns:
      the ID of the buildable object