Gtk+ icon compiled into executable

2007-05-19 Thread brad smith
Hello, I am new to Gtk+ and writing a small application with glade. I have my source file and glade file and icon for the dialog. My question is how can I include the icon in the final binary so it does not have to included in the same folder as the binary. Thanks in advance. Brad _

Re: Gtk+ icon compiled into executable

2007-05-20 Thread brad smith
example. #include "penguin.h" but the glade xml file is still calling the penguin.gif? Thanks again, Brad On 5/20/07, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: > On Sat, May 19, 2007 at 11:07:11PM -0400, brad smith wrote: > > I am new to Gtk+ and writing a small applicat

new window from button

2007-07-02 Thread brad smith
Hello everyone, I am trying to open a new window(that has a text view widget) from a button on the main window. I have looked for examples but could not find any.(or maybe I just do not know what I am looking for) Thanks in advance, Brad ___ gtk-app-devel

Re: new window from button

2007-07-03 Thread brad smith
he delete-event of the popup that > clears it. > > The point of the example was just creating a window though ;) > > Cheers, > Jonathan > PS: Ok, no comment I'm as bad as you when it comes to adding the list :D > > > On 7/3/07, brad smith < [EMAIL PROTECTED]

ComboBoxEntry

2007-10-01 Thread brad smith
Hello everyone, I am trying to populate a combobox entry. I cant seem to find any examples for C. I just want to add some entry's to the box? Thanks in advance, Brad ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/m

gtk.image

2007-12-24 Thread brad smith
Hello everyone, I am using gtk.Image() and filling it with set_from_file with a random image in a directory. I am trying to use gtk.get_image() to get the name of the image currently being displayed but I get: gImage = self.rImage.get_image() ValueError: image should be a GdkImage or empty There

Re: gtk.image

2007-12-25 Thread brad smith
yes, I am using pygtk On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a random > > I assume you're using the python bindings.. &

Re: gtk.image

2007-12-25 Thread brad smith
thanks for the reply, I tried everything I can think of, but still get the error. On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a rando

Re: gtk.image

2007-12-25 Thread brad smith
ok, thanks:) Any ideas on that? Happy Holidays On Dec 25, 2007 1:03 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > thanks for the reply, I tried everything I can think of, but still get > > the error. > > Your problem is that get_image() does _no

Re: newbie key binding question

2008-11-24 Thread brad smith
I am not a 100%, but cant you bind key_press to the window? Then you would have to distinguish which key was pressed. I have done this with gtk.Entry. Have you tried gtk.Button.connect('key_press_event', button_press_function) Like i said not 100%. On Mon, Nov 24, 2008 at 12:23 PM, Michael Cronenw