Yes, GtkLabel indeed supports multi lines. Both with and without markup.
Here's an example:
#include
#include
int main(int argc, char **argv)
{
gtk_init(&argc, &argv);
GtkWidget *w_mw = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(w_mw,"destroy",gtk_main_quit, NULL);
Gt
You mean using a label instead of a text view then?
Or can I use gtk_label_set_markup() together with a text-buffer?
A label can use Pango-Markup language, but I didn't find a way to make a
newline using a markup.
When parsing xml, all line-ends are ignored.
regards,
Arne
Am 11.09.2011 13:4
Just use gtk_label_set_markup().
Regards,
Dov
On Sat, Sep 10, 2011 at 20:35, Craig wrote:
> Hi,
>
> I am not expert on this issue, but isn't Pango the way to go. I think
> you should look up the Pango functions or how gtk deals with the Pango
> thing.
>
> Craig Bakalian
>
> > Hello,
> >
> > in
Hi,
I am not expert on this issue, but isn't Pango the way to go. I think
you should look up the Pango functions or how gtk deals with the Pango
thing.
Craig Bakalian
> Hello,
>
> in my application I store some Text data in xml files.
> Some nodes are displayed via a gtk-label or an gtk-entry,
Hello,
in my application I store some Text data in xml files.
Some nodes are displayed via a gtk-label or an gtk-entry, others are displayed
via a gtk text-view.
Now I want to extend the text-view (and storage) with the capability to handle
some formated text.
I just need things like bold text