Re: [Vala] GTKBuilder example doesn't work
- From: Damien Radtke <damienradtke gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] GTKBuilder example doesn't work
- Date: Mon, 15 Aug 2011 16:38:06 -0700
Sorry to spam the list, but I ran into another problem I can't figure out.
I got the example to work, but the handler fails if it's connected to a
GtkMenuItem. The button's "clicked" handler accepts an argument for its
source, but when I try to do the same for a menu item's "activated" signal,
the program gets an error saying that the assertion "source != NULL" failed.
Is this not supported?
On Mon, Aug 15, 2011 at 4:26 PM, Damien Radtke <damienradtke gmail com>wrote:
Never mind, forgot to include gmodule-2.0. -_-
On Mon, Aug 15, 2011 at 4:13 PM, Damien Radtke <damienradtke gmail com>wrote:
Using valac version 0.12.0, the example at this page doesn't work:
https://live.gnome.org/Vala/GTKSample#Loading_User_Interface_from_XML_File
I can load the interface fine, but I get errors saying that none of the
signal handlers can be found. Any idea why this wouldn't work?
~Damien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]