Re: Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
> Do you have a suggestion for a repo for plain old Debian? Grrr. It was in front of my face all the time: there's Glade and Glade-2. Does that imply there is a Glade-3? I thought it did. It did not. "Glade" is really Glade 3. Never Mind ___ gtk-app-d

Re: Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
> > On Mon, 2007-07-23 at 13:28 -0500, [EMAIL PROTECTED] wrote: >> > On Mon, 2007-07-23 at 12:34 -0500, [EMAIL PROTECTED] wrote: >> ... >> > Yeah I said come by during the _week_ ! :D I'm around monday through >> *blink* Looks at watch. Looks at calendar. Looks at definition of "week" >> - >> I tho

Re: Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
> On Mon, 2007-07-23 at 12:34 -0500, [EMAIL PROTECTED] wrote: > No thats not the case: > >glade_xml_new(); <-- this constructs the whole gui, if "visible" is >TRUE on the toplevel (and children), then all your widgets are >realized once this function returns. > >glade_xml_signal_aut

Re: Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
> Ok so here is your custom widget catalog for glade > (goes in /usr/share/glade3/catalogs) : Two quick questions: 1) will this also work with Gazpacho? 2) If not, is there a ready-build package for Debian of Glade3? > === > http://mail.gnome.org/

Re: Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
> On Mon, 2007-07-23 at 10:41 -0500, [EMAIL PROTECTED] wrote: > [...] >- Add a widget to your project that your custom widget derives from, > for example, GtkLabel for MyCustomLabel >- search/replace occurences of - use glade_xml_register_widget() to tell libglade about >

Cannot get realize() events on GtkViewport created by libglade

2007-07-23 Thread david . hagood
I'm trying to build an app that will use Glade+libglade to build its user interface. I'm going to have some custom widgets in the app, and since I have yet to get enough information to know how to create a catalog for Glade or Gazpacho containing my custom widgets, I cannot simply let libglade crea

Trying to add a widget to Gazpacho....

2007-07-22 Thread David Hagood
I'm trying to add a widget to Gazpacho, so that it can understand my widgets. I've created a catalog XML file in the same directory as all the other Gazpacho catalogs, and I can tell that Gazpacho is finding my catalog, as it now complains: Error while loading catalog aeroflex: Could not load lib

Re: Adding widget types to [Glade|Gazpacho|libGlade]

2007-07-21 Thread David Hagood
On Sat, 2007-07-21 at 14:23 -0400, Tristan Van Berkom wrote: > Ok I'll try to answer all the questions I can in the short amount > of time I have... I appreciate the help! > Come to #glade3 irc.gnome.org in the week and I'll be around I'm not sure the IT guys at work let IRC in or out... > User d

Adding widget types to [Glade|Gazpacho|libGlade]

2007-07-21 Thread David Hagood
I'm looking to create some custom widgets for use in a libGlade program, and I'd like to be able to correctly automatically instantiate those widgets as well as lay them out in Glade or Gazpacho. I have my custom widget set up such that it will be created by libGlade if the .glade file references

Re: glade_xml_signal_autoconnect cannot find functions NOT in shared libs?

2007-07-20 Thread david . hagood
> On Fri, 2007-07-20 at 09:10 -0500, [EMAIL PROTECTED] wrote: > [...] >> Unfortunately, it didn't work for me, but thanks for the ideas to try. > b.) use `pkg-config --libs gmodule-2.0` which will automatically > add the "-Wl,--export-dynamic" in the right place (provided > you are a

How to set "signal_data" via Glade for glade_xml_signal_autoconnect_full

2007-07-20 Thread david . hagood
I'm trying to understand using Glade + libglade to build UIs. As I understand it, if I use the glade_xml_signal_autoconnect_full call, my signal connect function will be called for every defined signal in the XML tree I am processing. One of the parameters passed to my connect functions is "signal

Re: glade_xml_signal_autoconnect cannot find functions NOT in shared libs?

2007-07-20 Thread david . hagood
> I use on Linux "-Wl,-E" and under Windows with MinGW > "-Wl,-E,--export-all-symbols" and I also use C++ with the extern "C" > keyword, like for example: > extern "C" void on_button_clicked (GtkToolButton *toolbutton, gpointer > user_data) > { > //do something > } > > I didn't need any more fancy

Re: glade_xml_signal_autoconnect cannot find functions NOT in shared libs?

2007-07-19 Thread david . hagood
> I remember libglade's FAQ/howto has a clue on this topic: there's a link > option or something that tells the executable to export it's symbols so > they can be seen by the dynamic loader. I don't remember what it is, > but I remember your symptoms. > > > // Wally Yes, --export-dynamic, which

glade_xml_signal_autoconnect cannot find functions NOT in shared libs?

2007-07-19 Thread david . hagood
I am trying to rough out my first GTK app, and am trying to use glade_xml_signal_autoconnect to handle hooking up the signals. I can successfully hook up the signals contained withing libgtk, however, any attempt to connect functions that are defined within my app fails with a "libglade-WARNING **

Re: waveform display in gtk

2007-07-18 Thread david . hagood
Holy spooky action at a distance, Batman - I was just getting ready to ask about the same sort of thing myself. I *thought* I had sent the following message to the list, but it looks like it never made it: Disclaimer: I am new to GTK programming. I'm looking for a widget which can display a

Graphing widget (oscilloscope-like)?

2007-07-17 Thread david . hagood
Disclaimer: I am new to GTK programming. I'm looking for a widget which can display an oscilloscope-like display: that is, a drawable surface with an overlaid graticule of horizontal and vertical lines, plus zero or more traces consisting of a set of connected line segments defined by an array of