Can't set the website link clickable of gtk_about

2007-12-12 Thread TualatriX
Hello everyone: I want my app's about dialog's website link can clickable, but whatever I try to, it can't work. I also read some code, such as gedit, nuatilus, their about dialog is using gtk_about_dialog_set_website_label and gtk_about_dialog_set_website. Their website can clickable, but why mim

How can I get the gnome-panel's size?

2007-10-15 Thread TualatriX
Hello everyone: I want to get something about gnome-panel. 1. How can I get the number of gnome-panel? In the normal case, there are two gnome-panel in the GNOME desktop environment. But how to use gtk+ to get the information? 2. If I get the gnome-panel, how can I get the panel's siz

How to get the maximize window's size?

2007-10-05 Thread TualatriX
Hello everyone: I'm using GTK+ to write an application. In one case, I need to get the maximize window's size. I find the Reference Manual and try some method, it doesn't work. Does anybody can give me some ideas? Thanks. TualatriX! __

How to set the window size to max height, but not the max width?

2007-10-03 Thread TualatriX
Hello Gtk+ Mailling Lists: I'm a beginner of GTK+ Development. I want my application run like this: when it opens, the window's width is set to 1024, and its height will be set to the current available max height size. It's not the size of resolution of current screen. Just the maximize window's