The New Cult of Dead Cow

November 5, 2005






Ponle Splash a tu aplicacion

Filed under: Programacion, Mono, Boo

Tienes una aplicacion recien salida del horno, demora un poco en cargar?, te gustaria que se viera un poco mejor ? pues ponle un splash


import System
import Gtk from \"gtk-sharp\"
import Gdk from \"gdk-sharp\"
import GLib from \"glib-sharp\"
import OpenBss
	
public class Splash:
	
	private wsplash as Gtk.Window
	
	def constructor():
		wsplash = Gtk.Window(Gtk.WindowType.Popup)
		wsplash.WindowPosition = WindowPosition.Center
		wsplash.Modal = true
		wsplash.Resize ( 138,184 )
	
		wsplash.AppPaintable=true
	
		logo = Gdk.Pixbuf(\"pixmaps/logo_obbs.png\")
	
		map1 as Pixmap
		map2 as Pixmap
		logo.RenderPixmapAndMask(map1,map2, 255)
	
		wsplash.ShapeCombineMask(map2,0,0)
		wsplash.ShowAll()
	
		wsplash.GdkWindow.SetBackPixmap(map1, false)
	
		GLib.Timeout.Add(2500, AutoClose)
	
	def AutoClose():
		wsplash.Destroy()
		return false
	



1 Comment »

The URI to TrackBack this entry is: http://necudeco.blogsome.com/2005/11/05/ponle-splash-a-tu-aplicacion/trackback/

  1. Por favor,me puedes enviar el pseudocódigo del juego del Sudoku en Java.Mi correo es josetele3488@hotmail.com
    Muchas gracias

    Comment by Jose — November 7, 2005 @ 8:35 am

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>























Get free blog up and running in minutes with Blogsome
Theme designed by B A Khan