回复: Re: Using GTK+ with C++

2006-06-25 Thread yeajchao
hello when i using gtk+ with c++,how can i compile my application? --- Chris Vine [EMAIL PROTECTED]写道: On Sunday 25 June 2006 17:17, Paulo J. Matos wrote: Hi all, I know about gtkmm but if I wish to use GTK+ directly, can I do it through C++? Is anyone doing this? Are there any

In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

In gtk+ application,how to parse xml file

2006-06-22 Thread yeajchao
Hello everybody First,I apologize for my terrible English. My application is developed by gtk+,and the application need a config file for startup initialization.The config file's name is config.xml What I need your help is that: I didn't known how to parse the ``.xml'' file Any

Need your help on the widget's width and height

2006-03-17 Thread yeajchao
Hello everyone I am writing my own gtk widget and i want my own widget's height and width ratio is 0.8, like this: widget-allocation.height / widget-allocation.width == 0.8 and my gtk_mywidget_size_allocate() function like this: Start of my code

Question about GdkColor

2006-03-17 Thread yeajchao
Hello all I am chinese,I am sorry for my terriblly poor English ! I have confused about GdkColor In general,the RGB color mode ,the red or green or blue's value is from 0 to 255 But ,the GdkColor ,the value is from 0 to 65535 My question is ,how to map (0--255) to

Need your help on the widget's width and height

2006-03-17 Thread yeajchao
Hello everyone I am writing my own gtk widget and i want my own widget's height and width ratio is 0.8, like this: widget-allocation.height / widget-allocation.width == 0.8 and my gtk_mywidget_size_allocate() function like this: Start of my code

Question about GdkColor

2006-03-17 Thread yeajchao
Hello all I am chinese,I am sorry for my terriblly poor English ! I have confused about GdkColor In general,the RGB color mode ,the red or green or blue's value is from 0 to 255 But ,the GdkColor ,the value is from 0 to 65535 My question is ,how to map (0--255) to

Hekp,writing my own widget,about gtk_widget_new

2006-03-13 Thread yeajchao
Hello all I am frastrated about writing my own gtk widget You know,in the gtk tutorial, there is a widget named gtkdial And its definition like this : -- gtkdial.h struct _GtkDial { GtkWidget widget; ... }

Hekp,writing my own widget,about gtk_widget_new

2006-03-13 Thread yeajchao
Hello all I am frastrated about writing my own gtk widget You know,in the gtk tutorial, there is a widget named gtkdial And its definition like this : -- gtkdial.h struct _GtkDial { GtkWidget widget; ... }

Need your help when I writing my own gtk widgets

2006-03-12 Thread yeajchao
Hello all First of all,i apologize for my terriblly poor English! I am going to write a widget for my application In my application,there need a virtual instrument,some more like a watch,but, in the bottom,there must have a digital display of its value In fact,what is I want is

I have a problem with GtkRadioButton

2006-02-08 Thread yeajchao
Hello all First of all, I apologize for my terrible english! I have a problem with GtkRadioButton. You know,when you select a GtkRadioButton,there will be a big point placed in the circle of the radio button .It maybe called indicator. My problem is that: I want to change the

question about GtkRadioButton

2006-02-08 Thread yeajchao
Hello all First of all, I apologize for my terrible english! I have a problem with GtkRadioButton. You know,when you select a GtkRadioButton,there will be a big point placed in the circle of the radio button .It maybe called indicator. My problem is that: I want to change the

question about combo box

2006-02-08 Thread yeajchao
Hello all First,I apologize for my terribly poor English I have a question about GtkcomboBox You know,every combobox have a GList which stores some optional item. My problem is about the GList. When I click the triangle to pull down the list, and move my mouse to

question about combo

2005-12-17 Thread yeajchao
hello all In my application,i use combo in somewhere the problem is when i click on it he popup a list when i move mouse on the list the selected highligth don't move accordingly what can i do ? any help would be much appreciate __

about draw color line or polygon

2005-12-17 Thread yeajchao
kello all i want draw line or my own widget with color how can i draw a polygon with color ,and in the polygon, the color are not the same ,the coloe in the polygon have setp change from red to green any help would be much appreciate __

question about combo

2005-12-17 Thread yeajchao
hello all In my application,i use combo in somewhere the problem is when i click on it he popup a list when i move mouse on the list the selected highligth don't move accordingly what can i do ? any help would be much appreciate __

about draw color line or polygon

2005-12-17 Thread yeajchao
kello all i want draw line or my own widget with color how can i draw a polygon with color ,and in the polygon, the color are not the same ,the coloe in the polygon have setp change from red to green any help would be much appreciate __

multithread

2005-11-16 Thread yeajchao
,wait for its timer can anybody will be so kind as to give me some advise ? an example may even better Thanks in advance ! yeajchao ___ 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http

complie error

2005-11-16 Thread yeajchao
Hello all I encountered a simple problem while compile a simple program the program and the complie infomation as follow /**/ #includegtk/gtk.h int main (int argc, char **argv) { GtkWidget *window; /* init threads */

multithread

2005-11-16 Thread yeajchao
,wait for its timer can anybody will be so kind as to give me some advise ? an example may even better Thanks in advance ! yeajchao ___ 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http

complie error

2005-11-16 Thread yeajchao
Hello all I encountered a simple problem while compile a simple program the program and the complie infomation as follow /**/ #includegtk/gtk.h int main (int argc, char **argv) { GtkWidget *window; /* init threads */

cursor's color while it is in a entry which has a black background

2005-11-15 Thread yeajchao
Hello all I have a problem as fllow: there is a entry ,it's background is black the problem is that ,when i clicked in the entry , I can not see the cursor, it may be because the cursor is also black In my opinion ,if I changed the cursor's color I may see it but