[Vala] Help with dialogs
- From: Steven Oliver <oliver steven gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Help with dialogs
- Date: Wed, 23 Aug 2017 16:53:48 -0400
Hello,
I've been trying to create a dialog in my application, and it only seems to
half work for me (at best).
At this point in my code:
https://github.com/steveno/balistica/blob/master/src/DragBox.vala#L153
I attempt to create a new dialog box using a custom glade file.
Vala: https://github.com/steveno/balistica/blob/master/src/PbrDialog.vala
Glade: https://github.com/steveno/balistica/blob/master/ui/pbr.glade
It all compiles fine and even runs without crashing. I do however get the
following messages and my dialog always comes up completely empty.
(balistica:11354): Gtk-CRITICAL **: Error building template class
'BalisticaPbrDialog' for an instance of type 'BalisticaPbrDialog': .:32:1
Parsed template definition for type 'BalisiticaPbrDialog', expected type
'BalisticaPbrDialog'
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.
Can anyone help me figure out what I'm doing wrong?
Steven N. Oliver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]