Questions tagged [ncurses-cdk]

CDK refers to the NCurses CDK (Curses Development Kit)

13 questions
8
votes
1 answer

Qt macro keywords cause name collisions

I am building an NCurses interface for my Qt project. I want to use CDK but I think the signals member of this struct is colliding with the Qt signals keyword. /usr/include/linux/cdk.h:411: error: expected unqualified-id before 'protected' How can…
Joe Beuckman
  • 2,264
  • 2
  • 24
  • 63
2
votes
0 answers

Using CDK and Ncurses under Microsoft Windows

I wrote a program in C that uses the CDK to create an user interface. It works great under Linux, but some people under Windows need it. I've heard that Cygwin could help me, so last 3 days I was trying to recompile my program with the help of…
Metogon
  • 21
  • 2
1
vote
0 answers

How to drag and drop elements horizontally and vertically in angular?

I have created drag and elements with the help of cdk-angular (https://material.angular.io/cdk/drag-drop/overview) but the problem is I can only drag and drop the elements either horizontally or vertically. Suppose I have an array like…
1
vote
1 answer

Synth of AWS gateway load balancer in python CDK is failing

I am trying to create an AWS Gateway Load Balancer configuration in AWS CDK (python). I already have a working version in Cloud Formation. The synth step is failing, seemingly, because CDK is not recognizing a "list" as a Sequence. Below is the key…
Pat
  • 109
  • 4
1
vote
1 answer

In the NCurses CDK Matrix, can an individual cell be colored?

I can color cells by specifying a Row format or a column format but that applies the coloring/formatting to the entire row or column. I'd like to set each cell's color based on some criteria. When I include the ... coloring tags in the…
jterm
  • 973
  • 1
  • 12
  • 32
0
votes
1 answer

How to get form from dynamic CDKPortalComponent

I have a cdkportal component that is created dynamically from about 5 different Components. They are added to a modal dialog. I need to know if the forms in these child components are valid and if they are not valid the a button on the parent will…
CodeMan03
  • 570
  • 3
  • 18
  • 43
0
votes
0 answers

How to create a CDK trigger using an existing lambda function

I want a CDK after-deployment trigger. Triggers seem to be limited to lambda functions. I have an existing lambda function I'd like to use. I'm using typescript. The triggers constructor which expects TriggerProps which expects a Function instead…
Patrick Cummins
  • 116
  • 1
  • 6
0
votes
1 answer

Cannot install a library in lambda layer and use it in lambda layer custom script

I am deploying a lambda function using CDK python. This is my stack for the lambdas: import os from aws_cdk import ( aws_stepfunctions as _aws_stepfunctions, aws_stepfunctions_tasks as _aws_stepfunctions_tasks, aws_lambda, App,…
J.C Guzman
  • 1,192
  • 3
  • 16
  • 40
0
votes
0 answers

drag and drop between two list to form parentlist , and to items of parentlist need to add third list angular cdk

Hi iam able to use cdk to drag and drop in between two list and for sake name it as parentlist and now in to the parentlist items i need to add another list items using angular 2 cdk? please let me show with an example drag and drop between two…
0
votes
1 answer

AWS CDK - How do I create ECR repo conditionally

Using the AWS CDK STACK how do I check and create a ECR repository if it does not exist. In other words how I do check if the ECR repository with a specific name(for example "TestRepository") already exists. The code to create new rep: …
0
votes
0 answers

CDK Java - Referencing nested json context values within a Stack

So I'm just getting started with CDK using Java & I'd like to find how to extract context info from the cdk.context.json. Essentially looking to hold parameters externally from the Stack relative to the environment (dev, test etc). So will be…
jonny99
  • 1
  • 1
0
votes
1 answer

When using NCurses CDK matrix is it possible to update matrix after call to activateCDKMatrix?

I'd like to have a background thread update certain fields and as a result have the matrix periodically redraw/refresh. My problem is that if ActivateCDKMatrix has been called this seems to block any updates to the matrix until a user hits Enter or…
jterm
  • 973
  • 1
  • 12
  • 32
0
votes
1 answer

Is it possible to get an NCurses CDK Matrix to dynamically resize to the terminal window?

I have a bunch of items I want to display in a grid. I'd like the grid to dynamically resize based on the terminal window size. Basically I'd like it to fit as many columns as possible before adding another row. How should I go about this? Is the…
jterm
  • 973
  • 1
  • 12
  • 32