Gtkmm-forge digest, Vol 1 #960 - 8 msgs

2005-08-01 Thread gtkmm-forge-request
Send Gtkmm-forge mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach th

Re: Gtk::FileChooserDialog::run()

2005-08-01 Thread Murray Cumming
On Mon, 2005-08-01 at 16:25 -0500, Rob Benton wrote: > I'm confused about the showing and hiding of the dialog objects after > their run function completes. > > I'm opening a FileChooserDialog, calling run(), checking the response > type for OK, and finally doing a little xml processing with Xer

Gtk::FileChooserDialog::run()

2005-08-01 Thread Rob Benton
I'm confused about the showing and hiding of the dialog objects after their run function completes. I'm opening a FileChooserDialog, calling run(), checking the response type for OK, and finally doing a little xml processing with Xerces which I check for exceptions. If I catch an exception I

Round Shaped button

2005-08-01 Thread Natesh S C , Bangalore
  Hi all,I want to put round-type buttons (circular shape).Can any one suggest me how to create the widget having round button. ThanksNatesh   ___ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-li

Re: Gtk::TreeView: Custom cellrenderer for single cells

2005-08-01 Thread erik_ohrnberger
I've got the same problem, however, I do not need a combo cell renderer at this time. I just need a numeric input and a toggle input (true / false) Does anyone have some sample code for this? I've looked at cellrenderercustom example, and it does get me part of the way there. Thanks in advance

Re: Pango warning: "Invalid UTF-8 string"

2005-08-01 Thread Ole Laursen
Been on vacation, Matthias Kaeppler <[EMAIL PROTECTED]> writes: > Murray Cumming wrote: >> If you are getting the filename from the FileChooser, the "Note:" here >> might be helpful: >> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1FileChooser.html >> std::string -> ustring

Re: Notification Area with gtkmm

2005-08-01 Thread Ole Laursen
Fabio Rafael da Rosa <[EMAIL PROTECTED]> writes: > I have a program that uses gtkmm, and I want to put > an icon in notification area. How can I do this. > I just can't find the information on the web. > If gtkmm don't do this, what lib can I use? Use a C library, that's one of the good things

Re: Gtk::Button::set_image(...)

2005-08-01 Thread Antonio Coralles
Antonio Coralles wrote: [Repost] When i create a Gtk::Button object with its default constructor, and then add a image to it, using set_image(...), the image doesn't appear. But when i create the button with ustring(""), the image shows up. Is there a particular reason for this behavour, or is i

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Bob Caryl
Murray Cumming wrote: On Mon, 2005-08-01 at 05:17 -0500, Bob Caryl wrote: Sorry, forgot to mention this: after called "set_decorated" with false as its parameter be sure to call "set_has_frame" with true as its parameter. This effectively turns everything back on except that the close ic

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Tobias Eberle
Hallo, > > I want to prevent that the user can close a dialog (derived from > > Gtk::Dialog) by clicking on the X. I tried to override > > on_delete_event(): > This shold work. Try a simple test case. It certainly works with > Gtk::Window. You might also investigate on_response(). It works with G

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Murray Cumming
On Mon, 2005-08-01 at 05:17 -0500, Bob Caryl wrote: > Sorry, forgot to mention this: after called "set_decorated" with false > as its parameter be sure to call "set_has_frame" with true as its > parameter. This effectively turns everything back on except that the > close icon (x) no longer wor

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Bob Caryl
Tobias Eberle wrote: Hallo, I want to prevent that the user can close a dialog (derived from Gtk::Dialog) by clicking on the X. I tried to override on_delete_event(): class CMyDialog : public Gtk::Dialog { //... protected: bool on_delete_event(GdkEventAny *); } but on_delete_event() is n

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Murray Cumming
On Sun, 2005-07-31 at 15:11 +0200, Tobias Eberle wrote: > Hallo, > > I want to prevent that the user can close a dialog (derived from > Gtk::Dialog) by clicking on the X. I tried to override > on_delete_event(): [snip] This shold work. Try a simple test case. It certainly works with Gtk::Window.

Re: Gtk::Dialog::on_delete_event() is never called

2005-08-01 Thread Bob Caryl
Tobias Eberle wrote: Hallo, I want to prevent that the user can close a dialog (derived from Gtk::Dialog) by clicking on the X. I tried to override on_delete_event(): class CMyDialog : public Gtk::Dialog { //... protected: bool on_delete_event(GdkEventAny *); } but on_delete_event() is n

Re: Re: call a function in a module

2005-08-01 Thread r . jimenez
Thanks a lot, i put -export-dynamic and now i can call functions remy > While it's kind of hard to say exactly what the problem is without > seeing more code in context, one thing to make sure you do when writing > applications with plugins is to use the -rdynamic compiler flag when > buildi