RE: AW: Icons and Buttons



That was my first thought:
======== snip ======
    btnHelp->set_use_underline(true);
    btnHelp->set_focus_on_click(true);
    btnHelp->add_pixlabel("\icons\Question.ico","_Help");
    btnHelp->signal_clicked().connect( sigc::mem_fun(*this, 
&Jaime::UnderDev) );
=========

and that is also in the gtkmm virtual book, but for some reason neither the '.ico' nor the '.gif' files are displayed.
Please note that there are no errors at compile time and I am working under WinXP, could this be the problem.

TIA

"Alexander Gehlert" <mail gehli com> wrote:

>Hi,
>
>Just add a pixlabel to your button...
>
>http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Bin.html
>
>
>Alex
>
>-----Ursprüngliche Nachricht-----
>Von: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] Im
>Auftrag von Jamiil
>Gesendet: Samstag, 5. November 2005 00:25
>An: gtkmm-list gnome org
>Betreff: Icons and Buttons
>
>Hi folks!
>I'd like to add a icon to a button, say for instance the question mark icon
>to the help button. How do I do this?
>
>TIA
>
>--
>* You cannot exercise your power to a point of humiliation.
>                       - Jean Chretien
>
>* It's amazing how the small seeds of distrust and misunderstanding
>can yield a crop of hate and death...
>
>* If that document has fine printing anywhere, just chuck it in the garbage
>                      - Jorge Escalante
>Ma'assalama! Adiós! bye!
>
>
>__________________________________________________________________
>Switch to Netscape Internet Service.
>As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
>
>Netscape. Just the Net You Need.
>
>New! Netscape Toolbar for Internet Explorer
>Search from anywhere on the Web and block those annoying pop-ups.
>Download now at http://channels.netscape.com/ns/search/install.jsp
>_______________________________________________
>gtkmm-list mailing list
>gtkmm-list gnome org
>http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
>
>--
>Internal Virus Database is out-of-date.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005
>
>
>
>
>--
>Internal Virus Database is out-of-date.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005
>
>


-- 
* You cannot exercise your power to a point of humiliation.
                       - Jean Chretien

* It's amazing how the small seeds of distrust and misunderstanding
can yield a crop of hate and death...

* If that document has fine printing anywhere, just chuck it in the garbage
                      - Jorge Escalante
Ma'assalama! Adiós! bye!


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



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