Re: set_secondary_text??



On 3/15/07, Jamiil Abduqadir <jalqadir gmail com> wrote:
While porting a small library from MS-W to LINUX, I have fund that some of
the methods in MS are not implemented in LINUX. For instance,
 void Gtk::MessageDialog::set_secondary_text (const
Glib::ustring& text, bool use_markup=false); although it appears in the
documentation of the MS port, and on the Internet documentation for
GTKmm-2.4 release, the LINUX documentation does not include it and the it
does not exist in the in the gtkmm-2.4 development library. It seems a very
simple method, it should not be a big problem to include it in the lib.
Whell I just thought I should let you know.
 OS:
 LINUX-Debian - Sarge
 Library:
 libgtkmm-2.4-dev
 Ref:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1MessageDialog.html
file:///usr/share/doc/libgtkmm-2.4-doc/reference/html/classGtk_1_1MessageDialog.html
 Have a good day!

--
When in doubt remember that,
"By the Guidence of God, an amateur built The Ark... and that guided by
science 'they' built The Titanic!"
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



Jamiil,

Perhaps you have an old version of the library.

#include <gtkmm.h>

int
main( int argc, char* argv[] )
{
   Gtk::Main m( argc, argv ) ;

   Gtk::MessageDialog dialog( "Hello" ) ;
   dialog.set_secondary_text( "World!", false ) ;

   m.run( dialog ) ;

   exit( 0 ) ;
}


Compiles and runs fine for me.

Paul Davis



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