Re: [gtkmm] How to insert a jpeg image in my window ?
- From: Daniel Elstner <daniel elstner gmx net>
- To: Sylvain LATOUCHE <latouche mathens u-psud fr>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] How to insert a jpeg image in my window ?
- Date: 27 Nov 2002 19:46:21 +0100
Am Mit, 2002-11-27 um 19.19 schrieb Sylvain LATOUCHE:
> Can J have an exemple in order to insert image in window with gtkmm ?
> Thanks to answer
Gtk::Image* image = new Gtk::Image("filename.jpg");
window.add(*Gtk::manage(image));
If you want to draw the image yourself using more low-level
functionality see demos/pixbuf-demo.cc.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]