Hello! Can you give me an example of Button widget in Kivy language? I can creat the button but don't know how to use it's callback. I mean how can i set a command for the Button in Kivy?

Member Avatar
Member Avatar
+0 forum 10

Aight folks! So I'm trying to do some custom coding within Wordpress and my plan is to create custom post types which I want to display within custom widgets. I thought that would be fun for a learning experience.... ahum... and I wanted a widget/plugin that outputs some proper semantic mark-up. Anyway I got pretty far, but now I ran into the biggest hurdle so far . One of the widgets I'm trying to make is a slider (from unslider) which I use for testimonials and I have the following HTML which I'm trying to create dynamically with PHP. <div …

Member Avatar
Member Avatar
+0 forum 10

I have a Tkinter GUI that is composed of two widgets, the first is a widget class with an entry field and a button and the second is a scrollable text widget class. I have combined these two widget classes to make a single GUI. Each of these widget classes works correctly as individuals. The text field of the GUI is being used to display the contents of a specific index of a list.I want to be able to enter an index number in the entry field and upon pressing the button the text in the text field is re-configured …

Member Avatar
Member Avatar
+0 forum 8

Some years ago, I built in my CMS a customisable twitter widget, for embedded use in web pages. This stopped working since twitter yanked out support last week. The new timeline widget misses the autoscroll option, but I can live with that. But it sadly creates several cascading iframes (iframe><iframe></iframe></iframe>), so I need a method to tweak font sizes, colors etcetera in the iframes created by twitter. so far I have come up with this: function tweakstyle() { var iframe = top.frames[0].frames[0].document; // this is the line that generates the cross domain error var otherhead = iframe.getElementsByTagName("head")[0]; var ilink = …

Member Avatar
Member Avatar
+0 forum 3

Hello, I am looking for some WordPress plugin to create a tabbed widget like this one. [B]Widget Preview[/B] [img]http://imgcrave.com/u/KLzXt.jpg[/img] [B]Theme URL[/B] [CODE]http://themes.arunkurian.net/stream/[/CODE] If anyone knows to do it or if you know a WordPress plugin then please share me the plugin link, i tried Google and some plugins from WordPress but they were vertical accordion, i am looking for horizontal accordion or a tabbed widget plugin. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

I am trying to add a custom widget dynamically, multiple times. However, the widgets just stack up in the same place. I have tried several combinations of Layout() and Fit() and setSizerAndFit() after adding custom widget to the sizer Thank you for any help #!/usr/bin/env python # -*- coding: US-ASCII -*- # # generated by wxGlade 0.6.8 # import wx # begin wxGlade: dependencies import gettext # end wxGlade # begin wxGlade: extracode # end wxGlade class WordGroup(wx.Panel): def __init__(self, parent, id): wx.Panel.__init__(self, parent, id) self.parent = parent self.text_ctrl_1 = wx.TextCtrl(parent, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_NO_VSCROLL) self.label_1 = wx.StaticText(parent, wx.ID_ANY, …

Member Avatar
Member Avatar
+0 forum 1

i want to use uize's calculator in my website i am trying it for three days but can't it how to use it. Please if anyone can tell me how to use it then please let me know as soon as possible.

Member Avatar
Member Avatar
+0 forum 1

Hi to all, I'm looking for a solution to create a front-end in python for an app. I've some experience with Tk (but it's not fundamental i would like to use wxpython) and standard widget, but now i'm in a project too complicated for me. The app is like a multimedia presentation builder or scheduler, where the elements i can use are pictures, videos, sounds, and other as command to execute something and whit timeline i decide when to show each one. I've not found any standard widget to use, so i've made a mockup of the interface that is …

Member Avatar
Member Avatar
+0 forum 1

Can anyone please suggest me best practice to create a Custom widget using QtDesigner? I want to see how to approach adding Qpushbutton or QCheckboxGroup inside the cells of QTable Widgets that will be added on user clicking add new row to QTable at runtime

Member Avatar
Member Avatar
+0 forum 1

I am looking at using the 'Document Widget' in WXWidgets to create a report. It is apparrently an html document. Does this mean that I can format and position text using XML or HTML. I'm not entirely sure how this works. Can I also add objects to the html document and position them using XML. Not sure if I'm on the right track here. Thanks danny2000

Member Avatar
Member Avatar
+0 forum 2

Hello I'm planning a programming project for my website. I have a device that logs information to a database. To access this database I need to use to OLEDB client. What i want to do is, to make a graphical widget to my website that shows the info of my device. I want the widget to update every minute. I want the widget to show a light, depending on the information at the device, like a traffic light. I'm familiar with c# and know this will do the program task, but i need something that gives me graphic to the …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to create a wx.ListCtrl with a searchable header. I've been looking through the listctrl mixins, but I really don't have the wx expertise needed. I'm thinking I need to paint a textctrl using a dc object, but other than that I'm lost. Any ideas?

Member Avatar
+0 forum 0

I'm confused on how i can change or "toggle" the text of a button from say "D" to "A" when clicked, and then back to "D" if clicked again. So far I have this: [ICODE]from Tkinter import * from tkFileDialog import * class Game(Frame): def __init__(self,root): Frame.__init__(self,root) self.grid() self.buttons() def buttons(self): for x in range(10): for y in range(10): self.liveButton = Button (self, text="D", width=5) self.liveButton.grid(row=x,column=y) def main(): root = Tk() root.title("Sample Application") root.geometry("150x150") Game(root) root.mainloop() main() [/ICODE]

Member Avatar
Member Avatar
+0 forum 2

How do I make a transparent window in Tkinter?

Member Avatar
Member Avatar
+0 forum 5

I'm having an issue displaying images in tkinter, I've tried the methods suggested by effbot and a couple other sources to no avail. Here are a couple ways I've tried so far:[CODE] gmail=PhotoImage('gmail.gif') self.glab=Label(self,image='gmail.gif') self.glab.image=gmail self.glab.grid(row=3,column=4) gmail=PhotoImage('gmail.gif') self.glab=Label(self,image=gmail) self.glab.image=gmail self.glab.grid(row=3,column=4) self.glabim=PhotoImage('gmail.gif') self.glab=Label(self,image=self.glabim) self.glab.grid(row=3,column=4) gmail=PhotoImage('gmail.gif') self.lab=Label(self,image=gmail) self.lab.image=gmail self.lab.pack() [/CODE]the last one actually froze the program completely, it wouldn't run. I'm sure the images are in the correct directory.

Member Avatar
Member Avatar
+0 forum 4

Hello, I am learning Tkinter. As a part of the learning process I am building a Notepad clone in order to become familiar with Tkinter widgets. I am pretty close to completing it - I added about 90% functionality to the application - but I face two problems: 1) The text widget has a default fixed size (80x25 chars I believe). If I resize the root window at a greater size, the text widget stays at the initial size. This is an undesirable behavior - I expect/want the text to resize along with the root. Now, I came with something …

Member Avatar
Member Avatar
+0 forum 3

Hi! I am using a label widget in order to display a n rows and m columns matrix. My program allows repeated generation of a random matrix of integer (of arbitrarily number of rows and columns) - I am observing these matrices by representing them in a Label type widget. The problem is that when I generate and represent a bigger matrix (let's say 10x10) and after that a smaller one (5 x 5) the smaller one is superimposed over the bigger one. I mean - I can distinguish the elements of the smaller matrix which is bordered by the …

Member Avatar
Member Avatar
+0 forum 2

Also demonstrate changing the text of the widgets label dynamically.

Member Avatar
Member Avatar
+1 forum 1

Hi, can anyone provide me with an easy code that would display my blogger posts in my website. ? Tried googling about blogger widgets. Any site that would be helpful will also do.

Member Avatar
Member Avatar
+0 forum 3

Yes, it may seem like a simple question, but I often run into this question among internet marketers. So I ask you the same question.

Member Avatar
+0 forum 0

The End.