Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmith - tutorial

<< < (7/10) > >>

wxSchmidt:
Hi, im new to wxsmith, but it seems to be a powerful GUI-creation-tool.
Are there any other tutorials than "HELLO WORLD" available? :D 8)

byo:

--- Quote from: wxSchmidt on November 05, 2007, 06:59:18 pm ---Hi, im new to wxsmith, but it seems to be a powerful GUI-creation-tool.
Are there any other tutorials than "HELLO WORLD" available? :D 8)

--- End quote ---

Currently AFAIK there are no other tutorials, I could write some but don't have enough time :(. Maybe you could add something there if you figure out how wxSmith works :) I could help in case of problems :)

Regards
  BYO

Adam01:
Does anyone know how to make a function, called when a button is clicked?
The tutorial uses  frame::OnButtonClick(wxCommandEvent& event){}, but the function prototype needs to the declared first, I did that in the frame class, but still nothing happened.
Does anyone know anything about button events?

Jenna:

--- Quote from: Adam01 on August 24, 2008, 12:57:50 am ---Does anyone know how to make a function, called when a button is clicked?
The tutorial uses  frame::OnButtonClick(wxCommandEvent& event){}, but the function prototype needs to the declared first, I did that in the frame class, but still nothing happened.
Does anyone know anything about button events?

--- End quote ---

If you chose the button in the wxs-tab you see the propertygrid in the resources-tab in the manager.
Between the resouces-tree of your project(s) and the propertygrid belonging to the active element, there are two buttons/icons.
One is activated (the one that looks like a list).
Click on the one with the two curly braces and you can assign an event to the button by chosing "Add new Handler" from the dropdownlist on the right.

Adam01:
Thanks, I worked that out just after I posted that question.
Does wx have its own threading system?, so I could multi-thread gauges and other animations.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version