Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Member Avatar for marcux

Hello all! I have exactly the same problem as in stackoverflow: [url]http://stackoverflow.com/questions/6442550/problem-with-makefile-and-gtkmm[/url] There they don't find any solution, so I hope you can help me. The problem is that when I compile in my terminal with: g++ main.cpp -o output `pkg-config --cflags --libs gtkmm-2.4` The compilation goes fine. When I …

0
57
Member Avatar for marcux

Hi all! I am quite new to C++ and just been hacking with stdlib. When I want to start hacking other things outside stdlib, like network aso. I get confused and can not find what I am looking for. I use GNU/Linux and want to use "native" libs for that. …

Member Avatar for Schol-R-LEA
0
117
Member Avatar for marcux

Hi all! After surfing the web I ended up here as I could not find a good answer! I am writing an application with c++ and gtkmm. I want to access the network card and listen on all ports for packages. As far as I have found out it is …

Member Avatar for marcux
0
358
Member Avatar for marcux

Hi all! I have been hacking some Qt before, but now I want to try to code in Gtk and std C++. I have been searching the web but I can not realy find what I am looking for. As I can see Gtk is written in C. Is it …

Member Avatar for GreenDay2001
0
215
Member Avatar for marcux

Hi all! I have a array problem I can not figure out. I have an array that I copy in a method and returns the copy, but I do not get a copy of the array. I just get strange values. [CODE] public class AClass { private float[] original = …

Member Avatar for JamesCherrill
0
130
Member Avatar for marcux

Hi all! I have been fighting with a router for hours and haven't been able to accomplish what i want. I have 10 computers with public ip- adresses,and need them to stay public. I Need to set rules so only these 10 computers Can talk to each other but no …

Member Avatar for orwell84
0
115
Member Avatar for marcux

Hi all! I am programming in Qt and I am trying to draw a line on the screen, but it fails. My header file: [CODE]#ifndef GAMEAREA_H #define GAMEAREA_H #include <QWidget> #include <QPainter> #include "character.h" class GameArea : public QWidget { public: GameArea(); QSize sizeHint() const; protected: void paintEvent(QPaintEvent *event); private: …

0
50
Member Avatar for marcux

Hi all! I have an app using pygtk and in a separate thread I have a server responding to specific calls on port 1120. Everything works fine except one thing: When I exit my app, everything shuts own properly but if I start up my app again right after (and …

Member Avatar for marcux
0
2K
Member Avatar for marcux

Hi all! I am building a small app with pygtk as the gui. I have a thread that communicates over the network and when the user clicks a button I want a variable to be updated in my communication thread. I have made a class that subclasses Thread: [CODE] class …

0
45
Member Avatar for marcux

Hi all! I want to make a subclass of dict and I have read about subclassing and the super method. The problem that I do not get is how I override the following method: [CODE]dict[key] = value[/CODE] This creates a new key with the specified value. I want to override …

Member Avatar for Gribouillis
0
183
Member Avatar for marcux

Hi all! I have an drawing area inside a scrolled window. I use the following to redraw my drawing area: [CODE] myDrawingArea.connect("expose-event", self.view_expose) [/CODE] In function view_expose the redrawing is carried out. When I open my window the view_expose function is called all the time and my processor goes crazy! …

0
40
Member Avatar for marcux

Hi all! I wonder, is a "standard" way to make help contents in pygtk? I was thinking about making a simple html page for my help on my application put as I understand there is no widget that natuarly shows html, so there is where my question comes up. Is …

0
34
Member Avatar for marcux

Hi all! I can not find my way around disabling widgets in pygtk. Is there one way for all type of widgets to disable them? By disabling I mean not being able to edit an entry and it is "grayed out", or the same for a checkbox, combobox and so …

Member Avatar for marcux
0
327
Member Avatar for marcux

Hi all! I have made my GUI in Glade 3 with a couple of windows. When I click a button a window should show: [CODE]my_window.show()[/CODE] That works fine. If I close my window with: [CODE]my_window.hide()[/CODE] The next time I show the window it works fine, but if I close my …

0
86
Member Avatar for marcux

Hi all! I have started using pydoc and can not figure it all out... I have made packages in a structure like: pkg1 -__init__.py -pkg2 --__init__.py --module1 --module2 (supposed to look like a dir structure, hope you see what I mean) If my working dir is dir that contains pkg1 …

Member Avatar for Gribouillis
0
2K
Member Avatar for marcux

Hi all! I have been doing Java a bit but just been putting my .class files in the same dir. Everything works fine. I have started looking at packages to make a better structure in my projects. I just made a test and didn't got it working. My structure is …

Member Avatar for darkagn
0
94
Member Avatar for marcux

Hi all! I am trying to make use of JDOMP but apparently something does not work. Here is my code: [CODE] function saveTextToServer(){ var dateNow = new Date(); var time = dateNow.getTime(); var url = "saveNotewall.php?text="; var noteField = document.getElementById("noteField"); url = url + noteField.value + "&time=" + time; var …

Member Avatar for marcux
0
79
Member Avatar for marcux

Hi all! I have made a page with an input "file" field for the user to be able to upload an image. I have made an php script that takes care of the checking of the file and saves it to the server. The problem is that the browser caches …

Member Avatar for buddylee17
0
89
Member Avatar for marcux

Hi all! I have a script with a form with: action="loadPhoto.php" enctype = "multipart/form-data" method="POST" an input type=file and a submit button. So when you click submit the php-script checks that the choosen file is a image-file and that the size isn't to big and saves it to server. When …

Member Avatar for buddylee17
0
122
Member Avatar for marcux

Hi all! I am all new to shell scripting. I am trying to make a script that searches for a folder and then adds it to PATH First I am serching for the folder: [CODE]find /usr/local -name "jdk1.6*" -type d[/CODE] If version 1.6 of Suns java is installed I get …

Member Avatar for eggi
0
121