Glade and GtkNotebook problem

2005-11-02 Thread César Leonardo Blum Silveira
Hi all, I'm developing an application which has a notebook widget on it. I designed the GUI on glade and added two pages to the notebook, however when I run my app. The notebook shows only the second page with the contents of the first page. Why is that happening? Thanks, -- César Leonardo

GtkButton doesn't always react on mouse clicks

2005-11-02 Thread Nickolai Dobrynin
I have a GtkButton in my application that gets deactivated (greyed out, via gtk_widget_set_sensitive) each time it gets clicked on and, at some point later, re-activated. Here is the problem I have. Suppose I click on the button (thereby deactivating it) and then do NOT move the mouse away until

Re: GtkButton doesn't always react on mouse clicks

2005-11-02 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/2/2005 2:37 PM, Nickolai Dobrynin wrote: Brian, Thanks for your response. Can you think of any work around for this particular pseudo-bug? Anything on the low level that could be changed? Not that I know of, sorry. I'd suggest filing a

Re: Changing the GtkButton appearence

2005-11-02 Thread sadhees kumar
Thank you very much Dain. On 10/30/05, Alem Dain [EMAIL PROTECTED] wrote: This is the province of the GTK theme, usually defined in resource files. The philosophy is that the user -- not the programmer -- decides how his buttons should look. That being said, there are plenty of ways

Re: Mem leak in pixbuf engine

2005-11-02 Thread Detlef Reichl
On Mi, 2005-11-02 at 10:33 +0300, Nickolay V. Shmyrev wrote: В Пнд, 31/10/2005 в 17:46 +0100, Detlef Reichl пишет: Hi, i think i found a pixmap leak in the pixbuf engine. The following small program simply shows an continually updated progressbar. I also tried it with other widgets,

making g_object_connect() virtual

2005-11-02 Thread Robert Staudinger
Hi, in the process of wrapping parts of the c++ mozilla API into gobjects [1] i came across the limitation of g_object_connect() being not virtual. Mozilla heavily uses listener classes that have to be derived from and handed over to the event source for receiving callbacks. In order to have the

Re: making g_object_connect() virtual

2005-11-02 Thread J. Ali Harlow
On 02/11/05 17:20:49, Robert Staudinger wrote: Or am i missing something and it's already possible to get some kind of notification when a signal is connected on a GObject subclass? g_signal_has_handler_pending() may help. Cheers, Ali. ___

Re: making g_object_connect() virtual

2005-11-02 Thread Robert Staudinger
On 11/2/05, J. Ali Harlow [EMAIL PROTECTED] wrote: On 02/11/05 17:20:49, Robert Staudinger wrote: Or am i missing something and it's already possible to get some kind of notification when a signal is connected on a GObject subclass? g_signal_has_handler_pending() may help. Hmm, while

Re: transient windows on win32

2005-11-02 Thread Jernej Simončič
on Wed, 2 Nov 2005 15:13:03 - (GMT), Charles Reilly wrote: min/max buttons are more of a problem because, IIRC, they can't be removed once a window has been created. Maybe they can't be removed, but you should be able to disable them by disabling the Minimize and Maximize items in the

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
Thanks for the hint Mr Suzuki, I will work on it. I will try to rebuild the X-Window with no -DX_LOCALE. I am also trying building gtk before Im posting this problem with the following: make CFLAGS=-DX_LOCALE But still doesn't work... I will post soon If I encounter some problem and still if

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread mpsuzuki
On Wed, 2 Nov 2005 16:50:58 +0800 Xyber Blue [EMAIL PROTECTED] wrote: Thanks for the hint Mr Suzuki, I will work on it. I will try to rebuild the X-Window with no -DX_LOCALE. I am also trying building gtk before Im posting this problem with the following: make CFLAGS=-DX_LOCALE But still

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
If you check symbols in libgdk-1.2.so (built with -DX_LOCALE) like: nm -ap /usr/lib/libgdk-1.2.so.0 | fgrep setlocale what do you receive? [EMAIL PROTECTED] ~]# frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale U setlocale@@GLIBC_2.3.4 That is the output. what's

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
By the way, I successfully compiled the X-window without -DNO_LOCALE and -DX_LOCALE support. When I try to execute testgtk with ja_JP.eucJP locale I got a warning message: Gdk-WARNING **: locale not supported by C library And the widgets will not convert the english text to japanese. What

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
Im very sorry but I need to post this. If Im going to call locale command, i got this following messages: [EMAIL PROTECTED] gtk]# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale:

