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
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
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
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
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;
...
}
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
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
__
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
__
,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
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 */
10 matches
Mail list logo