Juan Alejandro Knight, el 16 de mayo a las 17:19 me escribiste: > te paso un link con todos los metodos del Widget > http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html > > no se si te servira el siguiente metodo (al parecer devuelve lo que pedis, > antes de renderizar/show() ) > > Glib::RefPtr<Gdk::Colormap> Gtk::Widget::get_colormap ( ) > ------------------------------------------------------------------------------------- > Gets the colormap that will be used to render widget. > No reference will be added to the returned colormap; it should not be > unreferenced. > Returns: > The colormap used by widget.
Colormap[1] != Bitmap Yo buscaría más por el lado de GDK. Todos los Widgets[2] tienen un Window[3] asociado[4], y todo Window es[5] un GdkDrawable[6] que con un poco de suerte podés "dumpear" desde el lado del *cliente* a través[7] de un GdkImage[8] para meterlo[9] en un PixBuf[10]. Para más referencia... bueno, seguí las referencias =P [1] http://library.gnome.org/devel/gdk/stable/gdk-Colormaps-and-Colors.html#GdkColormap [2] http://library.gnome.org/devel/gtk/stable/GtkWidget.html [3] http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#GdkWindow [4] http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-struct [5] http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#id2826276 [6] http://library.gnome.org/devel/gdk/stable/gdk-Drawing-Primitives.html#GdkDrawable [7] http://library.gnome.org/devel/gdk/stable/gdk-Drawing-Primitives.html#gdk-drawable-get-image [8] http://library.gnome.org/devel/gdk/stable/gdk-Images.html#GdkImage [9] http://library.gnome.org/devel/gdk/stable/gdk-Drawing-Primitives.html#gdk-draw-image [10] http://library.gnome.org/devel/gdk/stable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- Un barco con animales, amigos míos. Creyendo salvarse de la inundación. Mientras yo, sufro la ruptura de mi corazón.
_______________________________________________ Lista de correo Programacion. [email protected] http://listas.fi.uba.ar/mailman/listinfo/programacion