Re: GTK+ or GTK?

2005-11-02 Thread Jose Hevia
On Tue, Nov 01, 2005 at 11:29:40PM +0100, yordy wrote: GTK+ is GTK-2.x, they are the same? I want to install XFCE desktop environment, The package names seem to indicate you have Fedora Core 4. If it's so, please just install XFce with you favourite package manager and don't try to

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread mpsuzuki
Xyber Blue wrote: If you check symbols in libgdk-1.2.so http://libgdk-1.2.so/ (built with -DX_LOCALE) like: nm -ap /usr/lib/libgdk-1.2.so.0 | fgrep setlocale what do you receive? [EMAIL PROTECTED] ~]# frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread mpsuzuki
On Wed, 2 Nov 2005 18:36:33 +0800 Xyber Blue [EMAIL PROTECTED] wrote: Im very sorry but I need to post this. If Im going to call locale command, i got this following messages: Before all, I recommend you to work with non-root account. [EMAIL PROTECTED] gtk]# locale locale: Cannot set LC_CTYPE

shaped buttons

2005-11-02 Thread Andrew Shafer
Can I get the gdkwindow from a button? Or what is the best way to make an arbitrary shaped button? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Full redraw of root window

2005-11-02 Thread Ian King
Hi, Is is possible for gtk to force a redraw of the entire root window. With gnome 2.10 on Fedora Core at least, when I draw to the root window using gdk_draw_line with the drawable being the gdk_root_parent, a call to gdk_window_invalidate_rect (gdk_root_parent, default_pointer,

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
By the way, how to enable -DX_LOCALE in gtk+-1.2.9??? Is the make CFLAGS=-DX_LOCALE enough to enable this???On 11/2/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:On Wed, 2 Nov 2005 18:36:33 +0800Xyber Blue [EMAIL PROTECTED] wrote:Im very sorry but I need to post this. If Im going to call locale

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
[EMAIL PROTECTED] ~]# frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale U setlocale@@GLIBC_2.3.4 That is the output. what's with the output??? It means your gtk+-1.2.x is built to use locale in libc. It does not call _Xsetlocale(). Therefore, it will fail as the

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread mpsuzuki
On Thu, 3 Nov 2005 12:29:22 +0800 Xyber Blue [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~]# frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale U setlocale@@GLIBC_2.3.4 That is the output. what's with the output??? It means your gtk+-1.2.x is built to use locale in

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread Xyber Blue
I think It is insufficient to use X_LOCALE. What you receive when you execute? frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum With -DX_LOCALE (No output) ]# frv-linux-gnu-nm -ap /nfs/rootgtk98/rootfs-glibc-frv-040820-3/opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum

Re: Japanese Display for gtk+-1.2.9

2005-11-02 Thread mpsuzuki
On Thu, 3 Nov 2005 13:43:22 +0800 Xyber Blue [EMAIL PROTECTED] wrote: I think It is insufficient to use X_LOCALE. What you receive when you execute? frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum With -DX_LOCALE (No output) ]# frv-linux-gnu-nm -ap

Changing the GtkButton appearence

2005-11-02 Thread sadhees kumar
Dear Friends, I want to display my button widget with different look. Is there any way to change the appearence of GtkButton from rectangle to ellipse? if anybody achieved this, attach the sample code. Thanks in advance. _Regards,K.Sadheeskumar.

Re: Strange bug while subclassing Gtk2::Box

2005-11-02 Thread muppet
On Nov 1, 2005, at 2:21 PM, Jaap Karssenberg wrote: To cut a long story short with gtk+ 2.8.x we need the chaining up in order to set the allocation attribute of the box object. ... B.t.w is there a way to set such attributes (that are not properties) of gtk objects from perl? Good