22 lines
518 B
Vala
22 lines
518 B
Vala
namespace LAview.Core.Plugins {
|
|
using Gtk, LAview;
|
|
|
|
class ObjectExampleDialog1 {
|
|
Dialog dialog;
|
|
|
|
ObjectExampleDialog1 (Window parent) throws Error {
|
|
var builder = new Builder ();
|
|
builder.add_from_file (AppDirs.ui_dir + "/laview-plugin-object-example.glade");
|
|
builder.connect_signals (this);
|
|
|
|
dialog = builder.get_object ("object_example_dialog") as Dialog;
|
|
if (parent != null) dialog.transient_for = parent;
|
|
dialog.modal = true;
|
|
}
|
|
|
|
public void show_all () {
|
|
dialog.show_all ();
|
|
}
|
|
}
|
|
}
|