On 8 Sep 2011, at 11:20, John Emmas wrote:
> On 7 Sep 2011, at 15:13, Craig wrote:
>
>> Hi John,
>>
>> Depending upon your installation of gtk, I think there is a very good
>> example of drag and drop in the /usr/bin/gtk-demo.
>>
>> [...]
>>
>> Other than that, I would do a web search for gtk
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