Re: href-links with gtkmm
- From: "Murray Cumming" <murrayc murrayc com>
- To: demrit gnu org
- Cc: gtkmm-list gnome org
- Subject: Re: href-links with gtkmm
- Date: Fri, 7 Jul 2006 10:51:23 +0200 (CEST)
> I'm want develop some application using gtkmm library, but I
> want know how can I do a link to a web site using gtkmm. I has find
> around your web site, but I can't found anything about. I would
> appreciate any documentation about it or examples using this feature.
The AboutDialog can do this automatically. For special link widgets
elsewhere, I think you have these three choices now:
1.
Gnome::UI::Href:
http://www.gtkmm.org/gnomemm2/reference/html/classGnome_1_1UI_1_1HRef.html
But that's in libgnomeuimm, and it's not a very nice library in general.
2.
Gtk::LinkButton
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1LinkButton.html
But that's only in gtkmm 2.9/2.10, which will not be in mainstream
distributions until a few months from now.
3.
Reimplement something in your application, using these as insipiration.
But it might depend on exactly how you would like to present the link in
your UI. Do you want it in a button, or in a TextView, or label, or
somewhere else?
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]