View previous topic :: View next topic |
Author |
Message |
rakim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/131072915425087c5cb621.gif)
Joined: 08 Mar 2005 Posts: 231
|
Posted: Thu Apr 07, 2005 12:32 pm Post subject: [help] Glade |
|
|
Ho creato una piccola finestra con due controlli immagine con glade.
Quando eseguo il programma, però, ottengo il seguente messaggio di errore
Code: | * (battery:713): WARNING **: Couldn't find pixmap file: battery_low.png
** (battery:713): WARNING **: Couldn't find pixmap file: messaggio.png
|
Io credo di aver sbagliato la posizione in cui ho salvato le immagini:
Code: | /home/mtx/Projects/project1/pixmaps |
Ma nelle opzioni di glade ho:
Pixmaps Directory: pixmaps
Help me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31483 Location: here
|
Posted: Thu Apr 07, 2005 1:48 pm Post subject: |
|
|
[MOD]Non ti conviene a fare un up ogni 24 ore invece di cancellare e riscrivere il messaggio?[/MOD] _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rakim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/131072915425087c5cb621.gif)
Joined: 08 Mar 2005 Posts: 231
|
Posted: Thu Apr 07, 2005 4:18 pm Post subject: |
|
|
fedeliallalinea wrote: | [MOD]Non ti conviene a fare un up ogni 24 ore invece di cancellare e riscrivere il messaggio?[/MOD] |
Scusami, l'avevo scritto su quello inglese (e l'ho cancellato da qui per non avere un topic duplicato) ma non avevo avuto alcuna risposta.
Ho deciso quindi di ripostare qui! ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Apr 07, 2005 9:28 pm Post subject: |
|
|
Il cross posting non è una bella cosa.
Quindi in generale scegli un forum e posta solo in quello. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rakim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/131072915425087c5cb621.gif)
Joined: 08 Mar 2005 Posts: 231
|
Posted: Thu Apr 07, 2005 10:09 pm Post subject: |
|
|
@ gutter: scusa!
Ho googlato un po' ed ho trovato questo tutorial:
http://www.gtk.org/tutorial/
in cui non dice praticamente nulla sul controllo image e
http://www.kplug.org/glade_tutorial/glade2_tutorial/gtemp_1.html
Quote: | [nel pannello delle opzioni] Set the subdirectoriesfor source [la directory ha nome src] and pixmaps [la directory ha nome pixmaps] if you wish to change them from the default, and select the preferred language. |
Ho capito ma...
dove si trova questa directory di nome pixmaps???
Io ho salvato le immagini in
Code: | /home/mtx/Projects/project1/pixmaps |
facendo questa deduzione:
se src si trova in Code: | /home/mtx/Projects/project1/src |
pixmaps si troverà in Code: | /home/mtx/Projects/project1/pixmaps |
Nulla da fare!
EDIT:
ho editato manualmente il file interface.c generato da blade mettendo il percorso assoluto delle immagini. Ecco il risultato:
Code: | ** (battery:26369): WARNING **: Couldn't find pixmap file: /home/mtx/Projects/project1/pixmaps/battery_low.png
** (battery:26369): WARNING **: Couldn't find pixmap file: /home/mtx/Projects/project1/pixmaps/messaggio.png
|
Com'è possibile??? Eppure le immagini SONO LI' e SI CHIAMANO VERAMENTE così!
Qualche idea??? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rakim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/131072915425087c5cb621.gif)
Joined: 08 Mar 2005 Posts: 231
|
Posted: Tue Apr 12, 2005 11:26 pm Post subject: |
|
|
up? Possibile che nessuno sappia aiutarmi? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|