Re: [Vala] "as" word



var window = builder.get_object("window") as Gtk.Window;

what means this word in this string?

Dynamic cast: if the object returned by builder.get_object() is
inheriting Gtk.Window, window will be of type Gtk.Window; if not,
window will be null (and of type Gtk.Window).

best regards,

-- 
Mój klucz publiczny o identyfikatorze 1024D/E12C5A4C znajduje się na
serwerze hkp://keys.gnupg.net

My public key with signature 1024D/E12C5A4C is on the server
hkp://keys.gnupg.net

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]