|
by: Joost van Rooij |
last post by:
Hi,
I am having problems deleting one item from a list in a wxListCtrl widget.
My thought was to select it as presented below:
def onSelect(self, event):
self.item = event.GetItem()
self.list.DeleteItem(self.item)
This won't work, it appaers GetItem() is returning an object while
|
by: bmoore |
last post by:
Hello.
I am working on an application using wxPython that includes a panel
with a wxListCtrl populated with data received from a LAN attached
database.
I want the wxListCtrl panel to be loaded with a small amount of data
initially. When the user moves the vertical scrollbar or press PageUp
or PageDown, I want to load the list view with new data from the
database. I only want to load the wxListCtrl with a subset of the
|
by: chauhan |
last post by:
Hi,
I am new to pogramming.
I have written a small program which retrieves emails from server,
unless all the messages are loaded only then it displays on screen
properlely. Whole thing works fine if I use events to activate
logMail() after start but I don't know how to activate an event at the
start (witout pressing mouse or menu key) as I want this to load
messages at the start of the program.
|
by: Mark Carter |
last post by:
I would like a wxListCtrl with 3 columns in it. The number of rows in
it will vary during run-time. In the first column of each row should
be a wxCheckBox, which the user can check or uncheck.
Is such an arrangement possible?
Any example source code?
wxCheckListBox comes close - but not close enough. Unfortunately, it
does not derive from wxListCtrl, which contains the function
InsertColumn() needed for multiple columns
|
by: Piet |
last post by:
Hi there.
I am trying to display tabular data in a wxListCtrl. What I get from
the script below are only the headers, not the items themselves. The
documentation didn´t help me much; instead I was lost in ListItemId´s
and different possibilities of inserting items and strings. I am sure
the solution is only one step away, but I need somebody to point in
the direction. Heres the script:
from wxPython.wx import *
class...
|
|
by: Piet |
last post by:
Hello.
I am working on an XML editor that will not display the xml file as
plain text, but will rather work with a combination of a tree view for
the main element nodes and some kind of tabular view to view
attributes. By this way, the user (i.e. me) will only have the
opportunity to change textual contents and attribute values, but
neither element nor attribute names.
Building the tree view was not a problem, but I haven´t found a good...
|
by: Piet |
last post by:
Hello,
I am working on a graphical MySQL Frontend written in python/wxPython.
The results from a table query are displayed either in a wxGrid or in
a wxListCtrl. I would prefer the latter because it underlines the
read-only character of the data, but I am not happy with the way the
results are displayed.
The wxGrid with the results is laid out by the following code:
resultsFrame = wxFrame(parent,-1,title)
resultsTable =...
|
by: Stuart |
last post by:
The stl::sort() that comes with Dev Studio 6 is broken (it hits the
degenerate case in a common situation). I have a replacement.
I would like to globally do "using namespace std; except use my
sort()".
I'd heard you can do this within a namespace:
namespace Fixed
{
using namespace std;
|
by: kalyan.abbaraju |
last post by:
Hi,
I have to create a ListBox in which I have to move items up and down
using DnD. How to create drag and drop call backs in wxListCtrl.
I can see EVT_LIST_BEGIN_DRAG but I could not find any
EVT_LIST_END_DRAG.
So, how can I achieve DnD with ListCtrl?
Thanks in advance for the suggestions.
|
by: Alex Chudnovsky |
last post by:
I have come across with what appears to be a significant performance bug in
..NET 2.0 ArrayList.Sort method when compared with Array.Sort on the same
data. Same data on the same CPU gets sorted a lot faster with both methods
using .NET 1.1, that's why I am pretty sure its a (rather serious) bug. Below
you can find C# test case that should allow you to reproduce this error, to
run it you will need to put 2 data files into current directory...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|