I kinda wished you'd do more advanced python stuff, or at least the next possible thing with it, --like make a program-- a complete program and run it. Either way, thanks for all of the tuts, they're the easiest to follow.
custom.BackgroundColour doesn't work for me and also the alignment you did is not working for me . i m using ubuntu python2.7 ..wot could be the possible reason????
@tryenothaone no this is not the reason i wrote it wrong in comment box not in the actual code... few other things were also not working related to 'wx'
Python is named after " Monty Python's Flying Circus" who are British and Idle is named after Eric Idle -- one of the "Python's". So -- when using "Python" one should always use the Oxford dictionary.
how to set a border for the static text, also i have set a fixed size for my static text and the content is gona be dynamic ... now when my content exceeds the size of static text a vertical scroll must appear. Pls help me in doing this , i have tried "style=VSROLL" but then the scroll appears even when the content is less than the static text's area... i dont want to have the greyd out vertical scroll !! ill be very thankfull if u help me out
@sueroski - The setup works for me on OS X 10.6.6...so I wonder if it is a small syntax problem. I noticed that most of my errors were missing letters, or capitalizing one thing but forgetting to do the same to another.
Did you key in:
custom=wx.StaticText(panel, -1, "This is custom", (10,30), (260,-1),wx.ALIGN_CENTER) custom.SetForegroundColour('white') custom.SetBackgroundColour('blue')
like so? It worked for mine, and should translate just the same, it's still Python.
We spell it "colour" in Australia too. The spelling originates in the 19th Century when typists would add letters to words because they were paid "per letter". This is true of lots of words.
It's in real English. If we had to base everything on American castrated english we would have prog languages with functions like "Yo_dawg_giev_value()" in matter of few years.
@GanjaRastamanBoi haha yeah!
MrNeemer 1 month ago
does anyone else still have everything and when you run it hella windows pop up?
GanjaRastamanBoi 2 months ago
I am learning from these videos. Can I do threading and animations in Python?
carnor2529 4 months ago
I kinda wished you'd do more advanced python stuff, or at least the next possible thing with it, --like make a program-- a complete program and run it. Either way, thanks for all of the tuts, they're the easiest to follow.
MrMoAbdullah 4 months ago
Comment removed
techmanaus 5 months ago
who is the one guy that dislikes this?
ikkangeen 6 months ago
custom.BackgroundColour doesn't work for me and also the alignment you did is not working for me . i m using ubuntu python2.7 ..wot could be the possible reason????
u2ube1980 6 months ago
@u2ube1980 You simply misspelled "custom.SetBackgroundColour". This is probably the reason the alignment doesnt work for you either.
tryenothaone 6 months ago
@tryenothaone no this is not the reason i wrote it wrong in comment box not in the actual code... few other things were also not working related to 'wx'
u2ube1980 5 months ago
@tryenothaone I have the same issue, but I am on ubuntu 2.6. I believe it has something to do with linux.
55seaanimals 2 months ago
hold on let me do the math on that.Oh,yes 3 is less then 10
freeman8115 6 months ago
Python is named after " Monty Python's Flying Circus" who are British and Idle is named after Eric Idle -- one of the "Python's". So -- when using "Python" one should always use the Oxford dictionary.
pagetjodell 7 months ago
also, wx.align_center aligns texts just horizontally. Is it possible to align texts both horizontally and vertically?
utku1903 8 months ago
but how to enlarge texts?
utku1903 8 months ago
old vid i know but for some reason my backround did not make blue it was just grey panel like the rest, so actually no backround, not sure why ?
Shleeshtak 9 months ago
I find it better not to use panel=wx.Panel(self)
Just say: Welcome=wx.StaticText(self,-1,"Welcome dude",(1,1))
That way you don't make EVERYTHING grey and you keep your menubar a different colour.
yyttr4 10 months ago
how to set a border for the static text, also i have set a fixed size for my static text and the content is gona be dynamic ... now when my content exceeds the size of static text a vertical scroll must appear. Pls help me in doing this , i have tried "style=VSROLL" but then the scroll appears even when the content is less than the static text's area... i dont want to have the greyd out vertical scroll !! ill be very thankfull if u help me out
yasu4utube 1 year ago
I tried wx.ALIGN_CENTRE and that also made it appear in the middle lol.
MrAlexanderHoff 1 year ago
@sueroski - The setup works for me on OS X 10.6.6...so I wonder if it is a small syntax problem. I noticed that most of my errors were missing letters, or capitalizing one thing but forgetting to do the same to another.
Did you key in:
custom=wx.StaticText(panel, -1, "This is custom", (10,30), (260,-1),wx.ALIGN_CENTER) custom.SetForegroundColour('white') custom.SetBackgroundColour('blue')
like so? It worked for mine, and should translate just the same, it's still Python.
NukaColaQuantumVault 1 year ago
The Canadian way of Colour...but the brits invented it!
Digby0907 1 year ago
"Let me tighten this up... That's what she said
H0USEWRECKER 1 year ago
I'm having Ubuntu issues as well. idle-python2.6, Ubuntu Netbook Remix 9.04.
Any suggestions? I'd like to keep learning....
WellConditionedChimp 1 year ago
Yea that´s what she said...
LennyOyea 1 year ago
how come colour is in british but center is in american?
lodman97 1 year ago
Both BackgroundColour and ALIGN_CENTER do not work for me...Ubuntu GNU/Linux 10.04. Any idea? Thanks~
camusbai88 1 year ago
in Latin it's color is color I win >:P
juggalomushroom 1 year ago
We spell it "colour" in Australia too. The spelling originates in the 19th Century when typists would add letters to words because they were paid "per letter". This is true of lots of words.
KlingonOG 1 year ago
greetings to all british people
python is running english :D
didagoal 1 year ago
@didagoal GO BRITISH (im British)
Iglitchlife 1 year ago 3
I cant spell damn Color, I'm so happy it's english. The proper way. I always add colour in other things, and it puts the rendering thing off .-.
ToonTownDogman 1 year ago
THIS IS CUSTOM!!
Weirdo10o4 1 year ago
Finally!!!
tomek123kotek 1 year ago
Haha @ colour argument.
Jonte135 1 year ago
Can you help me please? I can't align or set any background color for text!
gianlucator 1 year ago
This has been flagged as spam show
Am I really expected to spell words incorrectly to use wx? :( The british way is so snooty lookin...
fauster425 1 year ago
Am I really expected to spell words incorrectly to use wx? :( The british way is so snooty lookin...
fauster425 1 year ago
@fauster425
It's in real English. If we had to base everything on American castrated english we would have prog languages with functions like "Yo_dawg_giev_value()" in matter of few years.
DaftViz 1 year ago 4
@DaftViz you're implying that brits have no slang. you are a preposterous wanker....
WellConditionedChimp 1 year ago
@WellConditionedChimp
No I'm not. I know what I'm implying.
DaftViz 1 year ago
@DaftViz ok. Which is what, then?
WellConditionedChimp 1 year ago
@fauster425 Hey, we brits like snooty words :)
Iglitchlife 1 year ago
lemme tighten this up a bit...that's what she said.. LOLZ
ExperimentalSurgeon 1 year ago
"Colour" is English, not American. (:
Raener 1 year ago
hahaha, lovely "thats what she said" there <3
arthozthefallen 2 years ago
awesome
themewz 2 years ago
haha im amazed they use the British spelling :D thats good coz im from England
hazzahazza12345 2 years ago
I use colour for my English in my country
PsPFreakss 2 years ago
colour is Canadian
TurtlezHelpVideos 2 years ago
That's what she said.
SiGhast 2 years ago 3
hahahahhahaah
pimpmobile999 2 years ago
Again, I don't see you closing the parenthesis on line 11. Maybe a note to newbs like myself in the video notes? :/
poengrafficane 2 years ago
woooooo finaly i get to spell colour the right way for me XD
PreacherProductions 2 years ago
thats what she said! lol
restdown17 2 years ago 29
"This is Static Text"
I thought you were gonna say:
"This is Sparta."
XarcZai 2 years ago 3
Let me just tighten this up a bit. "That's what she said." ...lmAO!!!!
yesnonvm 2 years ago
Haha I always have to remember to spell colour as color in some languages cause i'm english.
Great tutorial as usual, thanks a lot :D
funkyewan 2 years ago
where did you learn this?
paul204533 2 years ago
Thanks Bucky. Colour is probably more widely used in english, just not so much in America.
thoughtchallenge 2 years ago
Colour = canadian
Color = american
PiGReaR 2 years ago
Colour = BRITISH. You all came later!
nielsmeyer 2 years ago 40
@nielsmeyer
For some people that's too great a labour.
Cadmium77 1 year ago
@nielsmeyer That's why we are more improved! Newer= Better
gamersgonebad 1 year ago
@nielsmeyer I LUV the British!!! Going to visit one day. . .Can't wait to see London.
Colstonewall 3 months ago in playlist More videos from thenewboston
wtf is thizs
kbryant24s 2 years ago
why (-1)?
Dante19880 2 years ago
to bookmark xD
D34tho 2 years ago
make a playlist :)
D34tho 2 years ago
We made the word 'colour' ? Remember what language you speak :P
asib12 2 years ago
Dam right :P
YouGotTeaBagged 2 years ago