Use tags in gtktextview

2005-07-02 Thread 顺珉 吴
Hi all: I try to use Gtktags to change fonts in a gtktextview. Here is my code: textview1 = gtk_text_view_new (); gtk_widget_set_name (textview1, "textview1"); gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview1)), _("some text"), -1); text_buffer = gtk_text_view_get_bu

Re: [Dev-C++] (no subject)

2005-07-02 Thread Robert Alatalo
Hello, I will hazzard a guess that you are getting the address of the function rather than the value, but I did notice two things that you may want to review. The first is that you don't beed the friend declarations since you are using a public method. If you want to grant special permissi

Re: [Dev-C++] Getting the wrong output

2005-07-02 Thread Per Westermark
std::xx is for symbols declared inside of the std namespace. Your own operator is definitely not defined in the std namespace - and you should never try to define anyting in that namespace. It is only used for standardized variables, types, methods etc. You only add the xx:: prefix to a symbol whe

Re: [Dev-C++] Getting the wrong output

2005-07-02 Thread Per Westermark
What namespaces are you using. You have declared the friend operator as: std::ostream& operator<<(...) and implemented it as: std::ostream& jme::operator<<(...) Without a maching output operator, the compiler will emit the pointer to the object instead. /Per W On Thu, 30 Jun 2005 [EMAIL PRO

Re: GTK installation

2005-07-02 Thread David Necas (Yeti)
On Sat, Jul 02, 2005 at 11:12:32AM -0400, Antonio Gomes wrote: > just once again (sorry Yeti, but let's make easier his life :)) > > You must install all GTK dependences in the "right place" (using the > --prefix configure options and/or setting up your PGK_CONFIG_PATH with > the .pc files created

Re: GTK installation

2005-07-02 Thread Antonio Gomes
just once again (sorry Yeti, but let's make easier his life :)) You must install all GTK dependences in the "right place" (using the --prefix configure options and/or setting up your PGK_CONFIG_PATH with the .pc files created) before try to build GTK. take a look at these sites. Some questions ar

Re: Drawing text using Pango on bitmap without gtk

2005-07-02 Thread John Cupitt
On 7/2/05, Himanshu Garg <[EMAIL PROTECTED]> wrote: > I am trying to draw Telugu text on a bitmap using Pango in > Windows. However I couldn't find any function in the library that does > just that. > > Searches in the mailing list suggest the pangoft2 example which > I have seen. Howe

Drawing text using Pango on bitmap without gtk

2005-07-02 Thread Himanshu Garg
Hello, I am trying to draw Telugu text on a bitmap using Pango in Windows. However I couldn't find any function in the library that does just that. Searches in the mailing list suggest the pangoft2 example which I have seen. However I am not using the freetype library and the exa