Re: Can I simply rename the .c source files generated by Glade to .cpp ?
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 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
GtkScrolledWindow and GtkViewPort UI
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. ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Rotate label 90 degrees
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 label. (I think this is the only way it can be done, isn't it?) With friendly regards, Sjoerd Linders ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GtkScrolledWindow and GtkViewPort UI
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 parameter which defaults to 3 pixels. You can alter it via rc-file. Look at attachment - it's scrolledwin sample from GTK+ sources with zero spacing. Olexiy scrolledwin+.tar.gz Description: GNU Zip compressed data
Re: Rotate label 90 degrees
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 you can add to the label. (I think this is the only way it can be done, isn't it?) The text in my labels are not static (but semi static), so I'll need to be able to generate these within my application. I have some loose idea about how this could be done, but I'm still looking for how to do it using gtk, gdk and their friends. My loose idea is: 1) make the label with horizontal text (gtk_label_new()) 2) grab it as a pixmap (but how?) 3) rotate the pixmap (but how?) 4) insert rotated pixmap (probably using gtk_image_new_from_pixmap()) Is this feasible and how do I solve 2) and 3)? Best regards Egon Andersen ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Can I simply rename the .c source files generated by Glade to.cpp
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! _ Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Best practice for installing GTK 2.2.4 on Mandrake 9.0
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 - tiff-v3.5.7 Are there any more dependencies? In which order should I install them (i.e. ./configure --prefix=/usr; make; make install)? What will happen to the previous versions installed on my machine? Will they just get overridden? Or will I have to manually uninstall them first (some are rpms and others have been installed from source)? Finally, when I (eventually) get them installed what will I have to do to make them available? (Alter pkg-config .pc files?) Thanks in advance for any help, -- mond ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
gtk_events_pending return value
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 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk_events_pending return value
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 gboolean would be better ... (I'm not posting on gtk-devel-list, because it's for developers of GTK+ to discuss code.) ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk_events_pending return value
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; GDK_THREADS_LEAVE (); result = g_main_context_pending (NULL); GDK_THREADS_ENTER (); return result; } so the result can only be TRUE or FALSE ... -- cu, Johannes Weil ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list