XIM key interpretation fix for 2.2.x?

2003-09-02 Thread Ken Deeter
Hi, I've been looking through bugzilla for the exact report.. but there was (still is w/ 2.2.x) a problem where when using the XIM based immodule, key events are recieved by the application even when an XIM consumes those keys. For example, in gedit, if one uses the skkinput method, hitting

GtkCombo with active glist

2003-09-02 Thread edscott wilson garcia
Does anybody how to have a gtkCombo where the associated GList is visible the entry is receiving keyboard input? I mean, something like what you see in mozilla while typing something into the location entry? Can that behaviour be achieved in gtk without some ugly hack? TIA Edscott

Re: color in string

2003-09-02 Thread Tim Evans
Luiz Rafael Culik Guimaraes wrote: Hi how to transform the GDK_COLOR structure resulted from an GtkColorSelection Dialog in the form of #33DD44 Regads Luiz This is untested, but should work: GdkColor c; char s[8]; sprintf( s, #%02x%02x%02x, c.red8, c.green8, c.blue8 ); -- Tim Evans Applied

Re: color in string

2003-09-02 Thread Dave Smith
On Monday 01 September 2003 21:40, Tim Evans wrote: Luiz Rafael Culik Guimaraes wrote: how to transform the GDK_COLOR structure resulted from an GtkColorSelection Dialog in the form of #33DD44 This is untested, but should work: GdkColor c; char s[8]; sprintf( s, #%02x%02x%02x, c.red8,

Re: Learning GTK / GUI Programming

2003-09-02 Thread Chee Bin HOH
Hi Rick, GNOME has a Human Interface guideline for designing GUI, it is applied to GTK+ application too. http://developer.gnome.org/projects/gup/hig For general hacking, refer to GNU Coding Standards http://www.gnu.org/prep/standards_toc.html regards, HOH On Sat, 2003-08-30 at 07:03, Rick

Re: GtkTreeModel

2003-09-02 Thread edscott wilson garcia
On Sun, 2003-08-31 at 13:27, Christer Palm wrote: Hi! A question for all you GtkTreeModel wizards out there; I have implemented a custom GtkTreeModel to model a directory tree. For obvious performance reasons, I need to delay the scanning of a subdirectory until the user actually

Re: XIM key interpretation fix for 2.2.x?

2003-09-02 Thread TOKUNAGA Hiroyuki
On Mon, 1 Sep 2003 16:58:18 -0700 Ken Deeter [EMAIL PROTECTED] wrote: I've been looking through bugzilla for the exact report.. but there was(still is w/ 2.2.x) a problem where when using the XIM based immodule, key events are recieved by the application even when an XIM consumes those keys.

Re: GtkTreeModel

2003-09-02 Thread Christer Palm
Hello Edscott! edscott wilson garcia wrote: The tricky part is what happens if the user tries to expand a subdirectory which doesn't happen to contain any subdirectories. Just like the Windoze explorer (cough) directory view, I want the expander for that directory to magically disappear when

Re: color in string

