[Vala] Access GTKText

2014-01-14 Thread Gilzad Hamuni
Hi list,   I've compiled and tested this C-tutorial that shows how to have different fonts, colors and and sizes in a single text box: http://www.gtk.org/tutorial1.2/gtk_tut-14.html   GtkWidget *text; ... text = gtk_text_new (NULL, NULL); ... fixed_font = gdk_font_load ("-misc-fixed-medium-r-*-*-*

Re: [Vala] Access GTKText

2014-01-14 Thread Jonas Kulla
2014/1/14 Gilzad Hamuni > Hi list, > > I've compiled and tested this C-tutorial that shows how to have different > fonts, colors and and sizes in a single text box: > http://www.gtk.org/tutorial1.2/gtk_tut-14.html > > GtkWidget *text; > ... > text = gtk_text_new (NULL, NULL); > ... > fixed_font =

Re: [Vala] Access GTKText

2014-01-14 Thread yannick inizan
please find as attachment, a sample with a custom Gtk TextBuffer and a custom TextTag. link to the TextTag vala doc: http://valadoc.org/#!api=gtk+-3.0/Gtk.TextTag here a few documentation of text tags parameters : http://www.bravegnu.org/gtktext/x113.html regards. 2014/1/14 Gilzad Hamuni > Hi

[Vala] several pkg-config libraries for a single VAPI file

2014-01-14 Thread rastersoft
Hi all: I'm working on a vapi file for xcb_render, and I need to put into it one function from xcb_renderutils. The problem is that each one needs a different library (xcb-render and xcb-renderutils). Is it possible to make valac to pass both to pkg-config from a single VAPI file? Thanks. -

Re: [Vala] several pkg-config libraries for a single VAPI file

2014-01-14 Thread Luca Bruno
No, each vapi refers to a single pkg-config. However you can create a .deps file if a vapi depends on another. On Tue, Jan 14, 2014 at 11:12 PM, rastersoft wrote: > Hi all: > > I'm working on a vapi file for xcb_render, and I need to put into it one > function from xcb_renderutils. The problem