[Glade-users] Stock menu items not showing up in libglade




 I have noticed that also. My work around was to not used stock items and add
the icons directly,, The tolltip works that way.


Harring.


--- Damon Chaplin <damon karuna uklinux net> wrote:
On Tue, 2003-01-21 at 01:40, Brian Bruns wrote:

Worked like a charm! Thanks. Now for the obligatory follow up question... 
Any idea why tool tips don't show up? Pretty much the same symptoms, works 
in glade, not in libglade.  File excerpt:

              <child>
                <widget class="button" id="close_button">
                  <property name="visible">True</property>
                  <property name="tooltip" translatable="yes">Close this
window</property>
                  <property name="label">gtk-close</property>
                  <property name="use_stock">True</property>
                </widget>
                <packing>
                  <property name="new_group">True</property>
            </packing>
              </child>

It looks like libglade hasn't implemented tooltips for toolbar buttons.

In toolbar_build_children() in libglade/glade/glade-gtk.c it has:

              } else if (!strcmp (name, "tooltip")) {
                  /* ignore for now */

I've cc'ed James so he can check it.

Damon


_______________________________________________
Glade-users maillist  -  Glade-users ximian com
http://lists.ximian.com/mailman/listinfo/glade-users


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]