Re: LinkButton example



On Tue, Apr 15, 2008 at 7:19 PM, Eliot Spitzer
<american communist party gmail com> wrote:
> Could some one please post a simple example of an invocation of the
>  set_uri_hook method for LinkButton and the associated slot function?

void Klass::on_taglink(Gtk::LinkButton* button, const Glib::ustring& uri)
{...}

void Klass::connect_signals()
{
  Gtk::LinkButton::set_uri_hook(sigc::mem_fun(*this, &Klass::on_taglink));
}

   Marko


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