[Gtk-sharp-list] show gnome window in glade
Jonathan Pryor
jonpryor@vt.edu
Sat, 15 May 2004 18:57:09 -0400
On Sat, 2004-05-15 at 18:21, Rob Brown-Bayliss wrote:
<snip/>
> Some things I dont quite get though, is "Application" a variable setup
> some where? is it the same as "Gtk.Application" ?
I would imagine it is, except you'd need a ``using Gtk;'' line for that
to be true. Anyone else want to field this?
> in this line:
> public GladeApp (string[] args) : base ("thd", "0.1", Modules.UI, args,
> new object [0])
>
> what is "base" representing? and where does it come from?
"base" is the C# language keyword which represents your base class. :-)
If you're familiar with Java, it's the same as the "super" keyword. If
you're familiar with C++, it's equivalent to the actual base class name
``Gnome::Program''.
In that particular line, you're calling one of the Gnome.Program
constructors.
- Jon