Re: [gnome-db] getting GnomeDb widgets from Glade
- From: Marius Andreiana <mandreiana rdslink ro>
- To: gnome-db <gnome-db-list gnome org>
- Subject: Re: [gnome-db] getting GnomeDb widgets from Glade
- Date: Sat, 06 Dec 2003 01:31:08 +0200
On Tue, 2003-12-02 at 10:54, Marius Andreiana wrote:
> Hi
>
> In C#, I'm trying to get a reference to gnomedb widgets from Glade:
>
> Glade.XML gui;
> GnomeDb.Grid db_grid;
> Gtk.VBox vbox_main;
>
> gui = new Glade.XML( null, "../gui/test.glade", "application", null );
> gui.Autoconnect( this );
> db_grid = (GnomeDb.Grid)gui.GetWidget( "db_grid" ) ;
An interesting discovery:
Console.WriteLine("WID={0}",gui.GetWidget("db_grid").ToString() );
gives
WID=Gtk.VBox
Glade file is ok:
<widget class="GnomeDbGrid" id="db_grid">
--
Marius Andreiana
Galuna - Solutii Linux in Romania
http://www.galuna.ro
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]