Hello guys I try to hack the help tool and I wanted to add some additional buttons besides "refresh". I would like to add a "previous" , "next" and "up" button. Previous for going to previous page, next for next page and "up" for moving up on the hierarchy of topics and sub topics. In short standard help browsing navigation. I would like also to bind those buttons to keyboard shortcuts (probably arrow keys) to liberate from the use of mouse. The thing is I am not familiar with creating of icons. I think I have seen back and forth buttons in book widget in squeak. I could use those but I would like also to keep open the option of designing my buttons icons. Or maybe use existing ones I can find on the internet. So are there any hints how I can do all that ? -- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi, Take a look at Form. Icons don't have a class that models them, so they're an ImageMorph with a Form, that was either imported from externally (jpg, bmp,png ) or stored in the image in a method. For examples look at ThemeIcons. BTW, In the past I've did an icon family importer, you could use to automatically fetch external icons and store in the image. http://www.squeaksource.com/@Rob10iGjuJJag2hV/BVCvaSPt On Mon, Sep 16, 2013 at 10:33 AM, kilon <thekilon@yahoo.co.uk> wrote:
Hello guys I try to hack the help tool and I wanted to add some additional buttons besides "refresh". I would like to add a "previous" , "next" and "up" button. Previous for going to previous page, next for next page and "up" for moving up on the hierarchy of topics and sub topics. In short standard help browsing navigation. I would like also to bind those buttons to keyboard shortcuts (probably arrow keys) to liberate from the use of mouse.
The thing is I am not familiar with creating of icons. I think I have seen back and forth buttons in book widget in squeak. I could use those but I would like also to keep open the option of designing my buttons icons. Or maybe use existing ones I can find on the internet.
So are there any hints how I can do all that ?
-- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Thank you for the pointers. I have worked with Form and ImageMorph before cause I once hacked pharo to add an option to change the background image. Your link does not work for me, it just sends me in squeaksource first page. If you can provide the name of your library that will do. Off I go to check out ThemeIcons ;) Fernando Olivero-3 wrote
Hi,
Take a look at Form.
Icons don't have a class that models them, so they're an ImageMorph with a Form, that was either imported from externally (jpg, bmp,png ) or stored in the image in a method.
For examples look at ThemeIcons.
BTW, In the past I've did an icon family importer, you could use to automatically fetch external icons and store in the image.
http://www.squeaksource.com/@Rob10iGjuJJag2hV/BVCvaSPt
On Mon, Sep 16, 2013 at 10:33 AM, kilon <
thekilon@.co
> wrote:
Hello guys I try to hack the help tool and I wanted to add some additional buttons besides "refresh". I would like to add a "previous" , "next" and "up" button. Previous for going to previous page, next for next page and "up" for moving up on the hierarchy of topics and sub topics. In short standard help browsing navigation. I would like also to bind those buttons to keyboard shortcuts (probably arrow keys) to liberate from the use of mouse.
The thing is I am not familiar with creating of icons. I think I have seen back and forth buttons in book widget in squeak. I could use those but I would like also to keep open the option of designing my buttons icons. Or maybe use existing ones I can find on the internet.
So are there any hints how I can do all that ?
-- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501p4708530.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi, http://www.squeaksource.com/ExternalIconFamily For examples, you can search the mailing list for emails on this subject: 'ExternalIconFamily'. Fernando On Mon, Sep 16, 2013 at 12:15 PM, kilon <thekilon@yahoo.co.uk> wrote:
Thank you for the pointers. I have worked with Form and ImageMorph before cause I once hacked pharo to add an option to change the background image.
Your link does not work for me, it just sends me in squeaksource first page. If you can provide the name of your library that will do.
Off I go to check out ThemeIcons ;)
Fernando Olivero-3 wrote
Hi,
Take a look at Form.
Icons don't have a class that models them, so they're an ImageMorph with a Form, that was either imported from externally (jpg, bmp,png ) or stored in the image in a method.
For examples look at ThemeIcons.
BTW, In the past I've did an icon family importer, you could use to automatically fetch external icons and store in the image.
http://www.squeaksource.com/@Rob10iGjuJJag2hV/BVCvaSPt
On Mon, Sep 16, 2013 at 10:33 AM, kilon <
thekilon@.co
wrote: Hello guys I try to hack the help tool and I wanted to add some additional buttons besides "refresh". I would like to add a "previous" , "next" and "up" button. Previous for going to previous page, next for next page and "up" for moving up on the hierarchy of topics and sub topics. In short standard help browsing navigation. I would like also to bind those buttons to keyboard shortcuts (probably arrow keys) to liberate from the use of mouse.
The thing is I am not familiar with creating of icons. I think I have seen back and forth buttons in book widget in squeak. I could use those but I would like also to keep open the option of designing my buttons icons. Or maybe use existing ones I can find on the internet.
So are there any hints how I can do all that ?
-- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501p4708530.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi,
Take a look at Form.
Icons don't have a class that models them, so they're an ImageMorph with a Form, that was either imported from externally (jpg, bmp,png ) or stored in the image in a method.
For examples look at ThemeIcons.
BTW, In the past I've did an icon family importer, you could use to automatically fetch external icons and store in the image.
we should move it to SmalltalkHub. Stef
Thank you Fernado , you definitely made my life easier. I think I begin to understand how the whole thing work. Will concetrate now in reading the code to get a very solid idea. -- View this message in context: http://forum.world.st/Understand-Icons-in-Pharo-tp4708501p4708750.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hi, There is already a utility method to import a folder of icons into the image. You can use: Smalltalk ui theme icons readIconMethodsFromDirectory: '/Users/me/myIconFolder' asFileReference Regards, Christophe. Le 16 sept. 2013 à 18:08, Stéphane Ducasse a écrit :
Hi,
Take a look at Form.
Icons don't have a class that models them, so they're an ImageMorph with a Form, that was either imported from externally (jpg, bmp,png ) or stored in the image in a method.
For examples look at ThemeIcons.
BTW, In the past I've did an icon family importer, you could use to automatically fetch external icons and store in the image.
we should move it to SmalltalkHub.
Stef
participants (4)
-
Christophe Demarey -
Fernando Olivero -
kilon -
Stéphane Ducasse