AlertView


Object Hierarchy:

Object hierarchy for AlertView

Description:

public class AlertView : Grid

The AlertView widget shows to the user that some actions are now restricted.

It can be used to show an empty view or hiding a panel when this one is disabled.

Example

public class AlertViewView : Gtk.Grid {
construct {
var alert = new Granite.Widgets.AlertView ("Nothing here", "Maybe you can enable <b>something</b> to hide it but <i>otherwise</i> it will stay here", "dialog-warning");
alert.show_action ("Hide this button");

alert.action_activated.connect (() => {
alert.hide_action ();
});

add (alert);
}
}


Namespace: Granite.Widgets
Package: granite

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Orientable