Pango::Layout text within Gtk::Entry
- From: Erdem Gokhan YILMAZ <gokhan yilmaz havelsan com tr>
- To: gtkmm-list gnome org
- Subject: Pango::Layout text within Gtk::Entry
- Date: Wed, 27 Apr 2005 19:48:35 +0300
Hi,
I have been looking around for a solution to my problem of ,
Displaying a text which has markup on it (Pango::Layout::set_markup)
within Gtk::Entry()
but couldnt find one.
I have tried the following within a -----> class ventry:public
Gtk::Entry()
...
this->get_layout()->set_markup(markup);
...
which doesn't work :( but the same logic and the same markup works quite
well for a Gtk::Label()
...
Gtk::Label *x=new Gtk::Label();
x->set_markup(markup);
...
I will appreciate any working C++ example or an idea :)
Thanks in advance.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]