get_button_layout_schema


Description:


[ Version ( deprecated = true , deprecated_since = "5.5.0" , replacement = "" ) ]
public string? get_button_layout_schema ()

Warning: get_button_layout_schema is deprecated since 5.5.0.

This methods returns the schema used by Granite.Widgets.Utils.get_default_close_button_position to determine the close button placement. It will first check for the pantheon/gala schema and then fallback to the default gnome one. If neither is available, null is returned. Make sure to check for this case, as otherwise your program may crash on startup.

Returns:

the schema name. If the layout could not be determined, a warning will be thrown and null will be returned


Package: granite