Re: Can I simply rename the .c source files generated by Glade to .cpp ?

2004-01-05 Thread Ivan Wong
Can I simply rename the .c source files generated by Glade to .cpp ? usually yes, please give details of your error Rgrds Ivan Wong -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm

GtkScrolledWindow and GtkViewPort UI

2004-01-05 Thread Nazmul Hossain
Could the space between the Scrolled Window and the Scroll bars in the two widgets be set to zero by default. This would display the widget as one entity rather that two or three different entity at this stage. Thanks. **

Re: Rotate label 90 degrees

2004-01-05 Thread NGP Languages
Happy New Year to ALL! Egon Andersen wrote: Hi, I'll like to insert a label that is rotated 90 degrees i.e. the label text is vertical and not horizontal. How can I do this? Because the text in a widget cann't be rotated, you will have to create a pixmap picture that you can add to the

Re: GtkScrolledWindow and GtkViewPort UI

2004-01-05 Thread Olexiy Avramchenko
Nazmul Hossain wrote: Could the space between the Scrolled Window and the Scroll bars in the two widgets be set to zero by default. This would display the widget as one entity rather that two or three different entity at this stage. As for GtkScrolledWindow - it has scrollbar_spacing style

Re: Rotate label 90 degrees

2004-01-05 Thread Egon Andersen
NGP Languages wrote: Happy New Year to ALL! Egon Andersen wrote: Hi, I'll like to insert a label that is rotated 90 degrees i.e. the label text is vertical and not horizontal. How can I do this? Because the text in a widget cann't be rotated, you will have to create a pixmap picture that

Re: Can I simply rename the .c source files generated by Glade to.cpp

2004-01-05 Thread Zhu Yong
Have you tried using libglade to load the interfaces at run-time from XML? I suspect it will be much easier in the long run. Should be possible from C++. I believe the code generation feature of Glade is deprecated. Thanks for help! I will have a try!

Best practice for installing GTK 2.2.4 on Mandrake 9.0

2004-01-05 Thread mond
Hi, I am about to install gtk 2.2.4 on Mandrake 9.0 and I am not sure of the best way to go about installing all the related packages. These are the packages I want to install (all source): - gtk+-2.2.4 - glib-2.2.3 - atk-1.2.4 - pango-1.2.5 - pkgconfig-0.14.0 - jpegsrc.v6b - libpng-1.2.5 -

gtk_events_pending return value

2004-01-05 Thread Johannes Weil
Hello, does anyone know, why the return value of the function gtk_events_pending() is gint? In my opinion gboolean would be better ... (I'm not posting on gtk-devel-list, because it's for developers of GTK+ to discuss code.) -- cu, Johannes Weil ___

Re: gtk_events_pending return value

2004-01-05 Thread Christer Palm
gtk_events_pending() returns the number of pending events. Whether knowing the actual number of pending events is useful or not I don't know, but there you have it. Johannes Weil wrote: Hello, does anyone know, why the return value of the function gtk_events_pending() is gint? In my opinion

Re: gtk_events_pending return value

2004-01-05 Thread Johannes Weil
On 2004-01-06 05:06:21, Christer Palm wrote: gtk_events_pending() returns the number of pending events. Whether knowing the actual number of pending events is useful or not I don't know, but there you have it. no, here's the gtk-code: gint gtk_events_pending (void) { gboolean result;