[gtkada] xpm & button

Alexey V. Litvinov lialsoftlab at mail.ru
Sun Sep 24 05:35:13 CEST 2000


>
>I have examples and I understand how works create_pixmap in testgtk
>But to me intresting for what we have "Icon" field in properties of button
>in GLADE?
>Example:
>I start GLADE, create new window, new button, in properties erasing label,
>then specify in icon field as example c:\gtkada\testgtk\test.xpm
>and button steel clear, than I saved project as "test" and checked
>test.glade, and
>not found any info about this xpm.
>What may be I doing wrong?
>If I try add hbox to button as in create_pixmap.adb, GLADE says that's
>wrong.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sorry. I understand how it make in GLADE, just need remove auto-created
label on button face, and then add hbox. But with "Icon" property
question is open.






More information about the gtkada mailing list