More on key accelerators

2003-03-23 Thread Carl B. Constantine
Ok, I just made a couple more changes in my Glade file. It seems there may have been "two" accelerators defined. In my .glade file I had some of the labels of the checkbuttons and other buttons prefixed with an underscore (_) character so that the following letter would have an underscore in it. GT

Re: found one warning

2003-03-23 Thread Havoc Pennington
On Sun, Mar 23, 2003 at 08:31:20PM -0800, Carl B. Constantine wrote: > Well, as I mentioned, I *do* have a toggled signal defined No you don't. ;-) If you had subclassed GtkCheckButton to define a signal, then the error message would say "MySubclass" not "GtkCheckButton" - and anyway GObject isn'

Re: found one warning

2003-03-23 Thread Carl B. Constantine
* Havoc Pennington ([EMAIL PROTECTED]) wrote: > > I've set up regular buttons with key accelerators with "clicked" signals > > and do not get any warnings like this. > > > > Any ideas/help is appreciated. > > Well, the possibilities according to the message are: > > - GtkCheckButton has no sign

Re: found one warning

2003-03-23 Thread Havoc Pennington
On Sun, Mar 23, 2003 at 03:46:35PM -0800, Carl B. Constantine wrote: > As a follow up to my previous message, I *did* find where one of my > warning messages was being generated. It's on this line: > > gtk_widget_add_accelerator (company_checkbutton, "toggled", accel_group, >

RE: I really need to know this.....

2003-03-23 Thread jiangyi178
Carl, thank you very much for your help! To All: I'm new to GTK+. I just found out in GTK web site that to make dialogbox, there's no concept of resource like in WIndows where you set the position of controls in a dialog; with GTK, controls on a dialog are arranged by code(vbox, hbox, etc.) autom

found one warning

2003-03-23 Thread Carl B. Constantine
As a follow up to my previous message, I *did* find where one of my warning messages was being generated. It's on this line: gtk_widget_add_accelerator (company_checkbutton, "toggled", accel_group, GDK_c, GDK_MOD1_MASK, GTK_ACCEL_VISIBLE)

Re: Assert messages.

2003-03-23 Thread Sven Neumann
Hi, "Carl B. Constantine" <[EMAIL PROTECTED]> writes: > > you can force warnings to become fatal by passing --g-fatal-warnings > > to your GTK+ application. The application will then crash on the first > > warning message allowing you to examine the cause of the warning in a > > debugger. > > Th

Re: Assert messages.

2003-03-23 Thread Carl B. Constantine
* Sven Neumann ([EMAIL PROTECTED]) wrote: > Hi, > > "Carl B. Constantine" <[EMAIL PROTECTED]> writes: > > > I'm getting a couple of assert messages in my app kind of > > all-of-a-sudden as of late. I'm curious what they really mean and > > how can I track them down. > > you can force warnings to

Re: Assert messages.

2003-03-23 Thread Sven Neumann
Hi, "Carl B. Constantine" <[EMAIL PROTECTED]> writes: > I'm getting a couple of assert messages in my app kind of > all-of-a-sudden as of late. I'm curious what they really mean and > how can I track them down. you can force warnings to become fatal by passing --g-fatal-warnings to your GTK+ app

Assert messages.

2003-03-23 Thread Carl B. Constantine
I'm getting a couple of assert messages in my app kind of all-of-a-sudden as of late. I'm curious what they really mean and how can I track them down. Here are the asserts I'm getting: (dispatcher:1692): Gtk-CRITICAL **: file gtkwidget.c: line 4814 (gtk_widget_set_size_request): assertion `heigh

Re: A quick question:what ide should I use to program in Linuxwith gtk?

2003-03-23 Thread Ruben Porras
El dom, 23 de 03 de 2003 a las 11:31, Gaël CHAMOULAUD escribió: > En réponse à Mariano Suarez-Alvarez <[EMAIL PROTECTED]>: > > > On Sun, 23 Mar 2003, jiangyi178 wrote: > > > > > I want use GTK on Linux, but I don't know:what ide should I use to > > program > > > in Linux with gtk? > > > > vim y?

loading different "panes" in libglade/gtk

2003-03-23 Thread Carl B. Constantine
I have an app that I'm writting that performs data entry. There's a menubar across the top and a status bar across the bottom. In one menu, I want the user to be able to select "new Customer..." or "new employee..." or "new " and have the data entry screen for that option appear in the space below.

Re: A quick question:what ide should I use to program in Linux with gtk?

2003-03-23 Thread Carl B. Constantine
* jiangyi178 ([EMAIL PROTECTED]) wrote: > Thanks a lot! > > So KDevelop or Kylix are not the recommended way to go, right? Not for GTK/Gnome programming, no. KDevelop and Kylix are focused, and really specificically for, Qt programming. Anjuta can be used for Qt Development as well, but has a bi

RE: A quick question:what ide should I use to program in Linux with gtk?

2003-03-23 Thread jiangyi178
Thanks a lot! So KDevelop or Kylix are not the recommended way to go, right? Richard -Original Message- From: Gaël CHAMOULAUD [mailto:[EMAIL PROTECTED] Sent: Sunday, March 23, 2003 5:31 AM To: jiangyi178 Cc: [EMAIL PROTECTED] Subject: Re: A quick question:what ide should I use to program

How to Drawing a stock gtk+-widget into cell-renderers cell?

2003-03-23 Thread Mirco Müller
Greetings everybody! I'm still trying to write a cell-renderer version of GtkOptionMenu. I got to a point where the the basic infrastructure of the GtkCellRendererOption (that's what I called it) works somehow. But know I need to actually have the GtkOptionMenu drawn into the cell. I can dr

Label with tooltip: background color mismatch

2003-03-23 Thread raymond
Hi, I have created a GtkLabel with a tooltip by placing it in a GtkEventBox. This works well using the default GTK theme, but when running this on the LighthouseBlue theme (or GTK-Wimp on WinXP), the background is not properly drawn, as shown in the following image: http://workrave.sourceforge.ne

Re: A quick question:what ide should I use to program in Linux with gtk?

2003-03-23 Thread Gaël CHAMOULAUD
En réponse à Mariano Suarez-Alvarez <[EMAIL PROTECTED]>: > On Sun, 23 Mar 2003, jiangyi178 wrote: > > > I want use GTK on Linux, but I don't know:what ide should I use to > program > > in Linux with gtk? > > vim y? Or emacs More seriously, Anjuta (http://www.anjuta.org)is a very good Integ