After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742053 - GtkLinkButton has no label field in glade
GtkLinkButton has no label field in glade
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: user interface
git master
Other Linux
: Normal minor
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-28 08:44 UTC by Igor Gnatenko
Modified: 2018-03-26 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Provided label field for gtk_linkbutton (345 bytes, text/plain)
2018-01-26 05:28 UTC, C.Sriharsha
  Details
Enabled label for gtk link button (869 bytes, patch)
2018-01-26 11:35 UTC, C.Sriharsha
none Details | Review

Description Igor Gnatenko 2014-12-28 08:44:23 UTC
https://developer.gnome.org/gtk3/stable/GtkLinkButton.html#gtk-link-button-new-with-label

looks like this widget support label, but no gui for this.
Comment 1 Tristan Van Berkom 2014-12-28 09:05:11 UTC
Good point.

Currently we have disabled many of the visual aspects of a GtkButton which
do not apply to various subclasses such:
  * GtkMenuButton
  * GtkLinkButton
  * GtkScaleButton

It would be good, before hazarding a fix for this, to understand which attributes exactly are supported by the GtkLinkButton and which should be
omitted ?

Can a GtkLinkButton have all of the regular appearance attributes: label, icon, use-underline, image, always-show-image... can custom button content be added to the button and it still function ?

Or is it only the 'label' attribute which can be set for a linkbutton ?

My guess is that:
  o The URL defines where the linkbutton 'leads'
  o If no custom content or label is defined, the button displays the URL
Comment 2 Matthias Clasen 2015-12-11 23:57:57 UTC
I don't think anybody has tested what happens if you stuff custom content or an image into a link button. I expect that it will just work. But the intended use fo link buttons is to set a uri and optionally a label.
Comment 3 DJ_Baldey 2017-01-26 03:02:06 UTC
Подтверждаю, есть этот косяк. Уже 2 года эта ошибка висит и никто не исправляет.
Видимо, разработчики сами ничего сложнее калькулятора и тех примеров на сайте с помощью Glade ничего не создавали.
Доколе???
Comment 4 C.Sriharsha 2018-01-26 05:28:31 UTC
Created attachment 367453 [details]
Provided label field for gtk_linkbutton
Comment 5 C.Sriharsha 2018-01-26 11:35:13 UTC
Created attachment 367472 [details] [review]
Enabled label for gtk link button
Comment 6 GNOME Infrastructure Team 2018-03-26 15:44:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/191.