2003-09-02 Thread Luiz Rafael Culik Guimaraes
Hi Tim This is untested, but should work: GdkColor c; char s[8]; sprintf( s, #%02x%02x%02x, c.red8, c.green8, c.blue8 ); thanks for the help []´s Luiz ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: color in string

2003-09-02 Thread Luiz Rafael Culik Guimaraes
Hi Dave gdk_color_parse(#33DD44,c); What i realy want to do is the inverse of this function Regards Luiz ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: XIM key interpretation fix for 2.2.x?

2003-09-02 Thread Ken Deeter
This bug has been fixed? I've tested latest CVS now, but seems this bug isn't fixed yet. My apologies, http://bugzilla.gnome.org/show_bug.cgi?id=90082 was the one I was looking for but apparently there has been some more stuff added since I last looked. To solve this problem, once

Compiling and Installing GTK+2.2

2003-09-02 Thread llabbauf
I am trying to install GTK+2.2.1 on a Redhat 9.0 system. I have sucessfully installed Glib, and Pango. Each configured and installed with no errors or warnings. However when I try to ./configure GTK+2.2.1 I get an error stating the following: checking Pango flags... -I/usr/include/pango-1.0

Re: Compiling and Installing GTK+2.2

2003-09-02 Thread Olexiy Avramchenko
[EMAIL PROTECTED] wrote: I am trying to install GTK+2.2.1 on a Redhat 9.0 system. I have sucessfully installed Glib, and Pango. Each configured and installed with no errors or warnings. However when I try to ./configure GTK+2.2.1 I get an error stating the following: checking Pango flags...

Fw: Changing the font of an gtkbutton label

2003-09-02 Thread Luiz Rafael Culik Guimaraes
Dear friends How to change the font of an button label this is an generic piece of code i use to change font for labels on menus and gtklabels PangoFontDescription *font_desc = pango_font_description_from_string(prop-value.font); GtkRcStyle *style ; switch( wWidget-type )

Re: Fw: Changing the font of an gtkbutton label

2003-09-02 Thread Olexiy Avramchenko
Luiz Rafael Culik Guimaraes wrote: Dear friends How to change the font of an button label this is an generic piece of code i use to change font for labels on menus and gtklabels PangoFontDescription *font_desc = pango_font_description_from_string(prop-value.font); GtkRcStyle

Hi

2003-09-02 Thread Rajesh Khurana
Hi, I want to develope few application using PHP-GTK toolkit. Can u help me Rajesh _ Need a naukri? Your search ends here. http://www.msn.co.in/naukri/ 50,000 of the best jobs! ___

Re: Hi

2003-09-02 Thread Michael L Torrie
On Tue, 2003-09-02 at 06:53, Rajesh Khurana wrote: Hi, I want to develope few application using PHP-GTK toolkit. Can u help me Check the php-gtk web site for any api docs, and then look at some example code. You also need to be familiar with how GTK works (main loop and all). For that I

Re: XIM key interpretation fix for 2.2.x?

2003-09-02 Thread Owen Taylor
On Mon, 2003-09-01 at 23:10, TOKUNAGA Hiroyuki wrote: On Mon, 1 Sep 2003 16:58:18 -0700 Ken Deeter [EMAIL PROTECTED] wrote: I've been looking through bugzilla for the exact report.. but there was(still is w/ 2.2.x) a problem where when using the XIM based immodule, key events are

Re: Referencing Widgets?

2003-09-02 Thread Owen Taylor
On Mon, 2003-09-01 at 14:08, Steve Woodward wrote: My apologies for grabbing the wrong list, will be sure to subscribe to the appropriate list. Thanks for the reply, that helps to clear things up. I was under the impression that by having the widgets defined in interface.h I could reference

Re: Trouble with delete-event

2003-09-02 Thread Owen Taylor
On Mon, 2003-09-01 at 03:50, Giovanni Corriga wrote: Il lun, 2003-09-01 alle 04:03, Havoc Pennington ha scritto: It seems to work for lots of other programs... are you sure you don't have some other mistake? Post a small, compilable test case... I found the problem. It was due to

Re: Referencing Widgets?

2003-09-02 Thread Diego Zuccato
Owen Taylor wrote: and switch to using libglade instead of generating code with Glade Just three things I noticed when using (lib)glade2: 1) error displaying notebooks w/ empty pages (only the last tab is displayed) 2) missing first and last page in GnomeDruid 3) sometimesbutton and user_data

RE: Compiling and Installing GTK+2.2

2003-09-02 Thread Chorn Sokun
Hi there, Related to the *.pc I got a question. I didn't try to install the new version of gtk yet event I download all the requirement file already. What I want to do is try to make the existing gtk came with redhat 9 work first. How every when I compile gtk code follow the instruction on gtk

the char in widgets is very small

2003-09-02 Thread
hello: Iinstalled the gtk2.0 in my redhat 7.2 successfully, but when i compilede the programe with it ,I found the chars on label or other widgets is very very small also can't display chinese chars . also i found in my home derectory ,i didn't have the .gtkrc-2.0 file in the /etc derectory

Re: GtkTreeModel

2003-09-02 Thread Christer Palm
Hello again! Christer Palm wrote: edscott wilson garcia wrote: Use gtktreestore model. Add a dummy for non expanded directories. That makes the expander appear. When the user expands, if nothing is in there, collapse the node and remove the dummy. Since there will be no children, the expander