Re: Eventobox as Hiperlink



Hi,

The problems is that i need a way to call from other kind of widgets.. for
example froam a menu..

Abaut
     |_ abaut
     |_ Help
     |_ Web Page

like in..

m_refActionGroup->add( Gtk::Action::create("HelpSite", Gtk::Stock::CONNECT,
"Visit Help Site"), sigc::mem_fun(*this, &mainWindow::visit_web) );


what can i do on mainWindow::visit_web() to open a browser..??

thanks,


On Thu, 10 Jan 2008 09:36:59 +0100, Murray Cumming <murrayc murrayc com>
wrote:
> 
> On Tue, 2008-01-08 at 18:41 +0100, Iker Perez de Albeniz wrote:
>> Hi,
>>
>> I need to make an eventbox to open the default web browser in an URL..
>>
>> for example a "Help" icon-image in an eventBox that when you click on it
>> the browser is opened in the help webpage of my software.
> 
> Isn't a Gtk::LinkButton enough?
>
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1LinkButton.html
> 
> --
> Murray Cumming
> murrayc murrayc com
> www.murrayc.com
> www.openismus.com



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