LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 01-19-2006, 01:44 PM   #1
shas_jmivec
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Question how to create an icon in toolbar using TCL\TK


I have problem in my way to develop a GUI by using TCL\TK programming..the problem is how to create an icon button with image in toolbar menu..for example how to create a "New" icon button..As we look into wordpad in open office..there are a row of toolbar which is contents some icon such as New, Open file, Undo, Cut, Copy and so on....my problem is how to create an icon such this things..do i need to draw it 1st by using tcl\tk interpreter or there are a build in library in TCL\Tk...temporarily i've create an ordinary button for each of the button which is defined by text such as "New"...I'm loking for the command and can u guys give me some examples...plz help me guys...thanx
 
Old 01-20-2006, 09:44 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
To my knowledge, you have to create the icons yourself and add them to the buttons.
Maybe this site can help with some icons.
 
  


Reply

Tags
programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a desktop icon in Mandrake 10.1 drevil666 Mandriva 5 06-29-2005 04:13 AM
how to create an icon... hackerarchangel Amigo 2 06-26-2005 06:56 AM
How do I make a Desktop Icon on the toolbar linmix Linux - Newbie 2 06-16-2004 11:45 AM
How to create an icon for Rdesktop klownska Linux - Newbie 2 03-11-2004 07:47 PM
create cdrom Icon athenerx Linux - Newbie 2 08-02-2001 01:36 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration