Re: Compiling with Eclipse

2012-07-16 Thread moh B.
Hi, thanks for the video. But, I think the buttons.h should have the
include guard fixed:
#ifndef BUTTONS_H
#define BUTTONS_H
...
...
#endif // BUTTONS_H
instead of GTKMM_EXAMPLE_BUTTONS_H

On Sun, 2012-07-15 at 22:12 -0300, Rodrigo Nunes wrote:
 sorry forgot to send the link:
 
 http://www.youtube.com/watch?v=ZeKTc-fOflQ
 
 2012/7/15 Rodrigo Nunes rnsribe...@gmail.com
 As I could not configure to compile in eclipse. but I got in
 netbeans I made this tutorial, if anyone interested I hope to
 be helping the link to the video is this:
 
 
 
 2012/7/12 Rodrigo Nunes rnsribe...@gmail.com
 good folks, I tried all the procedures issued
 by colleagues but none worked for me, but I do
 what I needed with netbeans, creating a
 project with cmake as shown in the link:
 https://live.gnome.org/gtkmm/UsingCMake
  
 And in netbeans created a project with the option C/C
 ++ Project with Existing Sources and chose the
 project folder cmake
 /project_topdir/src_dir/example and it worked.
 
 
 So I can change the code and compile the program that
 works perfectly.
 
 
 What I needed was an IDE that has auto-complete
 function code and compile it without having to leave.
 
 
 If anyone has another idea, as it easier to do this in
 netbeans please show me.
 
 
 Thank you all for your dedication.
 
 
 Sorry my English.
 
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list
 
 

___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Dealing with dlls

2012-08-25 Thread moh B.

No, no don't request your friend to install the required libs, You have
to supply the whole app with all the necessary files and libs - Imagine
his friend is a child and this app is for children. 
 Yes a small gtkmm app needs all those libs(Dlls).
Happy programming.

On Sat, 2012-08-25 at 10:00 -0700, Tim O'Neil wrote:
 The obvious question would be Did he install gtkmm on his box?
 
 On Aug 25, 2012 5:31 AM, Станислав Роговский chor...@gmail.com
 wrote:
 Hello,
 
 I've created an application with gtkmm GUI and want to send it
 to my friend, who does not have gtkmm installed. It normally
 executes on my computer (it can find dlls in gtkmm/bin
 folder), but gives an error about missing dll on friends'
 computer. I've tried to send him some of them, but it asks
 about other dll's. Of course, I can send him all the dlls
 containing in gtkmm/bin, but I doubt that this is the best
 solution, because in this case even simple application needs a
 huge bundle of libraries. Is there a better, more elegant
 solution?
 
 
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How can I show tooltips from menuitems in the statusbar

2012-10-05 Thread Moh B.
On Tue, 2012-10-02 at 10:36 +0200, Juan Angel Moreno wrote:
 Hi!
 
 I want to show the tooltips that each of my menuitems has, in the
 statusbar of a window.
 How can I do this??
 
 Greetings
 jamf
 
 ___


Hi, these are the crazy tips to get tooltips working

//In the mainwin.cpp add:
//start example code

mpActionGroup = Gtk::ActionGroup::create();
mpActionGroup-add(Gtk::Action::create(fileMenu, _File));

mpActionGroup-add(Gtk::Action::create(fileOpen, 
   Open ISO file, Open ISO file to examine
content),
   sigc::mem_fun(*this,
mainwin::on_selectIsoFileButton_click));

mpActionGroup-add(Gtk::Action::create(fileQuit, _Exit, Exit /
terminate the application),
sigc::mem_fun(*this,
mainwin::on_exitButton_click));

mpActionGroup-add(Gtk::Action::create(helpMenu, _Help));

mpActionGroup-add(Gtk::Action::create(helpHowTo, _How to, Search
for help),
   sigc::mem_fun(*this, mainwin::on_howTo_click));

mpActionGroup-add(Gtk::Action::create(helpAbout, _About, This
shows the about dialog: Ver. 1.0.0),
   sigc::mem_fun(*this, mainwin::on_about_click));

mpUiManager = Gtk::UIManager::create();
mpUiManager-insert_action_group(mpActionGroup);

mpUiManager-add_ui_from_file(ui.xml);
mpUiManager-signal_connect_proxy().connect(sigc::mem_fun(this,
mainwin::install_menu_hints));

//add accelerators to the main window:
add_accel_group(mpUiManager-get_accel_group()) ;

mpptrmenuBar = mpUiManager-get_widget(/menuBar);

HBoxMenuBar.pack_start(*mpptrmenuBar, true, true, 15);

//3- The related functions are as follows:

void mainwin::install_menu_hints(const Glib::RefPtrGtk::Action
action, Gtk::Widget* widget)
{
if(dynamic_castGtk::MenuItem*(widget))
{

(static_castGtk::MenuItem*(widget))-signal_select().connect(sigc::bind(sigc::mem_fun(*this,
 mainwin::on_show_menu_tip), action));

(static_castGtk::MenuItem*(widget))-signal_deselect().connect(sigc::mem_fun(*this,
 mainwin::on_clear_menu_tip));
}
}

void mainwin::on_show_menu_tip(const Glib::RefPtrGtk::Action action)
{
Glib::ustring tip = action-property_tooltip();
if (tip == ) tip =  ;
m_statusBar.push(  + tip);
}

void mainwin::on_clear_menu_tip()
{
m_statusBar.pop();
}
 
// end of example code to add in the mainwin.cpp
==

//The ui.xml file is as follows:

ui 
menubar name='menuBar'
menu action='fileMenu'
menuitem action='fileOpen'/
separator/
menuitem action='fileQuit'/
/menu
menu action='helpMenu'
menuitem action='helpHowTo'/
menuitem action='helpAbout'/
/menu
/menubar
/ui

//++And my mainwin.h is as follows: ++
#include gtkmm.h
#include gtkmm/menu.h
#include gtkmm/menubar.h
#include gtkmm/menuitem.h

class mainwin : public Gtk::Window
{
private:

protected:

Gtk::Box HBoxMenuBar;

Gtk::Box VBox1;
Gtk::Box HBoxSelectFile;
Gtk::Box HBoxDestination;
Gtk::Box HBoxActionButtons;

/
/*** other widgets here...

   Glib::RefPtrGtk::ActionGroup mpActionGroup;
   Glib::RefPtrGtk::UIManager mpUiManager;
   Gtk::Widget *mpptrmenuBar;

   Gtk::Statusbar m_statusBar;


//SIGNAL HANDLERS:
/
/*** my handling functions  here...

public:
 mainwin(); // Connstructor
virtual ~mainwin();  // Destructor


   void install_menu_hints(const Glib::RefPtrGtk::Action action,
Gtk::Widget* widget);
   void on_show_menu_tip(const Glib::RefPtrGtk::Action action) ;
   void on_clear_menu_tip();

};


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: please get me link to tutorial gtkmm 2.4

2012-11-26 Thread Moh B.
On Tue, 2012-11-27 at 01:21 +0700, l...@secy.biz wrote:
 Hello all.
 
 I have already given a link to examples of gtkmm 2.4 but I changed the hard 
 drive and lost the link. I ask you to give me a link to examples of gtkmm 2.4 
 + glade.
 Also, if there is documentation of training or just a directory functions 
 gtkmm 2.4, please give me the link.
 
 I am a novice programmer gtkmm 2.4, I would be grateful for any information.
 
 P.S. gtkmm 3.x I do not work. Link to gtkmm 3.x, not to give.
 
 Thank you.
 Best regards, Dmitry.
 
 ___
http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/table?h=gtkmm-2-24
http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book?h=gtkmm-2-24
http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/checkout


http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/browse/
Changing this:

PKG_CHECK_MODULES([HELLOWORLD], [gtkmm-3.0 = 3.0.0])

to:

PKG_CHECK_MODULES([HELLOWORLD], [gtkmm-2.4 = 2.24.2])

Good luck!
 
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: please get me link to tutorial gtkmm 2.4

2012-11-27 Thread Moh B.
On Tue, 2012-11-27 at 16:25 +0100, Kjell Ahlstedt wrote:
 2012-11-26 21:08, Moh B. skrev:
  On Tue, 2012-11-27 at 01:21 +0700, l...@secy.biz wrote:
  Hello all.
 
  I have already given a link to examples of gtkmm 2.4 but I changed the 
  hard drive and lost the link. I ask you to give me a link to examples of 
  gtkmm 2.4 + glade.
  Also, if there is documentation of training or just a directory functions 
  gtkmm 2.4, please give me the link.
 
  I am a novice programmer gtkmm 2.4, I would be grateful for any 
  information.
 
  P.S. gtkmm 3.x I do not work. Link to gtkmm 3.x, not to give.
 
  Thank you.
  Best regards, Dmitry.
 
  ___
  http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/table?h=gtkmm-2-24
  http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book?h=gtkmm-2-24
  http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/checkout
 
 
  http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/browse/
  Changing this:
 
  PKG_CHECK_MODULES([HELLOWORLD], [gtkmm-3.0 = 3.0.0])
 
  to:
 
  PKG_CHECK_MODULES([HELLOWORLD], [gtkmm-2.4 = 2.24.2])
 
  Good luck!
 
 More links:
 http://developer.gnome.org/gtkmm/2.24/
 http://developer.gnome.org/gtkmm-tutorial/2.24/
 
 The Programming with gtkmm link from gtkmm/2.24 goes to Programming 
 with gtkmm 3, contrary to what you would expect.
 
  and on more link:
  http://www.gtkforums.com/viewtopic.php?f=3t=55428


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: ArbolOne

2012-11-28 Thread Moh B.
On Wed, 2012-11-28 at 09:08 -0500, Arbol One wrote:
 Humm, is anybody there?
 
  
--Hi, Sir, 
This is not a chat room!
Consider asking other questions related to gtkmm, you had responses in
the past, I guess - So please, be gentleman.
Regards.


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How to update both the Console and the GTKMM gui window after running other functions

2013-07-30 Thread Moh B.
//main.cpp:
//---
// Look at this modified code and pay attention to the order of
execution and call th the functions 
#include gtkmm.h
#include iostream

using namespace std;

int main(int argc, char* argv[])
{
Gtk::Main kit(argc, argv);

Gtk::Window window;
Gtk::TextView textview;
Gtk::Label label;

  string mylabeltext = This is the first line of text in my gui
window.\n;

window.set_default_size(600, 360);
window.set_title(Gtkmm Programming - C++);
window.set_position(Gtk::WIN_POS_CENTER);

label.show();
window.add(label);

label.set_text(mylabeltext);

mylabeltext += About to run some routines...\n;

label.set_text(mylabeltext);

cout  An initial line has been set to the gui window. 
endl;
// The Gui Window is displayed
  //== YOURS  Gtk::Main::run(window);
  // Now my main program has performed some functions and wants to
update
// the console and the gui window.
cout  Continuing after various functions and processing... 
endl;

//A MODIFICATION HERE '+=' instead of yours '=''
mylabeltext += Showing the results of the functions and
processing.;
label.set_text(mylabeltext);
 // AND NOW
Gtk::Main::run(window);
return 0;
}
//--
//code end

/// Makefile ///
#Begin of Makefile
all:

@echo  
@echo  1- Compiling...
g++ -Wall -g -c *.cpp `pkg-config gtkmm-3.0 --cflags`

@echo  
@echo  2- Linking...
g++ -Wall -g *.o `pkg-config gtkmm-3.0 --libs` -o
Gtkmm34-popup-menu-test

@echo  
@echo  DONE!!!;
#   @echo  
chmod +x Gtkmm34-popup-menu-test
ls . -all

clean:
rm *.o Gtkmm34-popup-menu-test

/// Makefile ///
#End of Makefile

On Tue, 2013-07-30 at 12:02 -0400, L. D. James wrote:
 Can someone help to clear up the confusion of how to update a gui window
 without user input.
 
 In other words, I would like to be able to output text to either or both
 the console our the gui window.
 
 At present I can call the gui window (Window with a label for example)
 and output the initial text.  However, the process doesn't return to my
 c++ code until the window closes.  I'm trying to figure out how to (or
 where to have my code) for updating the gui screen before the gui window
 exits.
 
 This is an example:
 
 main.cpp:
 ---
 #include gtkmm.h
 #include iostream
 
 using namespace std;
 
 int main(int argc, char* argv[])
 {
   Gtk::Main kit(argc, argv);
 
   Gtk::Window window;
   Gtk::TextView textview;
   Gtk::Label label;
 
   string mylabeltext = This is the first line of text in my gui
 window.\n;
 
   window.set_default_size(600, 360);
   window.set_title(Gtkmm Programming - C++);
   window.set_position(Gtk::WIN_POS_CENTER);
 
   label.show();
   window.add(label);
 
   label.set_text(mylabeltext);
 
   mylabeltext += About to run some routines...\n;
 
   label.set_text(mylabeltext);
 
   cout  An initial line has been set to the gui window.  endl;
   // The Gui Window is displayed
   Gtk::Main::run(window);
   // Now my main program has performed some functions and wants to
 update
   // the console and the gui window.
   cout  Continuing after various functions and processing... 
 endl;
   mylabeltext = Showing the results of the functions and processing.;
   label.set_text(mylabeltext);
 
   return 0;
 }
 --
 code end
 
 The last line of text is never printed to the console until the gui is
 exited.  The last line of the mylabeltext is never printed to the label
 window.
 
 What I'm trying to describe is how to keep the gtkmm window active while
 I run other routines in my c++ code and update the output to both the
 console and the gui window without closing the gui window to continue
 the c++ routines.
 
 All the examples that I can find uses a button in the code.  I have
 tested and experimented enough that I can update the gui screen after a
 button is pressed.  However, I don't want to have to rely on the user
 for screen updates.  I hope to be able to run disc scans and other
 functions and periodically update the screen so that the user can see
 the progress and know that the program is still working and not dead.
 
 Some of the resources that I have studied in my attempts at
 understanding this include:
 
 https://developer.gnome.org/
 https://developer.gnome.org/gtkmm-tutorial/3.2/gtkmm-tutorial.html
 http://en.wikipedia.org/wiki/Gtkmm
 
 -- L. James
 


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How to update both the Console and the GTKMM gui window after running other functions

2013-07-31 Thread Moh B.
See here for a timing example. Hope this helps you! 

http://stackoverflow.com/questions/1118227/glibmm-timeout-signal
===
On Wed, 2013-07-31 at 08:50 -0400, L. D. James wrote:
 Thanks Jonas.  I have a basic understanding of what you're saying.  I
 kind of figured most of this before my post.  I just can't figure out
 how to actually do it.  I'm still searching and reading all the
 documenting that I can find to help me to figure out how to do it.  I
 have been reading so much documentation, I'm almost dizzy, but still
 reading.
 
 It was about all I could do to describe what I'm trying to accomplish.
 I believe I have come very far to get some type of definition where
 most of the comments are on the same track.  And it's very difficult
 taking in all the details.
 
 Along with all the other studies, I'm studying signals.  I don't fully
 understand what I'm reading about them, but I'm studying them.  Once I
 figure out how to write one I'll then have to start studying where to
 put the signal.
 
 I hope you can remember when you wrote your first hello world in your
 first programming language.  By the way I wrote my first hello world
 in basic.  Then I wrote my second hello world in assembly.  Trying to
 get a screen update in gtkmm (without examples) is reminding me of
 writing in assembly language.  There's so much to take in that I
 almost don't know where to start and which parts is the most pertinent
 and which parts does what.  Most of the comments are speaking of a
 different part to focus on.  Of course all the comments might be
 talking about the same part.  But to a novice in this.  They all seem
 different.  After each message I try to take in the gist and start
 looking for that perspective.
 
 Once user sent a private message telling me what I'm trying to do is
 extremely complicated.
 
 -- L. James
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How to update both the Console and the GTKMM gui window after running other functions

2013-08-05 Thread Moh B.
Hi, 
I think you should put: 
if (Glib::thread_supported())
instead of: 
if (!Glib::thread_supported()) == Your code
see the  !  difference.

On Mon, 2013-08-05 at 16:27 -0400, L. D. James wrote:
 Thanks!
 
 I added the two libraries.  Performed clean make and get the same
 output.
 
 This is the Makefile and other files used by Eclipse:
 
 // Code - Makefile
 // --
 
 # Automatically-generated file. Do not edit!
 
 
 -include ../makefile.init
 
 RM := rm -rf
 
 # All of the sources participating in the build are defined here
 -include sources.mk
 -include src/subdir.mk
 -include subdir.mk
 -include objects.mk
 
 ifneq ($(MAKECMDGOALS),clean)
 ifneq ($(strip $(C++_DEPS)),)
 -include $(C++_DEPS)
 endif
 ifneq ($(strip $(C_DEPS)),)
 -include $(C_DEPS)
 endif
 ifneq ($(strip $(CC_DEPS)),)
 -include $(CC_DEPS)
 endif
 ifneq ($(strip $(CPP_DEPS)),)
 -include $(CPP_DEPS)
 endif
 ifneq ($(strip $(CXX_DEPS)),)
 -include $(CXX_DEPS)
 endif
 ifneq ($(strip $(C_UPPER_DEPS)),)
 -include $(C_UPPER_DEPS)
 endif
 endif
 
 -include ../makefile.defs
 
 # Add inputs and outputs from these tool invocations to the build
 variables 
 
 # All Target
 all: gtkmmAllen2
 
 # Tool invocations
 gtkmmAllen2: $(OBJS) $(USER_OBJS)
 @echo 'Building target: $@'
 @echo 'Invoking: GCC C++ Linker'
 g++  -o gtkmmAllen2 $(OBJS) $(USER_OBJS) $(LIBS)
 @echo 'Finished building target: $@'
 @echo ' '
 
 # Other Targets
 clean:
 -$(RM) $(OBJS)$(C
 ++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS)
  gtkmmAllen2
 -@echo ' '
 
 .PHONY: all clean dependents
 .SECONDARY:
 
 -include ../makefile.targets
 // --
 // code end1
 
 // Code begin: objects.mk
 // -
 
 # Automatically-generated file. Do not edit!
 
 
 USER_OBJS :=
 
 LIBS := -lgthread-2.0 -lpthread -lglib-2.0 -lgtkmm-3.0 -latkmm-1.6
 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lgtk-3 -lglibmm-2.4
 -lcairomm-1.0 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lsigc-2.0
 -lgobject-2.0 -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4
 -lpangomm-1.4 -lgtk-3 -lglibmm-2.4 -lcairomm-1.0 -lgdk-3 -latk-1.0
 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject
 -lpango-1.0 -lcairo -lsigc-2.0 -lgobject-2.0 -lglib-2.0
 // -
 // Code end
 
 // Code begin: sources.mk
 // -
 
 # Automatically-generated file. Do not edit!
 
 
 O_SRCS := 
 CPP_SRCS := 
 C_UPPER_SRCS := 
 C_SRCS := 
 S_UPPER_SRCS := 
 OBJ_SRCS := 
 ASM_SRCS := 
 CXX_SRCS := 
 C++_SRCS := 
 CC_SRCS := 
 OBJS := 
 C++_DEPS := 
 C_DEPS := 
 CC_DEPS := 
 CPP_DEPS := 
 EXECUTABLES := 
 CXX_DEPS := 
 C_UPPER_DEPS := 
 
 # Every subdirectory with source files must be described here
 SUBDIRS := \
 src \
 // -
 // Code end
 
 -- L. James
 
 -- 
 L. D. James
 lja...@apollo3.com
 www.apollo3.com/~ljames
 
 On 08/05/2013 03:58 PM, Alan Mazer wrote:
 
  Ah.  Perhaps it's how you built it.  If you're using Linux, I link
  with -lgthread-2.0.  I actually like with -lpthread as well,
  although that might not be necessary.  I have multiple types of
  threads in some apps.  Try that and see if that helps.
  
  -- Alan
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How to update both the Console and the GTKMM gui window after running other functions

2013-08-05 Thread Moh B.
and my Makefile:
 begin Makefile 
all:
g++ -std=c++11 -Wall -g3 -c *.cc `pkg-config gtkmm-3.0
--cflags`-pthread
g++ -std=c++11 -Wall -g3 *.o `pkg-config gtkmm-3.0 --libs` -lpthread -o
thread

clean:
rm -rf *.o thread
 begin Makefile 

On Mon, 2013-08-05 at 16:27 -0400, L. D. James wrote:
 Thanks!
 
 I added the two libraries.  Performed clean make and get the same
 output.
 
 This is the Makefile and other files used by Eclipse:
 
 // Code - Makefile
 // --
 
 # Automatically-generated file. Do not edit!
 
 
 -include ../makefile.init
 
 RM := rm -rf
 
 # All of the sources participating in the build are defined here
 -include sources.mk
 -include src/subdir.mk
 -include subdir.mk
 -include objects.mk
 
 ifneq ($(MAKECMDGOALS),clean)
 ifneq ($(strip $(C++_DEPS)),)
 -include $(C++_DEPS)
 endif
 ifneq ($(strip $(C_DEPS)),)
 -include $(C_DEPS)
 endif
 ifneq ($(strip $(CC_DEPS)),)
 -include $(CC_DEPS)
 endif
 ifneq ($(strip $(CPP_DEPS)),)
 -include $(CPP_DEPS)
 endif
 ifneq ($(strip $(CXX_DEPS)),)
 -include $(CXX_DEPS)
 endif
 ifneq ($(strip $(C_UPPER_DEPS)),)
 -include $(C_UPPER_DEPS)
 endif
 endif
 
 -include ../makefile.defs
 
 # Add inputs and outputs from these tool invocations to the build
 variables 
 
 # All Target
 all: gtkmmAllen2
 
 # Tool invocations
 gtkmmAllen2: $(OBJS) $(USER_OBJS)
 @echo 'Building target: $@'
 @echo 'Invoking: GCC C++ Linker'
 g++  -o gtkmmAllen2 $(OBJS) $(USER_OBJS) $(LIBS)
 @echo 'Finished building target: $@'
 @echo ' '
 
 # Other Targets
 clean:
 -$(RM) $(OBJS)$(C
 ++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS)
  gtkmmAllen2
 -@echo ' '
 
 .PHONY: all clean dependents
 .SECONDARY:
 
 -include ../makefile.targets
 // --
 // code end1
 
 // Code begin: objects.mk
 // -
 
 # Automatically-generated file. Do not edit!
 
 
 USER_OBJS :=
 
 LIBS := -lgthread-2.0 -lpthread -lglib-2.0 -lgtkmm-3.0 -latkmm-1.6
 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lgtk-3 -lglibmm-2.4
 -lcairomm-1.0 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lsigc-2.0
 -lgobject-2.0 -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4
 -lpangomm-1.4 -lgtk-3 -lglibmm-2.4 -lcairomm-1.0 -lgdk-3 -latk-1.0
 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject
 -lpango-1.0 -lcairo -lsigc-2.0 -lgobject-2.0 -lglib-2.0
 // -
 // Code end
 
 // Code begin: sources.mk
 // -
 
 # Automatically-generated file. Do not edit!
 
 
 O_SRCS := 
 CPP_SRCS := 
 C_UPPER_SRCS := 
 C_SRCS := 
 S_UPPER_SRCS := 
 OBJ_SRCS := 
 ASM_SRCS := 
 CXX_SRCS := 
 C++_SRCS := 
 CC_SRCS := 
 OBJS := 
 C++_DEPS := 
 C_DEPS := 
 CC_DEPS := 
 CPP_DEPS := 
 EXECUTABLES := 
 CXX_DEPS := 
 C_UPPER_DEPS := 
 
 # Every subdirectory with source files must be described here
 SUBDIRS := \
 src \
 // -
 // Code end
 
 -- L. James
 
 -- 
 L. D. James
 lja...@apollo3.com
 www.apollo3.com/~ljames
 
 On 08/05/2013 03:58 PM, Alan Mazer wrote:
 
  Ah.  Perhaps it's how you built it.  If you're using Linux, I link
  with -lgthread-2.0.  I actually like with -lpthread as well,
  although that might not be necessary.  I have multiple types of
  threads in some apps.  Try that and see if that helps.
  
  -- Alan
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: How to update both the Console and the GTKMM gui window after running other functions

2013-08-05 Thread Moh B.
And another thing:
You declared a void myprocess1(void); member function == WITH void
parameter list BUT in the myLabel::myLabel() constructor you called the
myprocess1() WITHOUT any parameter list: This may cause problems to the
compiler:
protected:
Gtk::Label m_label;
string labeltext;
string newtext;
void myprocess1(); == see here
caution required.
Good luck.

On Mon, 2013-08-05 at 17:17 -0400, L. D. James wrote:
 Thanks, Moh.  That resolved the error issue.  As far as I can see,
 it's functioning perfect!
 
 I'll have some questions on Threading.  But I'll reserve this for a
 new topic.
 
 -- L. James
 


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Minimum number of lines to update a gui window without clicking a button

2013-08-21 Thread Moh B.
Hi Andrew,
Example 6 made it all clear now if canceling is desired.
Thanks a lot. I hope you don't stop helping us.
Reference: Andrew code:
https://mail.gnome.org/archives/gtkmm-list/2013-August/msg00159.html
 in response to: Minimum number of lines to update a Gtkmm gui window
without clicking a button.

___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list